summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-09-04 04:53:02 +0200
committerMichał Górny <mgorny@gentoo.org>2024-09-04 05:13:49 +0200
commit2f3766dc9c0c3427271b2f6d633443f480abcf24 (patch)
treec42d6ebf9cacf0c997bc34534c05e43d9b65153b /dev-python
parentdev-python/sqlglot: Bump to 25.19.0 (diff)
downloadgentoo-2f3766dc9c0c3427271b2f6d633443f480abcf24.tar.gz
gentoo-2f3766dc9c0c3427271b2f6d633443f480abcf24.tar.bz2
gentoo-2f3766dc9c0c3427271b2f6d633443f480abcf24.zip
dev-python/watchdog: Bump to 5.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/watchdog/Manifest1
-rw-r--r--dev-python/watchdog/watchdog-5.0.2.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest
index 65b698072361..802441651452 100644
--- a/dev-python/watchdog/Manifest
+++ b/dev-python/watchdog/Manifest
@@ -2,3 +2,4 @@ DIST watchdog-4.0.1.tar.gz 126583 BLAKE2B fb2499181b466d50e46b4cc18f78bbee0234d4
DIST watchdog-4.0.2.tar.gz 126587 BLAKE2B 7de82f861f16a23ca9d6d7dfd32df7a2498fd0cf82e24077d3a21b998e2e5ff789ce60b20d5491a93e63018050714a3815bb7f2fba75aec2efd25a1b36e6255f SHA512 9fe63309ae818ac37d44a75f8635691621da49d95d1ec5d7cdab044f2fd296eb9e970cb5e46ad92029533ab384e3e3d7f5d297ca25c9c9dd99aec96efa3ecb94
DIST watchdog-5.0.0.tar.gz 127192 BLAKE2B 956009f661cc2a1c604799e3d3c727750bf6d65cf418edcfca268bfefd94ceaf251d18f175f69e0a23ec50ab2349f86706a1a6f1691345968a60d8217609cdc3 SHA512 0dc96f1c89ddc196e54dcaaff2c55c78aa856138fe7a27be5f7aceb7b13c825c4e83e07575fe0fd22aa233be57acbedb5f5dc0d5cd12654fe01815e36d3a3383
DIST watchdog-5.0.1.tar.gz 127394 BLAKE2B 92397ff7cc9b4af3c3d99c02fcc8f5ae8d757dbefa7e6f91fa0ce0781ee07d9807f3015c31e3073c1d5c8327b7385503f650375a90a8c3d1ad5f48e23201e3be SHA512 643137f6dd569e51662c075a7fa968c3826bb575f109f42643111a0434d52bf533f00fa0b7a7682760c069cef3df67e305cfee568d187df1621f8eba322db9b2
+DIST watchdog-5.0.2.tar.gz 127779 BLAKE2B 91aacf654774ec128594abb0c8127642dbdb6109f5beb4957e65cccc3ad6e338a69141298cddf97ef171fd6d013bc052402011883be4c146f1d8854da48af18d SHA512 ebacbeb0c48b5117500cc3479677dff2982dcbc0792c459f3bda14f56bd0c028cdaee15a8cca9dee06c650a04e290a7850a5abcc9c48995767b1f0ef7fca7ce3
diff --git a/dev-python/watchdog/watchdog-5.0.2.ebuild b/dev-python/watchdog/watchdog-5.0.2.ebuild
new file mode 100644
index 000000000000..70fd40c4187a
--- /dev/null
+++ b/dev-python/watchdog/watchdog-5.0.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 optfeature pypi
+
+DESCRIPTION="Python API and shell utilities to monitor file system events"
+HOMEPAGE="
+ https://github.com/gorakhargosh/watchdog/
+ https://pypi.org/project/watchdog/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # known flaky
+ tests/test_emitter.py::test_close
+ # requires root powers via sudo (yes, seriously)
+ tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem
+ )
+
+ epytest -o addopts= -p no:django
+}
+
+pkg_postinst() {
+ optfeature "Bash completion" dev-python/argcomplete
+}