Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnumeric/
Date: Sat, 22 Jan 2022 09:52:03
Message-Id: 1642845107.d8e2aa453f5e4e711a3e33cbc46fea3be55521e0.pacho@gentoo
1 commit: d8e2aa453f5e4e711a3e33cbc46fea3be55521e0
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 22 09:51:26 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 22 09:51:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8e2aa45
7
8 app-office/gnumeric: Bump to 1.12.51
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 app-office/gnumeric/Manifest | 1 +
14 app-office/gnumeric/gnumeric-1.12.51.ebuild | 92 +++++++++++++++++++++++++++++
15 2 files changed, 93 insertions(+)
16
17 diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
18 index a64ffdbbe412..b7dd8e55487c 100644
19 --- a/app-office/gnumeric/Manifest
20 +++ b/app-office/gnumeric/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gnumeric-1.12.49.tar.xz 18057896 BLAKE2B 75ae1683feb7f37cdff4cb5fbec04b0f241e4590236ea68706180853c1a950092bf0d902652d65288b42dba13c384e1ac364cefb32b9d60c37a9948d9d7fc8eb SHA512 047d625aee3a15dd8881f2e11cc7c67d211d40be86ec018517d1b3140ff4bd031fb2cb86e48f1f6ee22432aa1f39c978bad5fd5bf5c6a1be9aa53411136429ed
23 DIST gnumeric-1.12.50.tar.xz 18062104 BLAKE2B 46d15e5fe540cce904de07b263707d7fd8c29d9a2611105cdb117a3acd6693651e588b4d281038b48fbc36bba100d162c2c2ab1be589ea206272155cbd9046df SHA512 d5896cb8390c99fb3871c722116cc085b93b788fab91bf44d24f20228b8290170a0adc906160a6aa46431ae43b04079621c370dcda42658fa9ae3c1d8baf1730
24 +DIST gnumeric-1.12.51.tar.xz 18117120 BLAKE2B 7d30dc01cda93a99ef8d47ccdf6bcfd1b6b6964a806599c7ade486f9bbfb61a876ef942174425cb2f59e018f5ec95a9df36a9deb0cd67d23e1801c2c289d83bd SHA512 c46164d9deb29831ab059613548743d84cb15461ac363305a28097832eb69d3fbf3cf8784c420c777bd09e32212b2ef6237bfa56ca28a7e08fd3befde9dfed36
25
26 diff --git a/app-office/gnumeric/gnumeric-1.12.51.ebuild b/app-office/gnumeric/gnumeric-1.12.51.ebuild
27 new file mode 100644
28 index 000000000000..dbab1a8b51de
29 --- /dev/null
30 +++ b/app-office/gnumeric/gnumeric-1.12.51.ebuild
31 @@ -0,0 +1,92 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit gnome.org libtool python-r1 xdg
39 +
40 +DESCRIPTION="The GNOME Spreadsheet"
41 +HOMEPAGE="http://www.gnumeric.org/"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +IUSE="+introspection libgda perl"
47 +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
48 +
49 +# Missing gnome-extra/libgnomedb required version in tree
50 +# but its upstream is dead and will be dropped soon.
51 +
52 +# lots of missing files, also fails tests due to 80-bit long story
53 +# upstream bug #721556
54 +RESTRICT="test"
55 +
56 +# Gnumeric has two python components
57 +# 1. The python loader for loading python-based plugins.
58 +# This component is pure python 2 and a port "is not currently being worked on".
59 +# 2. The python gobject-based introspection API. This component is compatible
60 +# with python 3.
61 +# Component 1. can only be re-enabled once someone has ported the upstream
62 +# codebase to python 3.
63 +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
64 +RDEPEND="
65 + app-arch/bzip2
66 + sys-libs/zlib
67 + >=dev-libs/glib-2.40.0:2
68 + >=gnome-extra/libgsf-1.14.33:=
69 + >=x11-libs/goffice-0.10.51:0.10
70 + >=dev-libs/libxml2-2.4.12:2
71 + >=x11-libs/pango-1.24.0:=
72 +
73 + >=x11-libs/gtk+-3.8.7:3
74 + x11-libs/cairo:=[svg]
75 +
76 + introspection? (
77 + ${PYTHON_DEPS}
78 + >=dev-libs/gobject-introspection-1:=
79 + )
80 + perl? ( dev-lang/perl:= )
81 + libgda? ( gnome-extra/libgda:5[gtk] )"
82 +DEPEND="${RDEPEND}"
83 +BDEPEND="
84 + app-text/docbook-xml-dtd:4.5
85 + app-text/yelp-tools
86 + dev-util/gtk-doc-am
87 + >=dev-util/intltool-0.35.0
88 + virtual/pkgconfig"
89 +
90 +src_prepare() {
91 + default
92 +
93 + # Manage gi overrides ourselves
94 + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
95 + elibtoolize
96 +}
97 +
98 +src_configure() {
99 + econf \
100 + --disable-gtk-doc \
101 + --disable-maintainer-mode \
102 + --disable-schemas-compile \
103 + --disable-static \
104 + --without-psiconv \
105 + --without-python \
106 + --with-zlib \
107 + $(use_with libgda gda) \
108 + $(use_enable introspection) \
109 + $(use_with perl)
110 +}
111 +
112 +src_install() {
113 + default
114 + dodoc HACKING MAINTAINERS
115 +
116 + if use introspection; then
117 + python_moduleinto gi.overrides
118 + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
119 + fi
120 +
121 + # no static archives
122 + find "${ED}" -name '*.la' -delete || die
123 +}