commit: 17578ae1450a546936251413178666172957c26e Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Sun Oct 14 09:16:04 2018 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Sun Oct 14 10:18:07 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17578ae1
dev-python/pyutil: Allow newer twisted Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/pyutil/pyutil-2.0.0-r1.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 00000000000..26c90066e3a --- /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} +}
