1 |
commit: a846265b5ade723282f2c362140207d578fb55b4 |
2 |
Author: Guillaume Seren <guillaumeseren <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 26 10:46:29 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 1 00:27:42 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a846265b |
7 |
|
8 |
dev-python/discogs-client: Add live-ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
11 |
Closes: https://bugs.gentoo.org/790215 |
12 |
Signed-off-by: Guillaume Seren <guillaumeseren <AT> gmail.com> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
.../discogs-client/discogs-client-9999.ebuild | 39 ++++++++++++++++++++++ |
16 |
1 file changed, 39 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/discogs-client/discogs-client-9999.ebuild b/dev-python/discogs-client/discogs-client-9999.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..e9fcd94f285 |
21 |
--- /dev/null |
22 |
+++ b/dev-python/discogs-client/discogs-client-9999.ebuild |
23 |
@@ -0,0 +1,39 @@ |
24 |
+# Copyright 1999-2021 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{7..9} ) |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+if [[ ${PV} == "9999" ]]; then |
34 |
+ EGIT_REPO_URI="https://github.com/joalla/discogs_client.git" |
35 |
+ inherit git-r3 |
36 |
+else |
37 |
+ MY_PN='python3-discogs-client' |
38 |
+ MY_P=${MY_PN}-${PV} |
39 |
+ SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
40 |
+ KEYWORDS="~amd64 ~x86" |
41 |
+ S="${WORKDIR}/${MY_P}" |
42 |
+fi |
43 |
+ |
44 |
+DESCRIPTION="Continuation of the official Python API client for Discogs" |
45 |
+HOMEPAGE="https://github.com/joalla/discogs_client https://pypi.org/project/python3-discogs-client/" |
46 |
+ |
47 |
+LICENSE="BSD-2" |
48 |
+SLOT="0" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ dev-python/requests[${PYTHON_USEDEP}] |
52 |
+ dev-python/oauth2[${PYTHON_USEDEP}] |
53 |
+ dev-python/oauthlib[${PYTHON_USEDEP}] |
54 |
+ " |
55 |
+BDEPEND=" |
56 |
+ dev-python/oauthlib[${PYTHON_USEDEP}] |
57 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
58 |
+ dev-python/sh[${PYTHON_USEDEP}] |
59 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
60 |
+ " |
61 |
+ |
62 |
+distutils_enable_tests nose |