summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2019-11-08 11:41:53 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2019-11-08 11:42:26 +0100
commitac12431b14cf9d13db74559d7a82136cf1e50464 (patch)
treeb16c1c487bd3f7fdf50f1bfd5dfad2e20fd3ea48 /app-office
parentsys-power/nvram-reboot: EAPI-7 revbump (diff)
downloadgentoo-ac12431b14cf9d13db74559d7a82136cf1e50464.tar.gz
gentoo-ac12431b14cf9d13db74559d7a82136cf1e50464.tar.bz2
gentoo-ac12431b14cf9d13db74559d7a82136cf1e50464.zip
app-office/scribus-9999: python-3, eapi7, qa fixes
Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-office')
-rw-r--r--app-office/scribus/scribus-9999.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/app-office/scribus/scribus-9999.ebuild b/app-office/scribus/scribus-9999.ebuild
index 06ff411dee8c..27fa3c1b8ce5 100644
--- a/app-office/scribus/scribus-9999.ebuild
+++ b/app-office/scribus/scribus-9999.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7} )
PYTHON_REQ_USE="tk?"
CMAKE_MAKEFILE_GENERATOR=ninja
@@ -181,22 +181,22 @@ src_install() {
for _lang in ${IUSE_L10N}; do
lang=$(map_lang ${_lang})
if ! use l10n_${lang}; then
- safe_delete "${ED%/}"/usr/share/man/${_lang}
+ safe_delete "${ED}"/usr/share/man/${_lang}
fi
done
if ! use scripts; then
- rm "${ED%/}"/usr/share/scribus/scripts/*.py || die
+ rm "${ED}"/usr/share/scribus/scripts/*.py || die
elif ! use tk; then
- rm "${ED%/}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die
+ rm "${ED}"/usr/share/scribus/scripts/{FontSample,CalendarWizard}.py || die
fi
use scripts && \
- python_fix_shebang "${ED%/}"/usr/share/scribus/scripts && \
- python_optimize "${ED%/}"/usr/share/scribus/scripts
+ python_fix_shebang "${ED}"/usr/share/scribus/scripts && \
+ python_optimize "${ED}"/usr/share/scribus/scripts
- mv "${ED%/}"/usr/share/doc/${PF}/{en,html} || die
- ln -sf html "${ED%/}"/usr/share/doc/${PF}/en || die
+ mv "${ED}"/usr/share/doc/${PF}/{en,html} || die
+ ln -sf html "${ED}"/usr/share/doc/${PF}/en || die
cat >> "${T}"/COPYING <<- EOF || die
${PN} is licensed under the "${LICENSE}".
Please visit https://www.gnu.org/licenses/gpl-2.0.html for the complete license text.