commit:     9d909a316c62286222879497af56e16b4e138b6b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 21:30:43 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 21:56:12 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d909a31

app-office/libreoffice: Use eapi8-dosym

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/libreoffice/libreoffice-7.0.3.1.ebuild  |  8 ++++----
 app-office/libreoffice/libreoffice-7.0.9999.ebuild | 10 +++++-----
 app-office/libreoffice/libreoffice-9999.ebuild     | 10 +++++-----
 3 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/app-office/libreoffice/libreoffice-7.0.3.1.ebuild 
b/app-office/libreoffice/libreoffice-7.0.3.1.ebuild
index 753ef4fb54d..c2fe022a62a 100644
--- a/app-office/libreoffice/libreoffice-7.0.3.1.ebuild
+++ b/app-office/libreoffice/libreoffice-7.0.3.1.ebuild
@@ -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 flag-o-matic java-pkg-opt-2 
multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
+inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic 
java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs 
xdg-utils
 
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org";
@@ -637,12 +637,12 @@ EOF
 
        python_optimize "${D}"${lodir}/program
        # link python bridge in site-packages, bug 667802
-       local py pyc loprogdir=$(get_libdir)/libreoffice/program
+       local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
        for py in uno.py unohelper.py officehelper.py; do
-               dosym ../../../${loprogdir}/${py} $(python_get_sitedir)/${py}
+               dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
                while IFS="" read -d $'\0' -r pyc; do
                        pyc=${pyc//*\/}
-                       dosym ../../../../${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
+                       dosym8 -r ${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
                done < <(find "${D}"${lodir}/program -type f -name 
${py/.py/*.pyc} -print0)
        done
 

diff --git a/app-office/libreoffice/libreoffice-7.0.9999.ebuild 
b/app-office/libreoffice/libreoffice-7.0.9999.ebuild
index 754be8f900f..b9e826f9b40 100644
--- a/app-office/libreoffice/libreoffice-7.0.9999.ebuild
+++ b/app-office/libreoffice/libreoffice-7.0.9999.ebuild
@@ -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 flag-o-matic java-pkg-opt-2 
multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
+inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic 
java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs 
xdg-utils
 
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org";
@@ -102,7 +102,7 @@ LICENSE="|| ( LGPL-3 MPL-1.1 )"
 SLOT="0"
 
 [[ ${MY_PV} == *9999* ]] || \
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~amd64-linux"
 
 BDEPEND="
        dev-util/intltool
@@ -633,12 +633,12 @@ EOF
 
        python_optimize "${D}"${lodir}/program
        # link python bridge in site-packages, bug 667802
-       local py pyc loprogdir=$(get_libdir)/libreoffice/program
+       local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
        for py in uno.py unohelper.py officehelper.py; do
-               dosym ../../../${loprogdir}/${py} $(python_get_sitedir)/${py}
+               dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
                while IFS="" read -d $'\0' -r pyc; do
                        pyc=${pyc//*\/}
-                       dosym ../../../../${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
+                       dosym8 -r ${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
                done < <(find "${D}"${lodir}/program -type f -name 
${py/.py/*.pyc} -print0)
        done
 

diff --git a/app-office/libreoffice/libreoffice-9999.ebuild 
b/app-office/libreoffice/libreoffice-9999.ebuild
index 67f8c3b2d86..500abaa157c 100644
--- a/app-office/libreoffice/libreoffice-9999.ebuild
+++ b/app-office/libreoffice/libreoffice-9999.ebuild
@@ -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 flag-o-matic java-pkg-opt-2 
multiprocessing python-single-r1 qmake-utils toolchain-funcs xdg-utils
+inherit autotools bash-completion-r1 check-reqs eapi8-dosym flag-o-matic 
java-pkg-opt-2 multiprocessing python-single-r1 qmake-utils toolchain-funcs 
xdg-utils
 
 DESCRIPTION="A full office productivity suite"
 HOMEPAGE="https://www.libreoffice.org";
@@ -102,7 +102,7 @@ LICENSE="|| ( LGPL-3 MPL-1.1 )"
 SLOT="0"
 
 [[ ${MY_PV} == *9999* ]] || \
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~amd64-linux"
 
 BDEPEND="
        dev-util/intltool
@@ -633,12 +633,12 @@ EOF
 
        python_optimize "${D}"${lodir}/program
        # link python bridge in site-packages, bug 667802
-       local py pyc loprogdir=$(get_libdir)/libreoffice/program
+       local py pyc loprogdir=/usr/$(get_libdir)/libreoffice/program
        for py in uno.py unohelper.py officehelper.py; do
-               dosym ../../../${loprogdir}/${py} $(python_get_sitedir)/${py}
+               dosym8 -r ${loprogdir}/${py} $(python_get_sitedir)/${py}
                while IFS="" read -d $'\0' -r pyc; do
                        pyc=${pyc//*\/}
-                       dosym ../../../../${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
+                       dosym8 -r ${loprogdir}/__pycache__/${pyc} 
$(python_get_sitedir)/__pycache__/${pyc}
                done < <(find "${D}"${lodir}/program -type f -name 
${py/.py/*.pyc} -print0)
        done
 

Reply via email to