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 4B8551399D4 for ; Wed, 2 Sep 2015 11:05:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAE7A142C5; Wed, 2 Sep 2015 11:05:42 +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 A67B714284 for ; Wed, 2 Sep 2015 11:05:41 +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 D063A340752 for ; Wed, 2 Sep 2015 11:05:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58486187 for ; Wed, 2 Sep 2015 11:05:37 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1441191934.f4f9802c2e10ad0d7f650ad142ad3e8850355093.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/vcversioner/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/vcversioner/vcversioner-2.14.0.0.ebuild X-VCS-Directories: dev-python/vcversioner/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: f4f9802c2e10ad0d7f650ad142ad3e8850355093 X-VCS-Branch: master Date: Wed, 2 Sep 2015 11:05:37 +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: 1f877f95-fddb-427b-9cbc-f504cd5c15e5 X-Archives-Hash: 0c0487198ea5b993dfd30a96ff974622 commit: f4f9802c2e10ad0d7f650ad142ad3e8850355093 Author: Justin Lecher gentoo org> AuthorDate: Wed Sep 2 10:53:11 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Wed Sep 2 11:05:34 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f9802c dev-python/vcversioner: Add pypy support Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher gentoo.org> dev-python/vcversioner/vcversioner-2.14.0.0.ebuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/dev-python/vcversioner/vcversioner-2.14.0.0.ebuild b/dev-python/vcversioner/vcversioner-2.14.0.0.ebuild index 5638db2..c2c3399 100644 --- a/dev-python/vcversioner/vcversioner-2.14.0.0.ebuild +++ b/dev-python/vcversioner/vcversioner-2.14.0.0.ebuild @@ -4,15 +4,27 @@ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 ) inherit distutils-r1 DESCRIPTION="Use version control tags to discover version numbers" -HOMEPAGE="https://github.com/habnabit/vcversioner" +HOMEPAGE="https://github.com/habnabit/vcversioner https://pypi.python.org/pypi/vcversioner" SRC_URI="mirror://pypi/v/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" +IUSE="test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + " + +# not included +RESTRICT=test + +python_test() { + py.test || die +}