commit:     74aa2743ba44b7e29ae476eaef051a63890f6690
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  2 08:47:50 2021 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sat Oct  2 08:59:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74aa2743

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 <AT> gentoo.org>

 net-analyzer/wapiti/wapiti-3.0.5.ebuild | 2 +-
 net-analyzer/wapiti/wapiti-9999.ebuild  | 2 +-
 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 348231badfe..d4ca3fb0a6d 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 69ce960f21a..95c1263aa07 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
 }

Reply via email to