dev-python/watchdog: Bump to 2.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-02-24 06:14:02 +01:00
parent 1ecb47be2b
commit 39b8cb8f8b
2 changed files with 53 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST watchdog-2.2.1.gh.tar.gz 101485 BLAKE2B 4ec0a2c14d0dcb8d39ed4dea48c1318474768298b4eade4f7c08f811282ffdbf5871c7d55d71681863c38d1f0603c46aaadda73bf38a20ef263fa3b4cf76c354 SHA512 bbd6e3e3fdc7ee5df21b78241922c0050aeb0c01e394fa7d025465f04f3307d190af4cf6e822826975a3b095fb479dfd103be0675f12782e8899f556797baed4
DIST watchdog-2.3.0.gh.tar.gz 103265 BLAKE2B 0817b64e6fc4b31b922f2f73091cc39f702605fa31041a75312635e5500dfeeeab749f0bfd95f3e27900be8f017c4a1b0c07aab40989a9000d1970a2b1e06c1f SHA512 733d408e74a81ce834075472d7488e8d767f80ef92a2a13cc986c1f5d879b0353f0cb85c1996168ae6b8b82d135bcb26c6c18b51a01a8d75915bdec94acd607d

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} pypy3 )
inherit distutils-r1 optfeature
DESCRIPTION="Python API and shell utilities to monitor file system events"
HOMEPAGE="
https://github.com/gorakhargosh/watchdog/
https://pypi.org/project/watchdog/
"
SRC_URI="
https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz
"
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
src_prepare() {
sed -i -e '/--cov/d' setup.cfg || die
default
}
python_test() {
local EPYTEST_DESELECT=(
# requires root powers via sudo (yes, seriously)
tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem
)
epytest -p no:django
}
pkg_postinst() {
optfeature "Bash completion" dev-python/argcomplete
}