1 |
commit: 584bde557d54130bc1f2ccbb7905834ebcb78a3b |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Apr 25 10:48:36 2020 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Apr 25 10:48:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=584bde55 |
7 |
|
8 |
dev-python/text-unidecode: pytest verbose (-vv) |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
dev-python/text-unidecode/text-unidecode-1.3.ebuild | 7 +++---- |
14 |
1 file changed, 3 insertions(+), 4 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/text-unidecode/text-unidecode-1.3.ebuild b/dev-python/text-unidecode/text-unidecode-1.3.ebuild |
17 |
index 496d2de..cf75f07 100644 |
18 |
--- a/dev-python/text-unidecode/text-unidecode-1.3.ebuild |
19 |
+++ b/dev-python/text-unidecode/text-unidecode-1.3.ebuild |
20 |
@@ -13,12 +13,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
21 |
LICENSE="|| ( Artistic GPL-1 GPL-2+ )" |
22 |
SLOT="0" |
23 |
KEYWORDS="~amd64 ~x86" |
24 |
-IUSE="test" |
25 |
-RESTRICT="!test? ( test )" |
26 |
|
27 |
-DEPEND="test? ( dev-python/pytest )" |
28 |
RDEPEND="" |
29 |
|
30 |
+distutils_enable_tests pytest |
31 |
+ |
32 |
python_prepare_all() { |
33 |
sed -i '/pytest-runner/d' setup.py |
34 |
distutils-r1_python_prepare_all |
35 |
@@ -29,5 +28,5 @@ python_test() { |
36 |
cd "${TEST_DIR}" || die |
37 |
cp "${S}/test_unidecode.py" . || die |
38 |
cp "${S}/setup.cfg" . || die |
39 |
- pytest || die "Tests fail with ${EPYTHON}" |
40 |
+ pytest -vv || die "Tests fail with ${EPYTHON}" |
41 |
} |