Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/openoffice-bin/
Date: Thu, 29 Aug 2019 11:39:27
Message-Id: 1567078684.f73b72a8687357416550e8fb8566abd0ebc40204.soap@gentoo
1 commit: f73b72a8687357416550e8fb8566abd0ebc40204
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 29 11:38:04 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 29 11:38:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f73b72a8
7
8 app-office/openoffice-bin: [QA] Fix python metadata
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-office/openoffice-bin/openoffice-bin-4.1.6.ebuild | 15 ++++-----------
14 1 file changed, 4 insertions(+), 11 deletions(-)
15
16 diff --git a/app-office/openoffice-bin/openoffice-bin-4.1.6.ebuild b/app-office/openoffice-bin/openoffice-bin-4.1.6.ebuild
17 index d3a0c2c488b..f6be22d75d2 100644
18 --- a/app-office/openoffice-bin/openoffice-bin-4.1.6.ebuild
19 +++ b/app-office/openoffice-bin/openoffice-bin-4.1.6.ebuild
20 @@ -3,7 +3,9 @@
21
22 EAPI="6"
23
24 -inherit eutils xdg-utils gnome2-utils pax-utils prefix rpm multilib
25 +PYTHON_COMPAT=( python2_7 )
26 +
27 +inherit eutils xdg-utils gnome2-utils pax-utils prefix python-single-r1 rpm multilib
28
29 IUSE="gnome java"
30
31 @@ -49,7 +51,7 @@ RDEPEND="
32 app-arch/unzip
33 app-arch/zip
34 >=dev-lang/perl-5.0
35 - dev-lang/python:2.7
36 + ${PYTHON_DEPS}
37 >=media-libs/freetype-2.1.10-r2
38 sys-libs/ncurses:5/5
39 x11-libs/libXaw
40 @@ -70,7 +72,6 @@ pkg_setup() {
41 }
42
43 src_unpack() {
44 -
45 unpack ${A}
46
47 cp "${FILESDIR}"/{50-${PN},wrapper.in} "${T}"
48 @@ -115,11 +116,9 @@ src_unpack() {
49
50 fi
51 done
52 -
53 }
54
55 src_install () {
56 -
57 INSTDIR="/usr/$(get_libdir)/${NM}"
58 dodir ${INSTDIR}
59 # mv "${WORKDIR}"/opt/${NM}/* "${ED}${INSTDIR}" || die
60 @@ -166,24 +165,18 @@ src_install () {
61 }
62
63 pkg_preinst() {
64 -
65 use gnome && gnome2_icon_savelist
66 -
67 }
68
69 pkg_postinst() {
70 -
71 xdg_desktop_database_update
72 xdg_mimeinfo_database_update
73 use gnome && gnome2_icon_cache_update
74
75 pax-mark -m "${EPREFIX}"/usr/$(get_libdir)/${NM}/program/soffice.bin
76 -
77 }
78
79 pkg_postrm() {
80 -
81 xdg_desktop_database_update
82 use gnome && gnome2_icon_cache_update
83 -
84 }