aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2020-06-29 21:25:23 +0100
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2020-06-29 21:25:46 +0100
commitf3f1efad1dcb90ffac52c0ea3facfb3d68701d56 (patch)
tree4d747c91ec5e30513f7c31fd6b4aaa98b6509a4f /dev-python
parentgui-apps/wofi: All versions have live ebuilds now (diff)
downloadguru-f3f1efad1dcb90ffac52c0ea3facfb3d68701d56.tar.gz
guru-f3f1efad1dcb90ffac52c0ea3facfb3d68701d56.tar.bz2
guru-f3f1efad1dcb90ffac52c0ea3facfb3d68701d56.zip
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 <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/rstcheck/rstcheck-3.3.1.ebuild4
1 files 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 c92918af..1a29268f 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