1 |
commit: 3c0f37faa071da4f7c26a0b13658c5f2a0819f5b |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Fri Dec 27 13:45:13 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 29 02:42:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0f37fa |
7 |
|
8 |
dev-python/watchdog: Add python3_7 |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
11 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14013 |
13 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
14 |
|
15 |
dev-python/watchdog/watchdog-0.9.0.ebuild | 14 ++++---------- |
16 |
1 file changed, 4 insertions(+), 10 deletions(-) |
17 |
|
18 |
diff --git a/dev-python/watchdog/watchdog-0.9.0.ebuild b/dev-python/watchdog/watchdog-0.9.0.ebuild |
19 |
index 4dbe580e9f7..e5d5a062db7 100644 |
20 |
--- a/dev-python/watchdog/watchdog-0.9.0.ebuild |
21 |
+++ b/dev-python/watchdog/watchdog-0.9.0.ebuild |
22 |
@@ -3,7 +3,7 @@ |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} pypy) |
27 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy) |
28 |
|
29 |
inherit distutils-r1 eutils |
30 |
|
31 |
@@ -15,27 +15,21 @@ LICENSE="Apache-2.0" |
32 |
SLOT="0" |
33 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
34 |
IUSE="test" |
35 |
-RESTRICT="!test? ( test )" |
36 |
|
37 |
CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" |
38 |
RDEPEND="${CDEPEND} |
39 |
dev-python/argh[${PYTHON_USEDEP}] |
40 |
dev-python/pathtools[${PYTHON_USEDEP}]" |
41 |
DEPEND="${CDEPEND} |
42 |
- test? ( |
43 |
- dev-python/pytest[${PYTHON_USEDEP}] |
44 |
- >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] |
45 |
- )" |
46 |
+ test? ( >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] )" |
47 |
+ |
48 |
+distutils_enable_tests pytest |
49 |
|
50 |
src_prepare() { |
51 |
default |
52 |
rm tox.ini || die |
53 |
} |
54 |
|
55 |
-python_test() { |
56 |
- pytest -vv || die "Tests failed with ${EPYTHON}" |
57 |
-} |
58 |
- |
59 |
pkg_postinst() { |
60 |
optfeature "Bash completion" dev-python/argcomplete |
61 |
} |