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 1F49B1382C5 for ; Tue, 30 Jun 2020 19:43:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E446E0991; Tue, 30 Jun 2020 19:43:43 +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 3509EE0991 for ; Tue, 30 Jun 2020 19:43:43 +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 104B134F171 for ; Tue, 30 Jun 2020 19:43:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81ED0292 for ; Tue, 30 Jun 2020 19:43:40 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1593462346.f3f1efad1dcb90ffac52c0ea3facfb3d68701d56.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/rstcheck/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/rstcheck/rstcheck-3.3.1.ebuild X-VCS-Directories: dev-python/rstcheck/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: f3f1efad1dcb90ffac52c0ea3facfb3d68701d56 X-VCS-Branch: master Date: Tue, 30 Jun 2020 19:43:40 +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: f03c61f5-8f9b-4d44-a9e6-305699bc2dcb X-Archives-Hash: fcf37d42680a47d5ea2338ae38ccbcb8 commit: f3f1efad1dcb90ffac52c0ea3facfb3d68701d56 Author: Samuel Bernardo gmail com> AuthorDate: Mon Jun 29 20:25:23 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jun 29 20:25:46 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3f1efad dev-python/rstcheck: Add distutils_enable_tests pytest since it allows to remove IUSE and RESTRICT. Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Samuel Bernardo gmail.com> dev-python/rstcheck/rstcheck-3.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/rstcheck/rstcheck-3.3.1.ebuild b/dev-python/rstcheck/rstcheck-3.3.1.ebuild index c92918a..1a29268 100644 --- a/dev-python/rstcheck/rstcheck-3.3.1.ebuild +++ b/dev-python/rstcheck/rstcheck-3.3.1.ebuild @@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="test" -RESTRICT="!test? ( test )" RDEPEND=" dev-python/docutils[${PYTHON_USEDEP}] @@ -30,6 +28,8 @@ BDEPEND=" S="${WORKDIR}/${P}" +distutils_enable_tests pytest + python_test() { # Ignore the module from ${S}, use the one from ${BUILD_DIR} # Otherwise, ImportMismatchError may occur