summaryrefslogtreecommitdiff
path: root/dev-python/spotipy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/spotipy')
-rw-r--r--dev-python/spotipy/Manifest4
-rw-r--r--dev-python/spotipy/metadata.xml8
-rw-r--r--dev-python/spotipy/spotipy-2.22.1.ebuild51
3 files changed, 60 insertions, 3 deletions
diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest
index 5b0ac29437f5..fb0f6b0abdc8 100644
--- a/dev-python/spotipy/Manifest
+++ b/dev-python/spotipy/Manifest
@@ -1,5 +1,7 @@
DIST spotipy-2.21.0.tar.gz 105500 BLAKE2B fa49c31da93efdac23fd5cbaa31b513f48e3a90c56dee8708bf695a20c1f6040c68a22a04d6589b3a890f503d54e7c0fb017f2911ae28abe54a9e7f5bff3b540 SHA512 8783261e43962b3e98cb9b680f908d38feecf784ff404352ba16d6bb3d2e4bf1d2308b60f1437c56402e1c2a993a5bba876103f968bb8bdd81be1aef1fe6d058
DIST spotipy-2.22.0.gh.tar.gz 109714 BLAKE2B 178a05252bc875630cee97628d228d9bd7d929d54fcb7ee30e92b685996fc9074063eae25b0b71089c3b51fcb29611c101acf0f606dc14a508f37e46c5522041 SHA512 272f05b1cb92dbd9842dcac58a5ca322fae703eea58488b968812c12b6c26fb748aabbf5fde7100e9662191231fe12f5353b9ba12f02bd2e4982e0aff1c732f6
+DIST spotipy-2.22.1.gh.tar.gz 111228 BLAKE2B df75cce406d59c9de3e4c836309262d61f7f1249761d3172be13033512944e69a56ca67f16b55e4736f760b74d3ebd8f384225ce9309a5fc1bd8c93be4099069 SHA512 d8c5871dd606e3335656fb55fa042d8c91c72a4c7d62a584bd407a7546184996694c67d499f908fc7049e406c548269286de6cba17064f0385adba3661b34c3b
EBUILD spotipy-2.21.0.ebuild 1186 BLAKE2B e81b081cc3682cbb9c503f8bf38310b5f5c4047923fd8659aa1b08d53d4eb74af9cf3b9dbcd84024d699e78c23e5c037cdd4474ffef3807c9e3aea3468bfff9c SHA512 dbee4fea6919f29d546d7bab89d1405917a6e34cff68a46cc5434dd0a2f7343e4511e506bf53cd9f702ecc0953864bfc5979a48ddc33e79b3b24a749e190f7e0
EBUILD spotipy-2.22.0.ebuild 1018 BLAKE2B 34a24b64ab7c300696ab737b2108e318c0fba4808937ac51eea4f03f86fbfc2cc0fe3d1d9d3dd356833886138c2470b4a26c15750aa6fd77772a3b4ef9cf4a28 SHA512 f5f70110acad99a80ae5d12cedd4ab6b3f0cd44abd449f5e00b88463feae307e19a07a0674cdbd6e24361c48066a71bff95b9f3afa97554550777a3b6f3352e9
-MISC metadata.xml 448 BLAKE2B 2307d0b3ca490bcd41c1bf6f6c5a9b12ec0325781125bc68bb17ffb8408873243a9ce224c9405e5d998d1158376eefc211b0cb2575b8ef7dfdaf018d1dc58eba SHA512 17a5a5b1829478029810b46d448d03a74466ae2dc68bb83f295e71cf26c3b5c68a9f5c255529d7d19681986c8ed9f2386c818c73d47f94e85201123cf3ba6243
+EBUILD spotipy-2.22.1.ebuild 1065 BLAKE2B 3fd5ed7f08af0103f3ad09a92be845113cd04a6f30bcee3751535d516415db18347013c60035a9eabc12aeb0485bcdebda42d05a8e6229cc89cd2d9bd89b2ed0 SHA512 b652b1a87f9eff760ecd55d9d2c0fbb404bb09e7dfa62ef3935b5eb3fecd0d0cccba5fc36695fc01471fcb80a990e2e5ac3ef8c81c962ab5b37979904c54a85d
+MISC metadata.xml 563 BLAKE2B 59aaf72f0ef6dcd61187b4d6c4f058725954a01e692fcc3caec5d559a340cf8587950fe96af3c8e10eab4c27ed7a8074cc98ad955b576a261eb8eb9dbe4d6403 SHA512 99afcacd9adfe51850503848dcaebc3d7be85cf50a05dba05ea64c7a9af7d641dbe3db903e611030698f4c7025d99b2057a03e34eca85bc4ac4d811fe961f799
diff --git a/dev-python/spotipy/metadata.xml b/dev-python/spotipy/metadata.xml
index 7e88424460d2..344189ef2f36 100644
--- a/dev-python/spotipy/metadata.xml
+++ b/dev-python/spotipy/metadata.xml
@@ -6,9 +6,13 @@
<email>xgqt@gentoo.org</email>
<name>Maciej Barć</name>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
- <bugs-to>https://github.com/plamere/spotipy/issues/</bugs-to>
- <remote-id type="github">plamere/spotipy</remote-id>
+ <bugs-to>https://github.com/spotipy-dev/spotipy/issues/</bugs-to>
+ <remote-id type="github">spotipy-dev/spotipy</remote-id>
<remote-id type="pypi">spotipy</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/spotipy/spotipy-2.22.1.ebuild b/dev-python/spotipy/spotipy-2.22.1.ebuild
new file mode 100644
index 000000000000..cee91b6335a1
--- /dev/null
+++ b/dev-python/spotipy/spotipy-2.22.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="A lightweight Python library for the Spotify Web API"
+HOMEPAGE="
+ https://spotipy.readthedocs.io/
+ https://github.com/spotipy-dev/spotipy/
+ https://pypi.org/project/spotipy/
+"
+SRC_URI="
+ https://github.com/spotipy-dev/spotipy/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/redis-py[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ tests/unit/test_oauth.py::TestSpotifyClientCredentials::test_spotify_client_credentials_get_access_token
+)
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ use examples && dodoc -r examples
+}