diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-17 17:26:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-02-17 17:34:40 +0100 |
commit | 87a193297d68db7098f0ff2decadc3374d4bb215 (patch) | |
tree | 072f1373fb83d92491d68fbbcb6b7dd1f27e5f70 /dev-python/watchdog | |
parent | dev-python/exdown: Bump to 0.8.2 (diff) | |
download | gentoo-87a193297d68db7098f0ff2decadc3374d4bb215.tar.gz gentoo-87a193297d68db7098f0ff2decadc3374d4bb215.tar.bz2 gentoo-87a193297d68db7098f0ff2decadc3374d4bb215.zip |
dev-python/watchdog: Bump to 2.0.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/watchdog')
-rw-r--r-- | dev-python/watchdog/Manifest | 1 | ||||
-rw-r--r-- | dev-python/watchdog/watchdog-2.0.1.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index a1fc63aaf9e6..9890e765cd7d 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,2 +1,3 @@ DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e DIST watchdog-2.0.0.tar.gz 95475 BLAKE2B 8955a1428d383ed78691274dc52e1e58b3ca4602eb89ab67a81796a685bf15948d77edd4a704b0fda7ea3a7472f3545389c99c4e0247f05df34372ac6ccaa8e8 SHA512 749c43524c21b45cf3422414ffdf38d595c6def66f164fdb77b0e1bc87dd1a971fed21b17036c3a96d64d3f28b7f3c0e018b26d4bcf7769c68f310101e5eeb61 +DIST watchdog-2.0.1.tar.gz 95093 BLAKE2B dd59b3be1ec1a33d3f015710c14f3d2ba6e652a36841e7405a879625d588a3ec4d18c4791e6d8808b0be75079588ced2fbc6ac103645520ab94f085ae8fdf3ad SHA512 25e93505daeb3d0d9947212099af3a975cd8c75a1cf93ea5fee59de50471becad2abdbbec8a44afe94b935599768f78605a48c196c3c3ed6123fedfb4768e3aa diff --git a/dev-python/watchdog/watchdog-2.0.1.ebuild b/dev-python/watchdog/watchdog-2.0.1.ebuild new file mode 100644 index 000000000000..31b479a03ebc --- /dev/null +++ b/dev-python/watchdog/watchdog-2.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Python API and shell utilities to monitor file system events" +HOMEPAGE="https://github.com/gorakhargosh/watchdog" +SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" + +CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +RDEPEND="${CDEPEND} + dev-python/argh[${PYTHON_USEDEP}]" +DEPEND="${CDEPEND} + test? ( + >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e '/--cov/d' setup.cfg || die + # broken when django is installed + sed -i -e 's:test_eventlet_monkey_patching:_&:' \ + tests/test_skip_repeats_queue.py || die + default +} + +pkg_postinst() { + optfeature "Bash completion" dev-python/argcomplete +} |