diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 16:04:51 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 16:22:43 +0100 |
commit | 03f396e683345eb690343ae032b907d2c4cf2417 (patch) | |
tree | 5fb7583d8a00ebbef92a2d94e8b790bf8fc808c2 /dev-python/discogs-client | |
parent | dev-python/demjson: Bump (diff) | |
download | gentoo-03f396e683345eb690343ae032b907d2c4cf2417.tar.gz gentoo-03f396e683345eb690343ae032b907d2c4cf2417.tar.bz2 gentoo-03f396e683345eb690343ae032b907d2c4cf2417.zip |
dev-python/discogs-client: Bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/discogs-client')
-rw-r--r-- | dev-python/discogs-client/Manifest | 1 | ||||
-rw-r--r-- | dev-python/discogs-client/discogs-client-2.2.1.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/discogs-client/Manifest b/dev-python/discogs-client/Manifest index 130842346f2c..4f200abd9a7c 100644 --- a/dev-python/discogs-client/Manifest +++ b/dev-python/discogs-client/Manifest @@ -1,2 +1,3 @@ DIST discogs-client-2.0.2.tar.gz 25486 SHA256 7de2166ee4f7f5dc4cf1709b7a6abe6211a0046f2341874d2c67e5c6466351a8 SHA512 00634eb95018ccb2ece0adf4b7e3ea96674f0c8dd63d9bd151cdf9c871898fa24379f78065ebb677cc87eaffa31e91ba60051622a38c6bd774e010c20229b16e WHIRLPOOL ae54cdbb93d7fdfb26301f57a4ee3f0ec925a55a29c377c875221d62a0c54e54d957075ab04800fcc39aa3152317511ec775a66e6a5e25300558437c730faed5 DIST discogs-client-2.2.0.tar.gz 27484 SHA256 b31e3fd8f17f46b9c7221182ed6be96774a334ac8be4e434ee99943d27170945 SHA512 e1f894cabab6c8162f0195164cd68fca7806149112d065c007991a4fb93de6bd4baa16230eaccde1e1d9d842930f6bb8ba64bd618352bc85051f64d3e7b13c0b WHIRLPOOL c903dc0348eddbd5c097972313cd04e7c9714f89ef8baac129b20ca01269b5be070f850f1d78b733bf408fb11ba40d26cae6b945bfb33bbdba16f8f9d5509a92 +DIST discogs-client-2.2.1.tar.gz 24645 SHA256 9e32b5e45cff41af8025891c71aa3025b3e1895de59b37c11fd203a8af687414 SHA512 fa339b14d5655a36fdf252fd94c729ecb97e195c1f7eb2e5207355dc5f4fd89d0b738218ffbac71acab4f143870bdba5cf5ea02dff70166014f14c30481ae1e5 WHIRLPOOL 7eda6665ac149b96317b516f30ef5fa164422f46d0eb0e4281914b40346360c72e2db23b6bbf4891c555c2c18baffdc405144c7532c11577091634390d8f0e67 diff --git a/dev-python/discogs-client/discogs-client-2.2.1.ebuild b/dev-python/discogs-client/discogs-client-2.2.1.ebuild new file mode 100644 index 000000000000..0419dcd41846 --- /dev/null +++ b/dev-python/discogs-client/discogs-client-2.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +# Not py3 capable due to oauth2 supports py2 pypy only +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Official Python API client for Discogs" +HOMEPAGE="https://github.com/discogs/discogs_client https://pypi.python.org/pypi/discogs-client" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/oauth2[${PYTHON_USEDEP}] + dev-python/oauthlib[${PYTHON_USEDEP}] + " +# It's either this or make a test use flag to add RDEPEND behind it. Both work +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}" +} |