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 560861382C5 for ; Fri, 11 Jun 2021 21:09:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67F39E0867; Fri, 11 Jun 2021 21:09:23 +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 50013E0867 for ; Fri, 11 Jun 2021 21:09:23 +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 574A6335CA3 for ; Fri, 11 Jun 2021 21:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B39F1733 for ; Fri, 11 Jun 2021 21:09:20 +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: <1623445756.a4b6a63eed6c602bff6c84b5cf9b1270e88415c8.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/incremental/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/incremental/incremental-21.3.0.ebuild X-VCS-Directories: dev-python/incremental/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a4b6a63eed6c602bff6c84b5cf9b1270e88415c8 X-VCS-Branch: master Date: Fri, 11 Jun 2021 21:09:20 +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: e0271db7-892f-4550-abb1-8243ea4d20dc X-Archives-Hash: e0a593c1f285fb2f292ff593bc4b758e commit: a4b6a63eed6c602bff6c84b5cf9b1270e88415c8 Author: Michał Górny gentoo org> AuthorDate: Fri Jun 11 21:07:38 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 11 21:09:16 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b6a63e dev-python/incremental: Enable testing Closes: https://bugs.gentoo.org/795450 Signed-off-by: Michał Górny gentoo.org> dev-python/incremental/incremental-21.3.0.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-python/incremental/incremental-21.3.0.ebuild b/dev-python/incremental/incremental-21.3.0.ebuild index 4ac1a7c7552..c4e047f7338 100644 --- a/dev-python/incremental/incremental-21.3.0.ebuild +++ b/dev-python/incremental/incremental-21.3.0.ebuild @@ -16,7 +16,14 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/twisted[${PYTHON_USEDEP}] )" + +python_test() { + distutils_install_for_testing + trial incremental || die "Tests failed on ${EPYTHON}" +}