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 C913F138335 for ; Fri, 19 Oct 2018 08:47:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79443E07F1; Fri, 19 Oct 2018 08:47:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 596E3E07F1 for ; Fri, 19 Oct 2018 08:47:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 86E5E335CCF for ; Fri, 19 Oct 2018 08:47:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9DFC9441 for ; Fri, 19 Oct 2018 08:46:58 +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: <1539938803.7aa1a121980c28e45c6e28fbe5f734b4c0c5241a.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jdcal/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jdcal/jdcal-1.4.ebuild X-VCS-Directories: dev-python/jdcal/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7aa1a121980c28e45c6e28fbe5f734b4c0c5241a X-VCS-Branch: master Date: Fri, 19 Oct 2018 08:46:58 +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: a79c3fd6-ff5e-4218-949f-1199067b3bfe X-Archives-Hash: b4268f2fddb012bf1a623a632cf96328 commit: 7aa1a121980c28e45c6e28fbe5f734b4c0c5241a Author: Michał Górny gentoo org> AuthorDate: Fri Oct 19 08:32:16 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 19 08:46:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa1a121 dev-python/jdcal: Enable tests Signed-off-by: Michał Górny gentoo.org> dev-python/jdcal/jdcal-1.4.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/jdcal/jdcal-1.4.ebuild b/dev-python/jdcal/jdcal-1.4.ebuild index 7d5ccbb430d..6e4aa866dc3 100644 --- a/dev-python/jdcal/jdcal-1.4.ebuild +++ b/dev-python/jdcal/jdcal-1.4.ebuild @@ -14,5 +14,12 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" + +python_test() { + pytest -vv || die +}