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/gnumeric/
Date: Thu, 22 Apr 2021 12:15:03
Message-Id: 1619093676.4f1d252860681c8064f7ddb674ce249601f92dc1.soap@gentoo
1 commit: 4f1d252860681c8064f7ddb674ce249601f92dc1
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 12:14:36 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 12:14:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f1d2528
7
8 app-office/gnumeric: Bump to 1.12.49
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-office/gnumeric/Manifest | 1 +
14 app-office/gnumeric/gnumeric-1.12.49.ebuild | 93 +++++++++++++++++++++++++++++
15 2 files changed, 94 insertions(+)
16
17 diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
18 index 3fbd20f9433..183560bbb0c 100644
19 --- a/app-office/gnumeric/Manifest
20 +++ b/app-office/gnumeric/Manifest
21 @@ -1 +1,2 @@
22 DIST gnumeric-1.12.48.tar.xz 18329300 BLAKE2B f38fdc14dbe2b45fa3c2ebbfb94d89c85f6c04bdc95b493a760a23ba347fa99d2515f0e7fc0a2f45e31c3f2a3b0c8b425b0fb876f59215e2da76348c5dbe116a SHA512 6c17e95ecd88b43da0f4f23d9c99dad5d0016f9618570a36be5998fa84c144bb5d13749fd9c4fe0c295e3c80d70c717d09763cc9904dfc1df062b96749b73ebc
23 +DIST gnumeric-1.12.49.tar.xz 18057896 BLAKE2B 75ae1683feb7f37cdff4cb5fbec04b0f241e4590236ea68706180853c1a950092bf0d902652d65288b42dba13c384e1ac364cefb32b9d60c37a9948d9d7fc8eb SHA512 047d625aee3a15dd8881f2e11cc7c67d211d40be86ec018517d1b3140ff4bd031fb2cb86e48f1f6ee22432aa1f39c978bad5fd5bf5c6a1be9aa53411136429ed
24
25 diff --git a/app-office/gnumeric/gnumeric-1.12.49.ebuild b/app-office/gnumeric/gnumeric-1.12.49.ebuild
26 new file mode 100644
27 index 00000000000..5b89ace4cad
28 --- /dev/null
29 +++ b/app-office/gnumeric/gnumeric-1.12.49.ebuild
30 @@ -0,0 +1,93 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
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.48: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 +}