summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Riley <justin.t.riley@gmail.com>2016-02-13 01:25:04 -0500
committerJustin Riley <justin.t.riley@gmail.com>2016-02-13 01:25:04 -0500
commit7c5649e22f0a35489106a49a0e1413e865e88133 (patch)
treef1c0578e667a5ee76bd70f7c4f0043c44923b5be
parentremove old openafs packages (diff)
downloadjtriley-7c5649e22f0a35489106a49a0e1413e865e88133.tar.gz
jtriley-7c5649e22f0a35489106a49a0e1413e865e88133.tar.bz2
jtriley-7c5649e22f0a35489106a49a0e1413e865e88133.zip
fix distutils-r1 warnings
-rw-r--r--dev-python/iptools/iptools-0.6.1.ebuild4
-rw-r--r--dev-python/starcluster/starcluster-0.95.5.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/dev-python/iptools/iptools-0.6.1.ebuild b/dev-python/iptools/iptools-0.6.1.ebuild
index 8183dd4..f2807fa 100644
--- a/dev-python/iptools/iptools-0.6.1.ebuild
+++ b/dev-python/iptools/iptools-0.6.1.ebuild
@@ -4,13 +4,13 @@
EAPI="5"
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} )
-DISTUTILS_SRC_TEST="nosetests"
inherit distutils-r1
DESCRIPTION="Python utilites for manipulating IPv4 and IPv6 addresses"
HOMEPAGE="https://github.com/bd808/python-iptools http://pypi.python.org/pypi/iptools"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]"
LICENSE="BSD"
SLOT="0"
@@ -21,7 +21,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
python_test() {
- nosetests || die -v tests || die
+ nosetests || die "Tests fail with ${EPYTHON}"
}
python_install_all() {
diff --git a/dev-python/starcluster/starcluster-0.95.5.ebuild b/dev-python/starcluster/starcluster-0.95.5.ebuild
index 41804d7..ea3ff57 100644
--- a/dev-python/starcluster/starcluster-0.95.5.ebuild
+++ b/dev-python/starcluster/starcluster-0.95.5.ebuild
@@ -5,7 +5,6 @@
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
-DISTUTILS_SRC_TEST="py.test"
inherit distutils-r1 bash-completion-r1
@@ -19,7 +18,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
-IUSE="doc bash-completion epydoc"
+IUSE="doc bash-completion epydoc test"
RDEPEND=">=dev-python/paramiko-1.12.1[${PYTHON_USEDEP}]
>=dev-python/boto-2.23.0[${PYTHON_USEDEP}]
@@ -32,6 +31,7 @@ RDEPEND=">=dev-python/paramiko-1.12.1[${PYTHON_USEDEP}]
>=dev-python/scp-0.7.1[${PYTHON_USEDEP}]
>=dev-python/optcomplete-1.2[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinxcontrib-issuetracker[${PYTHON_USEDEP}]
dev-python/epydoc[${PYTHON_USEDEP}]