1 |
commit: 378a88319032bd5ab2413a4c9f565f2291331ad2 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 5 13:15:14 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 13:15:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=378a8831 |
7 |
|
8 |
dev-python/spotipy: move to ::gentoo |
9 |
|
10 |
Bug: https://github.com/deepjyoti30/ytmdl/issues/222 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
dev-python/spotipy/Manifest | 2 -- |
14 |
dev-python/spotipy/metadata.xml | 6 ---- |
15 |
dev-python/spotipy/spotipy-2.17.1.ebuild | 54 -------------------------------- |
16 |
dev-python/spotipy/spotipy-2.19.0.ebuild | 50 ----------------------------- |
17 |
4 files changed, 112 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/spotipy/Manifest b/dev-python/spotipy/Manifest |
20 |
deleted file mode 100644 |
21 |
index 67f3e6da3..000000000 |
22 |
--- a/dev-python/spotipy/Manifest |
23 |
+++ /dev/null |
24 |
@@ -1,2 +0,0 @@ |
25 |
-DIST spotipy-2.17.1.tar.gz 100524 BLAKE2B 3c020276f245b03a5a2052b49e353ead6aca69c510ddaeef732aa0ecd835abccf49fde58ac26bd5c64f9ea7afa9b6772a36abbc3d48a076559c6fb96e465ce7d SHA512 39dbd089fe98896387f805e6cb487c38543c0777aaf73cacc805d5f6f074c07ee5a5dd7adfe7925cdc717e46b5fee0e9151265fd4f792b901040e107cb8c515c |
26 |
-DIST spotipy-2.19.0.tar.gz 102703 BLAKE2B bc132edb972236b43097c0bbc9d86932a3305d8bd3807e44e20767b123455950b8e01060efd83c87b3a162e329f5c48614205f131686af7f9312a44894a7f1e7 SHA512 fbaecd1a2cab3ef458d30de46cb89462021dfc3cfc85516d8bfe509af016a0b19af2f8de4f5cae36188b1ce1f5718c75edff0e71af2a87f4d720ee99d4541a6a |
27 |
|
28 |
diff --git a/dev-python/spotipy/metadata.xml b/dev-python/spotipy/metadata.xml |
29 |
deleted file mode 100644 |
30 |
index a0a60d714..000000000 |
31 |
--- a/dev-python/spotipy/metadata.xml |
32 |
+++ /dev/null |
33 |
@@ -1,6 +0,0 @@ |
34 |
-<?xml version="1.0" encoding="UTF-8"?> |
35 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
36 |
- |
37 |
-<pkgmetadata> |
38 |
- <!-- maintainer-needed --> |
39 |
-</pkgmetadata> |
40 |
|
41 |
diff --git a/dev-python/spotipy/spotipy-2.17.1.ebuild b/dev-python/spotipy/spotipy-2.17.1.ebuild |
42 |
deleted file mode 100644 |
43 |
index bebfe0000..000000000 |
44 |
--- a/dev-python/spotipy/spotipy-2.17.1.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,54 +0,0 @@ |
47 |
-# Copyright 1999-2021 Gentoo Authors |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
- |
50 |
-EAPI=7 |
51 |
- |
52 |
-PYTHON_COMPAT=( python3_{8,9} ) |
53 |
- |
54 |
-inherit distutils-r1 |
55 |
- |
56 |
-DESCRIPTION="A light weight Python library for the Spotify Web API" |
57 |
-HOMEPAGE="https://spotipy.readthedocs.io |
58 |
- https://github.com/plamere/spotipy" |
59 |
-SRC_URI="https://github.com/plamere/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
60 |
- |
61 |
-IUSE="examples" |
62 |
- |
63 |
-LICENSE="MIT" |
64 |
-KEYWORDS="~amd64 ~x86 " |
65 |
-SLOT="0" |
66 |
- |
67 |
-RDEPEND=" |
68 |
- dev-python/requests[${PYTHON_USEDEP}] |
69 |
- dev-python/six[${PYTHON_USEDEP}] |
70 |
- dev-python/urllib3[${PYTHON_USEDEP}] |
71 |
-" |
72 |
- |
73 |
-BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
74 |
- |
75 |
-distutils_enable_sphinx docs |
76 |
-distutils_enable_tests pytest |
77 |
- |
78 |
-python_prepare_all() { |
79 |
- # this test requires user credentials |
80 |
- rm tests/integration/test_user_endpoints.py || die |
81 |
- |
82 |
- # this test requires a spotify client ID |
83 |
- rm tests/integration/test_non_user_endpoints.py || die |
84 |
- |
85 |
- # need internet access |
86 |
- sed -i -e 's:test_spotify_client_credentials_get_access_token:_&:' \ |
87 |
- tests/unit/test_oauth.py || die |
88 |
- |
89 |
- distutils-r1_python_prepare_all |
90 |
-} |
91 |
- |
92 |
-python_test() { |
93 |
- pytest -vv tests || die "Tests fail with ${EPYTHON}" |
94 |
-} |
95 |
- |
96 |
-python_install_all() { |
97 |
- use examples && dodoc -r examples |
98 |
- |
99 |
- distutils-r1_python_install_all |
100 |
-} |
101 |
|
102 |
diff --git a/dev-python/spotipy/spotipy-2.19.0.ebuild b/dev-python/spotipy/spotipy-2.19.0.ebuild |
103 |
deleted file mode 100644 |
104 |
index a941f3883..000000000 |
105 |
--- a/dev-python/spotipy/spotipy-2.19.0.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,50 +0,0 @@ |
108 |
-# Copyright 2022 Gentoo Authors |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
- |
111 |
-EAPI=8 |
112 |
- |
113 |
-PYTHON_COMPAT=( python3_{8..10} ) |
114 |
- |
115 |
-inherit distutils-r1 |
116 |
- |
117 |
-DESCRIPTION="A light weight Python library for the Spotify Web API" |
118 |
-HOMEPAGE="https://spotipy.readthedocs.io |
119 |
- https://github.com/plamere/spotipy" |
120 |
-SRC_URI="https://github.com/plamere/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
121 |
- |
122 |
-IUSE="examples" |
123 |
- |
124 |
-LICENSE="MIT" |
125 |
-KEYWORDS="~amd64" |
126 |
-SLOT="0" |
127 |
- |
128 |
-RDEPEND=" |
129 |
- dev-python/requests[${PYTHON_USEDEP}] |
130 |
- dev-python/six[${PYTHON_USEDEP}] |
131 |
- dev-python/urllib3[${PYTHON_USEDEP}] |
132 |
-" |
133 |
- |
134 |
-BDEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )" |
135 |
- |
136 |
-distutils_enable_sphinx docs |
137 |
-distutils_enable_tests pytest |
138 |
- |
139 |
-python_prepare_all() { |
140 |
- # this test requires user credentials |
141 |
- rm tests/integration/test_user_endpoints.py || die |
142 |
- |
143 |
- # this test requires a spotify client ID |
144 |
- rm tests/integration/test_non_user_endpoints.py || die |
145 |
- |
146 |
- # need internet access |
147 |
- sed -i -e 's:test_spotify_client_credentials_get_access_token:_&:' \ |
148 |
- tests/unit/test_oauth.py || die |
149 |
- |
150 |
- distutils-r1_python_prepare_all |
151 |
-} |
152 |
- |
153 |
-python_install_all() { |
154 |
- use examples && dodoc -r examples |
155 |
- |
156 |
- distutils-r1_python_install_all |
157 |
-} |