dev-python/epsilon: Support combined dev-python/twisted, minor fixes

This commit is contained in:
Michał Górny
2017-03-28 19:06:06 +02:00
parent b15a5bf0aa
commit a702901a31

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
PYTHON_COMPAT=( python2_7 )
inherit twisted-r1 eutils
inherit twisted-r1
DESCRIPTION="Epsilon is a Python utilities package, most famous for its Time class"
HOMEPAGE="http://divmod.org/trac/wiki/DivmodEpsilon https://pypi.python.org/pypi/Epsilon"
@@ -13,11 +13,15 @@ SRC_URI="mirror://pypi/${TWISTED_PN:0:1}/${TWISTED_PN}/${TWISTED_P}.tar.gz"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="test"
RDEPEND=">=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
RDEPEND="
|| (
dev-python/twisted[${PYTHON_USEDEP}]
>=dev-python/twisted-core-13.2.0[${PYTHON_USEDEP}]
)
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
${DEPEND}"
test? ( dev-python/nose[${PYTHON_USEDEP}] )
${DEPEND}"
PATCHES=( "${FILESDIR}/epsilon_plugincache_portagesandbox.patch" )