1 |
commit: f3f1efad1dcb90ffac52c0ea3facfb3d68701d56 |
2 |
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jun 29 20:25:23 2020 +0000 |
4 |
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Jun 29 20:25:46 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3f1efad |
7 |
|
8 |
dev-python/rstcheck: |
9 |
|
10 |
Add distutils_enable_tests pytest since it allows to remove IUSE and |
11 |
RESTRICT. |
12 |
|
13 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
14 |
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com> |
15 |
|
16 |
dev-python/rstcheck/rstcheck-3.3.1.ebuild | 4 ++-- |
17 |
1 file changed, 2 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/rstcheck/rstcheck-3.3.1.ebuild b/dev-python/rstcheck/rstcheck-3.3.1.ebuild |
20 |
index c92918a..1a29268 100644 |
21 |
--- a/dev-python/rstcheck/rstcheck-3.3.1.ebuild |
22 |
+++ b/dev-python/rstcheck/rstcheck-3.3.1.ebuild |
23 |
@@ -14,8 +14,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
24 |
LICENSE="MIT" |
25 |
SLOT="0" |
26 |
KEYWORDS="~amd64" |
27 |
-IUSE="test" |
28 |
-RESTRICT="!test? ( test )" |
29 |
|
30 |
RDEPEND=" |
31 |
dev-python/docutils[${PYTHON_USEDEP}] |
32 |
@@ -30,6 +28,8 @@ BDEPEND=" |
33 |
|
34 |
S="${WORKDIR}/${P}" |
35 |
|
36 |
+distutils_enable_tests pytest |
37 |
+ |
38 |
python_test() { |
39 |
# Ignore the module from ${S}, use the one from ${BUILD_DIR} |
40 |
# Otherwise, ImportMismatchError may occur |