1 |
commit: b0880ec0fc05c6963e73334328e4d20be2fca5a2 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 15 20:58:37 2018 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 15 21:23:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0880ec0 |
7 |
|
8 |
dev-python/watchdog: bump to 0.9.0 |
9 |
|
10 |
Also, remove pytest-cov dependency. Coverage calculations aren't |
11 |
necessary for our purpose. |
12 |
|
13 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
15 |
|
16 |
dev-python/watchdog/Manifest | 1 + |
17 |
dev-python/watchdog/watchdog-0.9.0.ebuild | 40 +++++++++++++++++++++++++++++++ |
18 |
2 files changed, 41 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest |
21 |
index cb2111b7650..396557ba521 100644 |
22 |
--- a/dev-python/watchdog/Manifest |
23 |
+++ b/dev-python/watchdog/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST watchdog-0.8.3.tar.gz 83154 BLAKE2B d5d0635e83bbcd31544d5ea5811c2f202b0da76bd7a4086e8fc61e3293640e701b04599f95decaa82bee3705dbd6b91ad24b9dbd20edcfc329913600c8a3c932 SHA512 61f1db886e8e9a6d78b569329f4d5944c296778a5a34f94fbf115a748fb4c3be422bf4d3cc828e22fcdcd380fdf9009f5bd91a8a5edc87089afc58297a0b946f |
26 |
+DIST watchdog-0.9.0.tar.gz 90597 BLAKE2B 4b83061f49204f13ccdb129c31bd53af256e5541d7a3f6452e59682ab64f37dc2a38e9a82ddcc2cec0ed5c52baed27d62b2fab7eebe2433d924209860b5d4a00 SHA512 97fca2642209150a611d931d6f2049a9941a3494a6c566bc18eaa45a8fc2fbd02c712b37a85cc1375eeb65715706ba6b8ecf781b99951721988c318f81eff7c6 |
27 |
|
28 |
diff --git a/dev-python/watchdog/watchdog-0.9.0.ebuild b/dev-python/watchdog/watchdog-0.9.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..127d5540003 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/watchdog/watchdog-0.9.0.ebuild |
33 |
@@ -0,0 +1,40 @@ |
34 |
+# Copyright 1999-2018 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy) |
40 |
+ |
41 |
+inherit distutils-r1 eutils |
42 |
+ |
43 |
+DESCRIPTION="Python API and shell utilities to monitor file system events" |
44 |
+HOMEPAGE="https://github.com/gorakhargosh/watchdog" |
45 |
+SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~ppc ~x86" |
50 |
+IUSE="test" |
51 |
+ |
52 |
+CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" |
53 |
+RDEPEND="${CDEPEND} |
54 |
+ dev-python/argh[${PYTHON_USEDEP}] |
55 |
+ dev-python/pathtools[${PYTHON_USEDEP}]" |
56 |
+DEPEND="${CDEPEND} |
57 |
+ test? ( |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] |
60 |
+ )" |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ rm tox.ini || die |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ pytest -vv || die "Tests failed with ${EPYTHON}" |
69 |
+} |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ optfeature "Bash completion" dev-python/argcomplete |
73 |
+} |