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: Tue, 04 May 2021 13:59:06
Message-Id: 1620136737.4e461678b7a7824aec313427aa004aecc34be592.mgorny@gentoo
1 commit: 4e461678b7a7824aec313427aa004aecc34be592
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 4 13:48:45 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 4 13:58:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e461678
7
8 dev-python/watchdog: Bump to 2.1.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.1.0.ebuild | 38 +++++++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest
17 index c67d748f4a7..80f3d0a975e 100644
18 --- a/dev-python/watchdog/Manifest
19 +++ b/dev-python/watchdog/Manifest
20 @@ -1,3 +1,4 @@
21 DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e
22 DIST watchdog-2.0.2.tar.gz 95452 BLAKE2B e3a071cdf1c47698cd54bbaf925c4eb7e2af7398ced73aa332e57472cba2f5ce2ce1b96a31d3f5f3a525cabf81d5de528d95d0c59148150f407abb8ebc64538e SHA512 6134ad22b350b7b2893b564c4f02bd35b1be515fa18dd7f7000b191994b5ba48c5bf573819d2f363de227481a6bb8a0a14973e7c6611de367df2a3f228656ed1
23 DIST watchdog-2.0.3.tar.gz 95524 BLAKE2B 568e9d66efbfa98c19dab704681dbc48f869b59d51d7c7ff7ce1fd7465efcc6233f871e7f9276f2732692645491f2fd197a639b17e9a3d8abb76d0148a934796 SHA512 e1c506e4ead8c3ee8d19e456b67623f3a1823007be6c1fad0d76c697205696183e7bd15e46c21bf61abce6dd16d267e55da8986633eeee337d10c609318fb958
24 +DIST watchdog-2.1.0.tar.gz 95833 BLAKE2B f11eb7961885fd0fbf8e6f888a069d77d9ff26b245bd3583e9060044c43a3356d56a334108c8c1a11735fffa779cc750bc390dd1510cf2c549ec9fe064899540 SHA512 65cc291927a61506fd2c26e05b85112e1cc0f26ca851138c62dfa34fae7958ee2b3946ffe586a9d2b7a48d59a6b5ce11c8dac276a3d78dcbeca8da011a880668
25
26 diff --git a/dev-python/watchdog/watchdog-2.1.0.ebuild b/dev-python/watchdog/watchdog-2.1.0.ebuild
27 new file mode 100644
28 index 00000000000..0b8865d4eef
29 --- /dev/null
30 +++ b/dev-python/watchdog/watchdog-2.1.0.ebuild
31 @@ -0,0 +1,38 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7..9} )
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 + default
61 +}
62 +
63 +python_test() {
64 + epytest -p no:django
65 +}
66 +
67 +pkg_postinst() {
68 + optfeature "Bash completion" dev-python/argcomplete
69 +}