Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchdog/
Date: Tue, 28 Feb 2017 13:11:35
Message-Id: 1488287482.d121fd441d911050e294801cbf0b3b0163ff2baf.grozin@gentoo
1 commit: d121fd441d911050e294801cbf0b3b0163ff2baf
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 13:11:22 2017 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 13:11:22 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d121fd44
7
8 dev-python/watchdog: python3_6 added
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/watchdog/watchdog-0.8.3-r2.ebuild | 37 ++++++++++++++++++++++++++++
13 1 file changed, 37 insertions(+)
14
15 diff --git a/dev-python/watchdog/watchdog-0.8.3-r2.ebuild b/dev-python/watchdog/watchdog-0.8.3-r2.ebuild
16 new file mode 100644
17 index 0000000000..40fd632aae
18 --- /dev/null
19 +++ b/dev-python/watchdog/watchdog-0.8.3-r2.ebuild
20 @@ -0,0 +1,37 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id: f7a9a577d9772b9743b2ef7fdb310ae950383ed2 $
24 +
25 +EAPI=5
26 +
27 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy)
28 +
29 +inherit distutils-r1 eutils
30 +
31 +DESCRIPTION="Python API and shell utilities to monitor file system events"
32 +HOMEPAGE="https://github.com/gorakhargosh/watchdog"
33 +SRC_URI="mirror://pypi/w/watchdog/${P}.tar.gz"
34 +
35 +LICENSE="Apache-2.0"
36 +SLOT="0"
37 +KEYWORDS="~amd64 ~arm ~ppc ~x86"
38 +IUSE="test"
39 +
40 +CDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
41 +RDEPEND="${CDEPEND}
42 + dev-python/argh[${PYTHON_USEDEP}]
43 + dev-python/pathtools[${PYTHON_USEDEP}]"
44 +DEPEND="${CDEPEND}
45 + test? (
46 + dev-python/pytest[${PYTHON_USEDEP}]
47 + dev-python/pytest-cov[${PYTHON_USEDEP}]
48 + >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}]
49 + )"
50 +
51 +python_test() {
52 + esetup.py test
53 +}
54 +
55 +pkg_postinst() {
56 + optfeature "Bash completion" dev-python/argcomplete
57 +}