summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r--dev-util/pkgdev/pkgdev-0.1.ebuild4
-rw-r--r--dev-util/pkgdev/pkgdev-9999.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-util/pkgdev/pkgdev-0.1.ebuild b/dev-util/pkgdev/pkgdev-0.1.ebuild
index fb2168b4e3e0..fdf04f9fc038 100644
--- a/dev-util/pkgdev/pkgdev-0.1.ebuild
+++ b/dev-util/pkgdev/pkgdev-0.1.ebuild
@@ -37,10 +37,12 @@ else
"
fi
+# Uses pytest but we want to use the setup.py runner to get generated modules
+BDEPEND+="test? ( dev-python/pytest )"
RDEPEND+="dev-vcs/git"
distutils_enable_sphinx doc
-distutils_enable_tests pytest
+distutils_enable_tests setup.py
python_install_all() {
# We'll generate man pages ourselves
diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild
index 587e2ad6a944..041813b0cea7 100644
--- a/dev-util/pkgdev/pkgdev-9999.ebuild
+++ b/dev-util/pkgdev/pkgdev-9999.ebuild
@@ -37,10 +37,12 @@ else
"
fi
+# Uses pytest but we want to use the setup.py runner to get generated modules
+BDEPEND+="test? ( dev-python/pytest )"
RDEPEND+="dev-vcs/git"
distutils_enable_sphinx doc
-distutils_enable_tests pytest
+distutils_enable_tests setup.py
python_install_all() {
# We'll generate man pages ourselves