test? ( dev-python/nose[${PYTHON_USEDEP}] )"
RDEPEND=""
+PATCHES=( "${FILESDIR}"/${P}-nose.patch )
+
python_test() {
nosetests || die "tests failed"
}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+PATCHES=( "${FILESDIR}"/${P}-nose.patch )
+
python_test() {
py.test || die
}
--- /dev/null
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index e1035eb..bb8eaf6 100755
+--- a/setup.py
++++ b/setup.py
+@@ -26,6 +26,6 @@ setup(
+ url = web,
+ version = VERSION,
+ py_modules = py_modules,
+- setup_requires = ['nose>=1.0'],
++ tests_requires = ['nose>=1.0'],
+ zip_safe = zip_safe
+ )
--- /dev/null
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 4a4b238..854d3e1 100755
+--- a/setup.py
++++ b/setup.py
+@@ -33,6 +33,6 @@ setup(
+ version = VERSION,
+ py_modules = py_modules,
+ install_requires = install_requires,
+- setup_requires = ['nose>=1.0'],
++ tests_requires = ['pytest'],
+ zip_safe = zip_safe
+ )