1 |
commit: 6fa99985c44b430ce097c96d7dcad1d0e4a268af |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 18:15:50 2023 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 18:16:27 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa99985 |
7 |
|
8 |
dev-python/watchdog: add 2.3.1 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/watchdog/Manifest | 1 + |
13 |
dev-python/watchdog/watchdog-2.3.1.ebuild | 50 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest |
17 |
index b90d67731b2f..e832e3dd4d86 100644 |
18 |
--- a/dev-python/watchdog/Manifest |
19 |
+++ b/dev-python/watchdog/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST watchdog-2.2.1.gh.tar.gz 101485 BLAKE2B 4ec0a2c14d0dcb8d39ed4dea48c1318474768298b4eade4f7c08f811282ffdbf5871c7d55d71681863c38d1f0603c46aaadda73bf38a20ef263fa3b4cf76c354 SHA512 bbd6e3e3fdc7ee5df21b78241922c0050aeb0c01e394fa7d025465f04f3307d190af4cf6e822826975a3b095fb479dfd103be0675f12782e8899f556797baed4 |
22 |
DIST watchdog-2.3.0.gh.tar.gz 103265 BLAKE2B 0817b64e6fc4b31b922f2f73091cc39f702605fa31041a75312635e5500dfeeeab749f0bfd95f3e27900be8f017c4a1b0c07aab40989a9000d1970a2b1e06c1f SHA512 733d408e74a81ce834075472d7488e8d767f80ef92a2a13cc986c1f5d879b0353f0cb85c1996168ae6b8b82d135bcb26c6c18b51a01a8d75915bdec94acd607d |
23 |
+DIST watchdog-2.3.1.tar.gz 123140 BLAKE2B a49307b890b9f69eda760c6285d325fddc7281347740b36d7c840a5e28ef496498420c21424f1553bf1dc0d47a928194720ef1ae542e7c0f6f58085760c2e8f5 SHA512 a492c818fcc8b21ca4052fecafdf6b4d00f441034d73b10464fc9c09a89d539acd8304e591ded96e5d992e2c9455be018373ba4f06a33b047e606c083f9061e8 |
24 |
|
25 |
diff --git a/dev-python/watchdog/watchdog-2.3.1.ebuild b/dev-python/watchdog/watchdog-2.3.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..a40cce8f861b |
28 |
--- /dev/null |
29 |
+++ b/dev-python/watchdog/watchdog-2.3.1.ebuild |
30 |
@@ -0,0 +1,50 @@ |
31 |
+# Copyright 1999-2023 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_{9..11} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 optfeature pypi |
40 |
+ |
41 |
+DESCRIPTION="Python API and shell utilities to monitor file system events" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/gorakhargosh/watchdog/ |
44 |
+ https://pypi.org/project/watchdog/ |
45 |
+" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ sed -e '/--cov/d' -i setup.cfg || die |
64 |
+ default |
65 |
+} |
66 |
+ |
67 |
+python_test() { |
68 |
+ local EPYTEST_DESELECT=( |
69 |
+ # known flaky |
70 |
+ tests/test_emitter.py::test_close |
71 |
+ # requires root powers via sudo (yes, seriously) |
72 |
+ tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem |
73 |
+ ) |
74 |
+ |
75 |
+ epytest -p no:django |
76 |
+} |
77 |
+ |
78 |
+pkg_postinst() { |
79 |
+ optfeature "Bash completion" dev-python/argcomplete |
80 |
+} |