From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 550D81388C0 for ; Thu, 18 Feb 2016 15:23:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FCCE21C084; Thu, 18 Feb 2016 15:23:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2C0121C07E for ; Thu, 18 Feb 2016 15:23:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB9F2340C9A for ; Thu, 18 Feb 2016 15:23:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1EEB015F5 for ; Thu, 18 Feb 2016 15:23:39 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455808963.03f396e683345eb690343ae032b907d2c4cf2417.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/discogs-client/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/discogs-client/Manifest dev-python/discogs-client/discogs-client-2.2.1.ebuild X-VCS-Directories: dev-python/discogs-client/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 03f396e683345eb690343ae032b907d2c4cf2417 X-VCS-Branch: master Date: Thu, 18 Feb 2016 15:23:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f7530a18-21db-4f02-84c1-4443c7e24ce2 X-Archives-Hash: 0336adb6ef6ea9bfe96e1848f61ce33e commit: 03f396e683345eb690343ae032b907d2c4cf2417 Author: Patrick Lauer gentoo org> AuthorDate: Thu Feb 18 15:04:51 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Feb 18 15:22:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f396e6 dev-python/discogs-client: Bump Package-Manager: portage-2.2.27 dev-python/discogs-client/Manifest | 1 + .../discogs-client/discogs-client-2.2.1.ebuild | 30 ++++++++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/dev-python/discogs-client/Manifest b/dev-python/discogs-client/Manifest index 1308423..4f200ab 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 0000000..0419dcd --- /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}" +}