1 |
commit: 52261b12fb2ee7e69c4b1d8e13f0537bbc656f8f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 25 17:01:40 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 25 17:01:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52261b12 |
7 |
|
8 |
dev-python/pyrqlite: Remove useless test deps |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyrqlite/pyrqlite-2.0.ebuild | 14 +------------- |
13 |
1 file changed, 1 insertion(+), 13 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/pyrqlite/pyrqlite-2.0.ebuild b/dev-python/pyrqlite/pyrqlite-2.0.ebuild |
16 |
index 8b7ef41d132..f442cd40905 100644 |
17 |
--- a/dev-python/pyrqlite/pyrqlite-2.0.ebuild |
18 |
+++ b/dev-python/pyrqlite/pyrqlite-2.0.ebuild |
19 |
@@ -18,22 +18,10 @@ SRC_URI="${EGIT_REPO_URI%.git}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
20 |
LICENSE="MIT" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~x86" |
23 |
-IUSE="test" |
24 |
-RESTRICT="!test? ( test )" |
25 |
|
26 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
27 |
- test? ( |
28 |
- dev-python/pytest[${PYTHON_USEDEP}] |
29 |
- dev-python/pytest-cov[${PYTHON_USEDEP}] |
30 |
- dev-python/pylint[${PYTHON_USEDEP}] |
31 |
- )" |
32 |
+distutils_enable_tests pytest |
33 |
|
34 |
src_prepare() { |
35 |
sed -e "s:^__version__ = .*:__version__ = '${PV}':" -i src/${PN}/constants.py || die |
36 |
distutils-r1_src_prepare |
37 |
} |
38 |
- |
39 |
-python_test() { |
40 |
- esetup.py test || die "tests failed" |
41 |
- esetup.py lint -f text -E || die "pylint failed" |
42 |
-} |