dev-python/watchdog: Bump to 5.0.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-08-27 08:28:17 +02:00
parent 237c2f8c1a
commit e217dcab10
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST watchdog-4.0.1.tar.gz 126583 BLAKE2B fb2499181b466d50e46b4cc18f78bbee0234d4ca533e92d006411475b6795a90e184335a8523d6b08dbf40d65c4c7807484791d6f243206d046dfad7139bd797 SHA512 0d759d1f9e97a6bc4b5578dbee5cdee01fc3a0f684ac1cb9e3f14c9b5f9a1353b992d690e3ac9801d73f2425b48b1320b20ee0b4d1101f0e80a9f6a7a25da01d
DIST watchdog-4.0.2.tar.gz 126587 BLAKE2B 7de82f861f16a23ca9d6d7dfd32df7a2498fd0cf82e24077d3a21b998e2e5ff789ce60b20d5491a93e63018050714a3815bb7f2fba75aec2efd25a1b36e6255f SHA512 9fe63309ae818ac37d44a75f8635691621da49d95d1ec5d7cdab044f2fd296eb9e970cb5e46ad92029533ab384e3e3d7f5d297ca25c9c9dd99aec96efa3ecb94
DIST watchdog-5.0.0.tar.gz 127192 BLAKE2B 956009f661cc2a1c604799e3d3c727750bf6d65cf418edcfca268bfefd94ceaf251d18f175f69e0a23ec50ab2349f86706a1a6f1691345968a60d8217609cdc3 SHA512 0dc96f1c89ddc196e54dcaaff2c55c78aa856138fe7a27be5f7aceb7b13c825c4e83e07575fe0fd22aa233be57acbedb5f5dc0d5cd12654fe01815e36d3a3383

View File

@@ -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
}