From d55619e4e3390b3aeaccf3965f29445a0c8924df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 27 Nov 2025 04:10:28 +0100 Subject: [PATCH] dev-python/spotipy: Bump to 2.25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/spotipy/Manifest | 1 + dev-python/spotipy/spotipy-2.25.2.ebuild | 49 ++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 dev-python/spotipy/spotipy-2.25.2.ebuild 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 +}