1 |
commit: 0aab39d1d26337ddd9a4625a08149c523459ee64 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 23 00:39:12 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 23 00:46:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aab39d1 |
7 |
|
8 |
dev-python/watchdog: Bump to 2.0.2 |
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.0.2.ebuild | 39 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest |
17 |
index 9890e765cd7..6a8319bebea 100644 |
18 |
--- a/dev-python/watchdog/Manifest |
19 |
+++ b/dev-python/watchdog/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e |
22 |
DIST watchdog-2.0.0.tar.gz 95475 BLAKE2B 8955a1428d383ed78691274dc52e1e58b3ca4602eb89ab67a81796a685bf15948d77edd4a704b0fda7ea3a7472f3545389c99c4e0247f05df34372ac6ccaa8e8 SHA512 749c43524c21b45cf3422414ffdf38d595c6def66f164fdb77b0e1bc87dd1a971fed21b17036c3a96d64d3f28b7f3c0e018b26d4bcf7769c68f310101e5eeb61 |
23 |
DIST watchdog-2.0.1.tar.gz 95093 BLAKE2B dd59b3be1ec1a33d3f015710c14f3d2ba6e652a36841e7405a879625d588a3ec4d18c4791e6d8808b0be75079588ced2fbc6ac103645520ab94f085ae8fdf3ad SHA512 25e93505daeb3d0d9947212099af3a975cd8c75a1cf93ea5fee59de50471becad2abdbbec8a44afe94b935599768f78605a48c196c3c3ed6123fedfb4768e3aa |
24 |
+DIST watchdog-2.0.2.tar.gz 95452 BLAKE2B e3a071cdf1c47698cd54bbaf925c4eb7e2af7398ced73aa332e57472cba2f5ce2ce1b96a31d3f5f3a525cabf81d5de528d95d0c59148150f407abb8ebc64538e SHA512 6134ad22b350b7b2893b564c4f02bd35b1be515fa18dd7f7000b191994b5ba48c5bf573819d2f363de227481a6bb8a0a14973e7c6611de367df2a3f228656ed1 |
25 |
|
26 |
diff --git a/dev-python/watchdog/watchdog-2.0.2.ebuild b/dev-python/watchdog/watchdog-2.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..31b479a03eb |
29 |
--- /dev/null |
30 |
+++ b/dev-python/watchdog/watchdog-2.0.2.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+PYTHON_COMPAT=( python3_{7..9} ) |
39 |
+ |
40 |
+inherit distutils-r1 optfeature |
41 |
+ |
42 |
+DESCRIPTION="Python API and shell utilities to monitor file system events" |
43 |
+HOMEPAGE="https://github.com/gorakhargosh/watchdog" |
44 |
+SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
49 |
+ |
50 |
+CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" |
51 |
+RDEPEND="${CDEPEND} |
52 |
+ dev-python/argh[${PYTHON_USEDEP}]" |
53 |
+DEPEND="${CDEPEND} |
54 |
+ test? ( |
55 |
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] |
56 |
+ )" |
57 |
+ |
58 |
+distutils_enable_tests pytest |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ sed -i -e '/--cov/d' setup.cfg || die |
62 |
+ # broken when django is installed |
63 |
+ sed -i -e 's:test_eventlet_monkey_patching:_&:' \ |
64 |
+ tests/test_skip_repeats_queue.py || die |
65 |
+ default |
66 |
+} |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ optfeature "Bash completion" dev-python/argcomplete |
70 |
+} |