1 |
commit: 477d835cd127e67dbcd5bde091b50b53d751d03f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 27 08:44:09 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 27 09:31:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=477d835c |
7 |
|
8 |
dev-python/watchdog: Bump to 2.1.7 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/watchdog/Manifest | 1 + |
13 |
dev-python/watchdog/watchdog-2.1.7.ebuild | 44 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest |
17 |
index ef141d1d6707..baca7e7a0a98 100644 |
18 |
--- a/dev-python/watchdog/Manifest |
19 |
+++ b/dev-python/watchdog/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e |
22 |
DIST watchdog-2.1.6.tar.gz 99756 BLAKE2B 5ea08660c28f77be02b261a22e6fbfdfaaa59f79af1eecb396fda2e56ab4b5b290dc2c791b31a6841ac6d96c7974d51e846ce0232e9de6728f6031685685e761 SHA512 810ee2c40d92102815685c6e06bee403dfb85df7c8de5f1b7066b27cef2a8e25f506f8d9cc0ff0ec3213b889a7844138692fd9d1ab0c40d0aa2097c55e85f531 |
23 |
+DIST watchdog-2.1.7.gh.tar.gz 100442 BLAKE2B 21247e1790077eb1eb2f1dc2bb8ddebc1b7f6a2c503238c52c660246fee8c1d3483119184a62114efb81c44665321d4e3aa18ffd73b3244a44c4c6df5204c834 SHA512 f69265aac6e8a840d230c15cfe88c803f043cb540785446113617c0fd1a3c5dce8a885a376bbadc75372a718800948dd4b00c618e18e033d510b8e2bc2bbb36b |
24 |
|
25 |
diff --git a/dev-python/watchdog/watchdog-2.1.7.ebuild b/dev-python/watchdog/watchdog-2.1.7.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c7201e2d04e8 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/watchdog/watchdog-2.1.7.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 optfeature |
40 |
+ |
41 |
+DESCRIPTION="Python API and shell utilities to monitor file system events" |
42 |
+HOMEPAGE="https://github.com/gorakhargosh/watchdog" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz |
45 |
+ -> ${P}.gh.tar.gz |
46 |
+" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] |
58 |
+ ) |
59 |
+" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ sed -i -e '/--cov/d' setup.cfg || die |
65 |
+ default |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ epytest -p no:django |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ optfeature "Bash completion" dev-python/argcomplete |
74 |
+} |