app-office/libreoffice: EAPI-7 bump
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 3 Mar 2019 17:32:21 +0000 (18:32 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 11 Mar 2019 00:17:03 +0000 (01:17 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/libreoffice/libreoffice-6.2.9999.ebuild
app-office/libreoffice/libreoffice-9999.ebuild

index 4b4ea02af44371f51ae253cc1336e9c0fd216a92..a8c322b14418b2c334993a7964b8e5c57c392dc7 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 PYTHON_REQ_USE="threads(+),xml"
@@ -21,7 +21,7 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
 PATCHSET="${PN}-6.2.1.1-patchset-01.tar.xz"
 
 [[ ${MY_PV} == *9999* ]] && inherit git-r3
-inherit autotools bash-completion-r1 check-reqs eapi7-ver flag-o-matic java-pkg-opt-2 multiprocessing pax-utils python-single-r1 qmake-utils toolchain-funcs xdg
+inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing pax-utils python-single-r1 qmake-utils toolchain-funcs xdg
 
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org"
@@ -554,7 +554,7 @@ src_install() {
                insinto /usr/$(get_libdir)/${PN}/program
                newins "${WORKDIR}/branding-sofficerc" sofficerc
                dodir /etc/env.d
-               echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED%/}"/etc/env.d/99${PN} || die
+               echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
        fi
 
        # Hack for offlinehelp, this needs fixing upstream at some point.
@@ -563,8 +563,8 @@ src_install() {
        insinto /usr/$(get_libdir)/libreoffice/help
        doins xmlhelp/util/*.xsl
 
-       pax-mark -m "${ED%/}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
-       pax-mark -m "${ED%/}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
+       pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
+       pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
 }
 
 pkg_preinst() {
index 66452c403fbd952a4ad4984b36ca8788dfdb2680..375aca4c6b24f5790ccb65fdc7c839c9c7511e5a 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
 PYTHON_REQ_USE="threads(+),xml"
@@ -21,7 +21,7 @@ BRANDING="${PN}-branding-gentoo-0.8.tar.xz"
 # PATCHSET="${P}-patchset-01.tar.xz"
 
 [[ ${MY_PV} == *9999* ]] && inherit git-r3
-inherit autotools bash-completion-r1 check-reqs eapi7-ver flag-o-matic java-pkg-opt-2 multiprocessing pax-utils python-single-r1 qmake-utils toolchain-funcs xdg
+inherit autotools bash-completion-r1 check-reqs flag-o-matic java-pkg-opt-2 multiprocessing pax-utils python-single-r1 qmake-utils toolchain-funcs xdg
 
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org"
@@ -552,7 +552,7 @@ src_install() {
                insinto /usr/$(get_libdir)/${PN}/program
                newins "${WORKDIR}/branding-sofficerc" sofficerc
                dodir /etc/env.d
-               echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED%/}"/etc/env.d/99${PN} || die
+               echo "CONFIG_PROTECT=/usr/$(get_libdir)/${PN}/program/sofficerc" > "${ED}"/etc/env.d/99${PN} || die
        fi
 
        # Hack for offlinehelp, this needs fixing upstream at some point.
@@ -561,8 +561,8 @@ src_install() {
        insinto /usr/$(get_libdir)/libreoffice/help
        doins xmlhelp/util/*.xsl
 
-       pax-mark -m "${ED%/}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
-       pax-mark -m "${ED%/}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
+       pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/soffice.bin
+       pax-mark -m "${ED}"/usr/$(get_libdir)/libreoffice/program/unopkg.bin
 }
 
 pkg_preinst() {