Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchdog/
Date: Thu, 11 Feb 2021 10:06:00
Message-Id: 1613037637.5c75973fbb6f217325f4b96b33af09d98b1f6529.mgorny@gentoo
1 commit: 5c75973fbb6f217325f4b96b33af09d98b1f6529
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 11 10:00:37 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 11 10:00:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c75973f
7
8 dev-python/watchdog: Bump to 2.0.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/watchdog/Manifest | 1 +
13 dev-python/watchdog/watchdog-2.0.0.ebuild | 39 +++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest
17 index 25387b35b5b..a1fc63aaf9e 100644
18 --- a/dev-python/watchdog/Manifest
19 +++ b/dev-python/watchdog/Manifest
20 @@ -1 +1,2 @@
21 DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e
22 +DIST watchdog-2.0.0.tar.gz 95475 BLAKE2B 8955a1428d383ed78691274dc52e1e58b3ca4602eb89ab67a81796a685bf15948d77edd4a704b0fda7ea3a7472f3545389c99c4e0247f05df34372ac6ccaa8e8 SHA512 749c43524c21b45cf3422414ffdf38d595c6def66f164fdb77b0e1bc87dd1a971fed21b17036c3a96d64d3f28b7f3c0e018b26d4bcf7769c68f310101e5eeb61
23
24 diff --git a/dev-python/watchdog/watchdog-2.0.0.ebuild b/dev-python/watchdog/watchdog-2.0.0.ebuild
25 new file mode 100644
26 index 00000000000..31b479a03eb
27 --- /dev/null
28 +++ b/dev-python/watchdog/watchdog-2.0.0.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DISTUTILS_USE_SETUPTOOLS=rdepend
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit distutils-r1 optfeature
39 +
40 +DESCRIPTION="Python API and shell utilities to monitor file system events"
41 +HOMEPAGE="https://github.com/gorakhargosh/watchdog"
42 +SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
47 +
48 +CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
49 +RDEPEND="${CDEPEND}
50 + dev-python/argh[${PYTHON_USEDEP}]"
51 +DEPEND="${CDEPEND}
52 + test? (
53 + >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}]
54 + )"
55 +
56 +distutils_enable_tests pytest
57 +
58 +src_prepare() {
59 + sed -i -e '/--cov/d' setup.cfg || die
60 + # broken when django is installed
61 + sed -i -e 's:test_eventlet_monkey_patching:_&:' \
62 + tests/test_skip_repeats_queue.py || die
63 + default
64 +}
65 +
66 +pkg_postinst() {
67 + optfeature "Bash completion" dev-python/argcomplete
68 +}