sys-cluster/genders: unset DOCS if USE="pyhton perl"

DOCS is already taken care of by calling 'default'
and having DOCS set when calling the distutils install
function will cause the install to fail as the DOCS
are not present in the python src directory

Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-03-05 11:53:04 +01:00
parent 6baab486bd
commit 98520361b1
2 changed files with 4 additions and 0 deletions

View File

@@ -99,12 +99,14 @@ src_install() {
if use perl ; then
cd "${S}/src/extensions/perl"
unset DOCS
myinst=( DESTDIR="${D}" )
perl-module_src_install
fi
if use python; then
cd "${S}/src/extensions/python"
unset DOCS
python_install() {
distutils-r1_python_install
}

View File

@@ -99,12 +99,14 @@ src_install() {
if use perl ; then
cd "${S}/src/extensions/perl"
unset DOCS
myinst=( DESTDIR="${D}" )
perl-module_src_install
fi
if use python; then
cd "${S}/src/extensions/python"
unset DOCS
python_install() {
distutils-r1_python_install
}