summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-10-14 11:16:04 +0200
committerPacho Ramos <pacho@gentoo.org>2018-10-14 12:18:07 +0200
commit17578ae1450a546936251413178666172957c26e (patch)
tree64403417268d2c7e47ea50d65ea73fb5da201137 /dev-python
parentdev-python/foolscap: Bump to 0.13.1 (diff)
downloadgentoo-17578ae1450a546936251413178666172957c26e.tar.gz
gentoo-17578ae1450a546936251413178666172957c26e.tar.bz2
gentoo-17578ae1450a546936251413178666172957c26e.zip
dev-python/pyutil: Allow newer twisted
Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyutil/pyutil-2.0.0-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/pyutil/pyutil-2.0.0-r1.ebuild b/dev-python/pyutil/pyutil-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..26c90066e3ac
--- /dev/null
+++ b/dev-python/pyutil/pyutil-2.0.0-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="A collection of utilities for Python programmers"
+HOMEPAGE="https://tahoe-lafs.org/trac/pyutil https://pypi.org/project/pyutil/"
+SRC_URI="mirror://pypi/p/pyutil/pyutil-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-python/simplejson[${PYTHON_USEDEP}]
+ || ( dev-python/twisted[${PYTHON_USEDEP}] dev-python/twisted-core[${PYTHON_USEDEP}] )
+"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+src_install() {
+ distutils-r1_src_install
+ rm -rf "${ED%/}"/usr/share/doc/${PN}
+}