Skip to content

Commit 2d2d9bf

Browse files
committed
dev-python/spotipy: add 2.23.0
Closes: https://git.edevau.net/onkelbeh/HomeAssistantRepository/issues/3515 Signed-off-by: Andreas Billmeier <[email protected]>
1 parent f118992 commit 2d2d9bf

File tree

4 files changed

+74
-4
lines changed

4 files changed

+74
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
606606

607607
## Licenses
608608
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
609-
There are 1944 Ebuilds in total, 1933 of them have in total 1956 (42 different) licenses assigned.
609+
There are 1945 Ebuilds in total, 1934 of them have in total 1957 (42 different) licenses assigned.
610610

611611
|License| Ebuilds using it|
612612
|-------|-----|
613-
|MIT|1118|
613+
|MIT|1119|
614614
|Apache-2.0|435|
615615
|GPL-3|114|
616616
|BSD|110|
@@ -653,9 +653,9 @@ There are 1944 Ebuilds in total, 1933 of them have in total 1956 (42 different)
653653
|GPL-2+|1|
654654
|GPL-2-with-linking-exception|1|
655655

656-
(Last counted: 24/06/2024)
656+
(Last counted: 25/06/2024)
657657

658658
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
659659

660660
A big thanks goes to Iris for reviewing this README.
661-
Last updated: 24/06/2024
661+
Last updated: 25/06/2024

dev-python/spotipy/Manifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DIST spotipy-2.23.0.gh.tar.gz 112399 BLAKE2B 5510ce35624c561df61fffee78f211dfa91ff8d5b3dc15d37c96a51bf830e67aac9c6a0787c71715bee17a3ba91b84766c1ecec37d5775f2182617f2b74a2cb3 SHA512 52955fa3365d5153f19f60874ce8e96910ac8db783499e0e2ef2ab31127277844e24a045115dc522dd7b7535f7907de56da87e02a63b94ee7506b75c1e108e9b
2+
EBUILD spotipy-2.23.0.ebuild 1071 BLAKE2B 9194429d885e1ac2028b7d84ca4044a761da1d1f1092226dac25d94809a8f2447a43cae89f8d3f284b1d1050d4aa9946d551843cfb7bf8e46a552c79b2e8e9ae SHA512 35aafe5fdefca9447a93ff8766125ad8e4c676983188f1d805f384d549467e53f2144824141c138426acac7946a8ba19e70be414d5c62086f0f442fa334383a3
3+
MISC metadata.xml 502 BLAKE2B a7089a66c6325dafa66497b4478aac89f463fb09ab233b4dc80e9d335b722a2ac283431b1038806af7a04e1b113b916d5729c054dcdda44ebdf726cae3da5366 SHA512 91ab9f8320f396e96c22559b0c7f323db640f2da245aeb77961a11a9ee706abdbcbd95ce7521f5211e5872aff01c2a98358cbb73981bf4d524ce7d5bef0fdf23

dev-python/spotipy/metadata.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3+
<pkgmetadata>
4+
<maintainer type="project">
5+
<email>[email protected]</email>
6+
<name>Andreas Billmeier</name>
7+
</maintainer>
8+
<upstream>
9+
<remote-id type="pypi">spotipy</remote-id>
10+
<remote-id type="github">plamere/spotipy</remote-id>
11+
<maintainer status="unknown">
12+
<email>[email protected]</email>
13+
<name>@plamere</name>
14+
</maintainer>
15+
</upstream>
16+
</pkgmetadata>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_USE_PEP517=setuptools
7+
PYTHON_COMPAT=( python3_{11..13} )
8+
9+
inherit distutils-r1
10+
11+
DESCRIPTION="A lightweight Python library for the Spotify Web API"
12+
HOMEPAGE="
13+
https://spotipy.readthedocs.io/
14+
https://github.com/spotipy-dev/spotipy/
15+
https://pypi.org/project/spotipy/
16+
"
17+
SRC_URI="
18+
https://github.com/spotipy-dev/spotipy/archive/${PV}.tar.gz
19+
-> ${P}.gh.tar.gz
20+
"
21+
22+
LICENSE="MIT"
23+
KEYWORDS="amd64 arm arm64 x86"
24+
SLOT="0"
25+
IUSE="examples"
26+
27+
RDEPEND="
28+
dev-python/redis[${PYTHON_USEDEP}]
29+
dev-python/requests[${PYTHON_USEDEP}]
30+
dev-python/six[${PYTHON_USEDEP}]
31+
dev-python/urllib3[${PYTHON_USEDEP}]
32+
"
33+
BDEPEND="
34+
test? (
35+
dev-python/mock[${PYTHON_USEDEP}]
36+
)
37+
"
38+
39+
distutils_enable_sphinx docs
40+
distutils_enable_tests pytest
41+
42+
EPYTEST_DESELECT=(
43+
# Internet
44+
tests/unit/test_oauth.py::TestSpotifyClientCredentials::test_spotify_client_credentials_get_access_token
45+
)
46+
47+
python_install_all() {
48+
distutils-r1_python_install_all
49+
50+
use examples && dodoc -r examples
51+
}

0 commit comments

Comments
 (0)