From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBA49138334 for ; Thu, 28 Mar 2019 13:49:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22F9FE0B42; Thu, 28 Mar 2019 13:49:57 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F093EE0B42 for ; Thu, 28 Mar 2019 13:49:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9B09335D01 for ; Thu, 28 Mar 2019 13:49:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48C24560 for ; Thu, 28 Mar 2019 13:49:54 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1553780988.b051a290fe10bcb4435d9dbd23e3fa24de6217c2.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygit2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pygit2/pygit2-0.27.4.ebuild X-VCS-Directories: dev-python/pygit2/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b051a290fe10bcb4435d9dbd23e3fa24de6217c2 X-VCS-Branch: master Date: Thu, 28 Mar 2019 13:49:54 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de492401-f2b2-49e6-84bb-572f570a3fc5 X-Archives-Hash: 11412770a46d1c6c247e12a1b3399ecf commit: b051a290fe10bcb4435d9dbd23e3fa24de6217c2 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 28 13:48:46 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 28 13:49:48 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b051a290 dev-python/pygit2: pytest is needed for tests only Closes: https://bugs.gentoo.org/681876 Signed-off-by: Michał Górny gentoo.org> dev-python/pygit2/pygit2-0.27.4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-python/pygit2/pygit2-0.27.4.ebuild b/dev-python/pygit2/pygit2-0.27.4.ebuild index bc0bb7e5f0a..fee4feb2136 100644 --- a/dev-python/pygit2/pygit2-0.27.4.ebuild +++ b/dev-python/pygit2/pygit2-0.27.4.ebuild @@ -13,6 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="GPL-2-with-linking-exception" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" RDEPEND=" =dev-libs/libgit2-$(ver_cut 1-2)* @@ -20,7 +21,9 @@ RDEPEND=" dev-python/six[${PYTHON_USEDEP}] " DEPEND="${RDEPEND} - dev-python/pytest[${PYTHON_USEDEP}]" + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +RESTRICT="!test? ( test )" python_prepare_all() { sed -i -e '/pycparser/s:<2.18::' setup.py || die