1 |
commit: 03f396e683345eb690343ae032b907d2c4cf2417 |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 15:04:51 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 15:22:43 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f396e6 |
7 |
|
8 |
dev-python/discogs-client: Bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/discogs-client/Manifest | 1 + |
13 |
.../discogs-client/discogs-client-2.2.1.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/discogs-client/Manifest b/dev-python/discogs-client/Manifest |
17 |
index 1308423..4f200ab 100644 |
18 |
--- a/dev-python/discogs-client/Manifest |
19 |
+++ b/dev-python/discogs-client/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST discogs-client-2.0.2.tar.gz 25486 SHA256 7de2166ee4f7f5dc4cf1709b7a6abe6211a0046f2341874d2c67e5c6466351a8 SHA512 00634eb95018ccb2ece0adf4b7e3ea96674f0c8dd63d9bd151cdf9c871898fa24379f78065ebb677cc87eaffa31e91ba60051622a38c6bd774e010c20229b16e WHIRLPOOL ae54cdbb93d7fdfb26301f57a4ee3f0ec925a55a29c377c875221d62a0c54e54d957075ab04800fcc39aa3152317511ec775a66e6a5e25300558437c730faed5 |
22 |
DIST discogs-client-2.2.0.tar.gz 27484 SHA256 b31e3fd8f17f46b9c7221182ed6be96774a334ac8be4e434ee99943d27170945 SHA512 e1f894cabab6c8162f0195164cd68fca7806149112d065c007991a4fb93de6bd4baa16230eaccde1e1d9d842930f6bb8ba64bd618352bc85051f64d3e7b13c0b WHIRLPOOL c903dc0348eddbd5c097972313cd04e7c9714f89ef8baac129b20ca01269b5be070f850f1d78b733bf408fb11ba40d26cae6b945bfb33bbdba16f8f9d5509a92 |
23 |
+DIST discogs-client-2.2.1.tar.gz 24645 SHA256 9e32b5e45cff41af8025891c71aa3025b3e1895de59b37c11fd203a8af687414 SHA512 fa339b14d5655a36fdf252fd94c729ecb97e195c1f7eb2e5207355dc5f4fd89d0b738218ffbac71acab4f143870bdba5cf5ea02dff70166014f14c30481ae1e5 WHIRLPOOL 7eda6665ac149b96317b516f30ef5fa164422f46d0eb0e4281914b40346360c72e2db23b6bbf4891c555c2c18baffdc405144c7532c11577091634390d8f0e67 |
24 |
|
25 |
diff --git a/dev-python/discogs-client/discogs-client-2.2.1.ebuild b/dev-python/discogs-client/discogs-client-2.2.1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..0419dcd |
28 |
--- /dev/null |
29 |
+++ b/dev-python/discogs-client/discogs-client-2.2.1.ebuild |
30 |
@@ -0,0 +1,30 @@ |
31 |
+# Copyright 1999-2015 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+# Not py3 capable due to oauth2 supports py2 pypy only |
37 |
+PYTHON_COMPAT=( python2_7 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Official Python API client for Discogs" |
42 |
+HOMEPAGE="https://github.com/discogs/discogs_client https://pypi.python.org/pypi/discogs-client" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/requests[${PYTHON_USEDEP}] |
51 |
+ dev-python/oauth2[${PYTHON_USEDEP}] |
52 |
+ dev-python/oauthlib[${PYTHON_USEDEP}] |
53 |
+ " |
54 |
+# It's either this or make a test use flag to add RDEPEND behind it. Both work |
55 |
+DEPEND="${RDEPEND} |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+python_test() { |
59 |
+ "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}" |
60 |
+} |