dev-python/spotipy: add 2.23.0

Closes: #3515
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
2024-06-25 06:33:41 +02:00
parent f1189929ad
commit 2d2d9bf22c
4 changed files with 74 additions and 4 deletions

View File

@@ -0,0 +1,3 @@
DIST spotipy-2.23.0.gh.tar.gz 112399 BLAKE2B 5510ce35624c561df61fffee78f211dfa91ff8d5b3dc15d37c96a51bf830e67aac9c6a0787c71715bee17a3ba91b84766c1ecec37d5775f2182617f2b74a2cb3 SHA512 52955fa3365d5153f19f60874ce8e96910ac8db783499e0e2ef2ab31127277844e24a045115dc522dd7b7535f7907de56da87e02a63b94ee7506b75c1e108e9b
EBUILD spotipy-2.23.0.ebuild 1071 BLAKE2B 9194429d885e1ac2028b7d84ca4044a761da1d1f1092226dac25d94809a8f2447a43cae89f8d3f284b1d1050d4aa9946d551843cfb7bf8e46a552c79b2e8e9ae SHA512 35aafe5fdefca9447a93ff8766125ad8e4c676983188f1d805f384d549467e53f2144824141c138426acac7946a8ba19e70be414d5c62086f0f442fa334383a3
MISC metadata.xml 502 BLAKE2B a7089a66c6325dafa66497b4478aac89f463fb09ab233b4dc80e9d335b722a2ac283431b1038806af7a04e1b113b916d5729c054dcdda44ebdf726cae3da5366 SHA512 91ab9f8320f396e96c22559b0c7f323db640f2da245aeb77961a11a9ee706abdbcbd95ce7521f5211e5872aff01c2a98358cbb73981bf4d524ce7d5bef0fdf23

View File

@@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">spotipy</remote-id>
<remote-id type="github">plamere/spotipy</remote-id>
<maintainer status="unknown">
<email>paul@echonest.com</email>
<name>@plamere</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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 arm arm64 x86"
SLOT="0"
IUSE="examples"
RDEPEND="
dev-python/redis[${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
}