summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-11-27 04:10:28 +0100
committerMichał Górny <mgorny@gentoo.org>2025-11-27 04:28:43 +0100
commitd55619e4e3390b3aeaccf3965f29445a0c8924df (patch)
treefb9b96ffe0a6139260b6520911adc639608251a9 /dev-python
parentcc72e3170b35e651966f91d2e2667afd8eb5e12d (diff)
downloadgentoo-d55619e4e3390b3aeaccf3965f29445a0c8924df.tar.gz
gentoo-d55619e4e3390b3aeaccf3965f29445a0c8924df.tar.bz2
gentoo-d55619e4e3390b3aeaccf3965f29445a0c8924df.zip
dev-python/spotipy: Bump to 2.25.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/spotipy/Manifest1
-rw-r--r--dev-python/spotipy/spotipy-2.25.2.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest
index 801533beb01c..61f9fd3acb20 100644
--- a/dev-python/spotipy/Manifest
+++ b/dev-python/spotipy/Manifest
@@ -1 +1,2 @@
DIST spotipy-2.25.1.gh.tar.gz 107750 BLAKE2B 5814a831d81f94f112fe9312fc508497275d7780d41250f807ea7b72cc555511ee883ed8a0ec3b3d21c6f13b7facb462b9380a478866f0d90d52dd31b1e5d2e7 SHA512 1c9af1f8a07d111a719d4f9646ccc8fea21d86325221c0395fdfe155a1ed2b588dfcf5c9e958bf3ecc286033117f7cc3061f975a046788e11a1cea4f9e2a927a
+DIST spotipy-2.25.2.gh.tar.gz 108288 BLAKE2B 63aa46b8775820cd481157f7c0e9471b5bf8140936db3d2e62164b1299cdff05c19b347349f3b0458f06d7ee428c0aeb4351f19df8a5832de7698aec55b4b1c4 SHA512 1cdb607e9da6edf7d90778665cfd1fe22732336f4844a64799772963a017afbac6c033fdf7f918cb995528345756a1049aa865d85e3990e768d3f6e15ff52538
diff --git a/dev-python/spotipy/spotipy-2.25.2.ebuild b/dev-python/spotipy/spotipy-2.25.2.ebuild
new file mode 100644
index 000000000000..ed4eda5fe3df
--- /dev/null
+++ b/dev-python/spotipy/spotipy-2.25.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2022-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+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"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND="
+ dev-python/redis[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/urllib3[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+ dev-python/redis \
+ dev-python/sphinx-rtd-theme
+
+EPYTEST_PLUGINS=()
+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
+}