summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-10-02 10:47:50 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2021-10-02 10:59:10 +0200
commit74aa2743ba44b7e29ae476eaef051a63890f6690 (patch)
tree943cfb813b9cc75f6a37af44c17e66ecc8adddd7 /net-analyzer
parentnet-analyzer/wapiti: drop old (diff)
downloadgentoo-74aa2743ba44b7e29ae476eaef051a63890f6690.tar.gz
gentoo-74aa2743ba44b7e29ae476eaef051a63890f6690.tar.bz2
gentoo-74aa2743ba44b7e29ae476eaef051a63890f6690.zip
net-analyzer/wapiti: fix doc install path
Also remove DISTUTILS_USE_SETUPTOOLS Closes: https://bugs.gentoo.org/800911 Closes: https://bugs.gentoo.org/808978 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'net-analyzer')
-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
}