Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyutil/
Date: Sun, 14 Oct 2018 10:19:06
Message-Id: 1539512287.17578ae1450a546936251413178666172957c26e.pacho@gentoo
1 commit: 17578ae1450a546936251413178666172957c26e
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 14 09:16:04 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 14 10:18:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17578ae1
7
8 dev-python/pyutil: Allow newer twisted
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/pyutil/pyutil-2.0.0-r1.ebuild | 27 +++++++++++++++++++++++++++
14 1 file changed, 27 insertions(+)
15
16 diff --git a/dev-python/pyutil/pyutil-2.0.0-r1.ebuild b/dev-python/pyutil/pyutil-2.0.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..26c90066e3a
19 --- /dev/null
20 +++ b/dev-python/pyutil/pyutil-2.0.0-r1.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2018 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +PYTHON_COMPAT=( python2_7 )
28 +inherit distutils-r1
29 +
30 +DESCRIPTION="A collection of utilities for Python programmers"
31 +HOMEPAGE="https://tahoe-lafs.org/trac/pyutil https://pypi.org/project/pyutil/"
32 +SRC_URI="mirror://pypi/p/pyutil/pyutil-${PV}.tar.gz"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE=""
38 +
39 +RDEPEND="
40 + dev-python/simplejson[${PYTHON_USEDEP}]
41 + || ( dev-python/twisted[${PYTHON_USEDEP}] dev-python/twisted-core[${PYTHON_USEDEP}] )
42 +"
43 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
44 +
45 +src_install() {
46 + distutils-r1_src_install
47 + rm -rf "${ED%/}"/usr/share/doc/${PN}
48 +}