dev-python/spotipy: add 2.22.0
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
4b4060ce47
commit
8f04a9f539
|
@ -1,3 +1,5 @@
|
|||
DIST spotipy-2.20.0.gh.tar.gz 103437 BLAKE2B 78b026b9de04b0115c5621345e4f4c0ee47a51980221c77da8754c54fc8c321a1826983ceb9bcf9c415690906f3b3ea4657243e6b5d351d3edb48084baeca292 SHA512 8b5d0704fa84974ea0728dda0fe89d021b7b1550b464026d2b087671102745c7edcab116246399dd97de42d9c0cc7411295297c328b301712b6536aa6a3cd6fd
|
||||
DIST spotipy-2.22.0.gh.tar.gz 109714 BLAKE2B 178a05252bc875630cee97628d228d9bd7d929d54fcb7ee30e92b685996fc9074063eae25b0b71089c3b51fcb29611c101acf0f606dc14a508f37e46c5522041 SHA512 272f05b1cb92dbd9842dcac58a5ca322fae703eea58488b968812c12b6c26fb748aabbf5fde7100e9662191231fe12f5353b9ba12f02bd2e4982e0aff1c732f6
|
||||
EBUILD spotipy-2.20.0.ebuild 1192 BLAKE2B d839df59c6d9ac90e70173d7a32952f4dbb4282eea73f84e5803f90340f3847147beaefdf13b2cbdee96cf73ee5e6abf0df6579dc092a15f3d9eb319f5d615b5 SHA512 7e2d1854285637805b3b5e92b6a21d7a05d3c96c4bb61e9941fee9cf3ac827e94a8ac810f1e520b1fbccfff77fa426a94e4640c38a9ab51dcee69154a5afae3e
|
||||
EBUILD spotipy-2.22.0.ebuild 1018 BLAKE2B 34a24b64ab7c300696ab737b2108e318c0fba4808937ac51eea4f03f86fbfc2cc0fe3d1d9d3dd356833886138c2470b4a26c15750aa6fd77772a3b4ef9cf4a28 SHA512 f5f70110acad99a80ae5d12cedd4ab6b3f0cd44abd449f5e00b88463feae307e19a07a0674cdbd6e24361c48066a71bff95b9f3afa97554550777a3b6f3352e9
|
||||
MISC metadata.xml 502 BLAKE2B a7089a66c6325dafa66497b4478aac89f463fb09ab233b4dc80e9d335b722a2ac283431b1038806af7a04e1b113b916d5729c054dcdda44ebdf726cae3da5366 SHA512 91ab9f8320f396e96c22559b0c7f323db640f2da245aeb77961a11a9ee706abdbcbd95ce7521f5211e5872aff01c2a98358cbb73981bf4d524ce7d5bef0fdf23
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
# 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 light weight Python library for the Spotify Web API"
|
||||
HOMEPAGE="https://spotipy.readthedocs.io"
|
||||
SRC_URI="https://github.com/plamere/${PN}/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
|
||||
|
||||
python_prepare_all() {
|
||||
# Needs internet access
|
||||
sed -i -e 's:test_spotify_client_credentials_get_access_token:_&:' \
|
||||
tests/unit/test_oauth.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
use examples && dodoc -r examples
|
||||
}
|
Loading…
Reference in New Issue