summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/wapiti/wapiti-3.0.5.ebuild2
-rw-r--r--net-analyzer/wapiti/wapiti-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-analyzer/wapiti/wapiti-3.0.5.ebuild b/net-analyzer/wapiti/wapiti-3.0.5.ebuild
index 348231badfed..d4ca3fb0a6d2 100644
--- a/net-analyzer/wapiti/wapiti-3.0.5.ebuild
+++ b/net-analyzer/wapiti/wapiti-3.0.5.ebuild
@@ -3,7 +3,6 @@
EAPI=7
-DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE='xml'
@@ -38,6 +37,7 @@ S=${WORKDIR}/${MY_P}
python_prepare_all() {
sed -e 's/"pytest-runner"//' \
-e "/find_packages/s/()/(exclude=['tests*'])/" \
+ -e "/DOC_DIR =/s/wapiti/${PF}/" \
-i setup.py || die
distutils-r1_python_prepare_all
}
diff --git a/net-analyzer/wapiti/wapiti-9999.ebuild b/net-analyzer/wapiti/wapiti-9999.ebuild
index 69ce960f21a3..95c1263aa07a 100644
--- a/net-analyzer/wapiti/wapiti-9999.ebuild
+++ b/net-analyzer/wapiti/wapiti-9999.ebuild
@@ -3,7 +3,6 @@
EAPI=7
-DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{7..9} )
PYTHON_REQ_USE='xml'
@@ -35,6 +34,7 @@ RESTRICT="test"
python_prepare_all() {
sed -e 's/"pytest-runner"//' \
-e "/find_packages/s/()/(exclude=['tests*'])/" \
+ -e "/DOC_DIR =/s/wapiti/${PF}/" \
-i setup.py || die
distutils-r1_python_prepare_all
}