summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-07 21:09:48 +0000
committerSam James <sam@gentoo.org>2021-03-07 21:10:22 +0000
commit99dfa41f7949a4f38b72b6800991ca29d98846e0 (patch)
treee6b5f732e1f15d5a12b9260ecaf194390ed81def
parentsys-kernel/vanilla-sources-4.19.179: Version bump (diff)
downloadgentoo-99dfa41f7949a4f38b72b6800991ca29d98846e0.tar.gz
gentoo-99dfa41f7949a4f38b72b6800991ca29d98846e0.tar.bz2
gentoo-99dfa41f7949a4f38b72b6800991ca29d98846e0.zip
dev-util/pkgdev: switch to setup.py test runner
Signed-off-by: Sam James <sam@gentoo.org>
-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