dev-python/spotipy: add 2.23.0
Closes: #3515 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
f1189929ad
commit
2d2d9bf22c
@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
||||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 1944 Ebuilds in total, 1933 of them have in total 1956 (42 different) licenses assigned.
|
||||
There are 1945 Ebuilds in total, 1934 of them have in total 1957 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1118|
|
||||
|MIT|1119|
|
||||
|Apache-2.0|435|
|
||||
|GPL-3|114|
|
||||
|BSD|110|
|
||||
@ -653,9 +653,9 @@ There are 1944 Ebuilds in total, 1933 of them have in total 1956 (42 different)
|
||||
|GPL-2+|1|
|
||||
|GPL-2-with-linking-exception|1|
|
||||
|
||||
(Last counted: 24/06/2024)
|
||||
(Last counted: 25/06/2024)
|
||||
|
||||
I did my best to keep these clean. If a valid license was published on PyPI, it has been automatically merged. Otherwise I took it from GitHub or alternatively from comments/files in the source. Sometimes these differed and have been not unique. All license strings are adjusted to the list in `/usr/portage/gentoo/licenses/`. Some packages do not have any license published. In this case, Authors have been asked for clarification, some did not respond. Following the [official Gentoo Guide](https://devmanual.gentoo.org/general-concepts/licenses/index.html), these then were added with an `all-rights-reserved` license and `RESTRICT="mirror"` was set. Find the appropriate licenses referenced in the Ebuild files and in the corresponding homepages or sources.
|
||||
|
||||
A big thanks goes to Iris for reviewing this README.
|
||||
Last updated: 24/06/2024
|
||||
Last updated: 25/06/2024
|
||||
|
||||
3
dev-python/spotipy/Manifest
Normal file
3
dev-python/spotipy/Manifest
Normal 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
|
||||
16
dev-python/spotipy/metadata.xml
Normal file
16
dev-python/spotipy/metadata.xml
Normal 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>
|
||||
51
dev-python/spotipy/spotipy-2.23.0.ebuild
Normal file
51
dev-python/spotipy/spotipy-2.23.0.ebuild
Normal 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user