commit:     bc6008602059a6e6f90184c99b8006fa1fcbb829
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  2 06:03:16 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  2 06:32:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc600860

dev-python/watchdog: Bump to 6.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/watchdog/Manifest              |  1 +
 dev-python/watchdog/watchdog-6.0.0.ebuild | 48 +++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest
index 13a47ae927bd..2a095826946e 100644
--- a/dev-python/watchdog/Manifest
+++ b/dev-python/watchdog/Manifest
@@ -1,2 +1,3 @@
 DIST watchdog-5.0.2.tar.gz 127779 BLAKE2B 
91aacf654774ec128594abb0c8127642dbdb6109f5beb4957e65cccc3ad6e338a69141298cddf97ef171fd6d013bc052402011883be4c146f1d8854da48af18d
 SHA512 
ebacbeb0c48b5117500cc3479677dff2982dcbc0792c459f3bda14f56bd0c028cdaee15a8cca9dee06c650a04e290a7850a5abcc9c48995767b1f0ef7fca7ce3
 DIST watchdog-5.0.3.tar.gz 129556 BLAKE2B 
93eb0ade613974b7882d8744dd2430983a5bdc5810eefd8bc75cc0261887c82b6fbe6ff0e16eaaa157eaf14e238906f5adbb72680b1eac1fa1f6106f927775c9
 SHA512 
92f9704daa0fc3fb3c7f8e94e586847e3eb98150f9397e0dfdff28b1bbcc8a9c0b11b8d1361fa66209203202ed6ad659c955bc02f4b6d38bf66ef6a26b5d35bf
+DIST watchdog-6.0.0.tar.gz 131220 BLAKE2B 
739568453f437d70ec401437b1fdfe76f4ef9155a98f5d1e885f9371999b1d5b5a31f1d0e8a5f3bfd0558009e655da1055cbc203e4bbeff4b5af9ed56c4d8302
 SHA512 
a248e05b538a894a00e38dabbc0cc7490bb1a87689aa14aac5835f611136fcf6f1e3bd45a6ca4f10991ffabd9264c72f981f4619bd77eb8baf297d015975d57f

diff --git a/dev-python/watchdog/watchdog-6.0.0.ebuild 
b/dev-python/watchdog/watchdog-6.0.0.ebuild
new file mode 100644
index 000000000000..1816fd4bc48b
--- /dev/null
+++ b/dev-python/watchdog/watchdog-6.0.0.ebuild
@@ -0,0 +1,48 @@
+# 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 ~loong ~m68k ~mips ~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
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       # there's a test opening 2048 files
+       ulimit -n 4096 || die
+       epytest -o addopts=
+}
+
+pkg_postinst() {
+       optfeature "Bash completion" dev-python/argcomplete
+}

Reply via email to