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: Sat, 12 Sep 2020 12:47:48
Message-Id: 1599914846.fb05734cf587eea33eda607f8a06a6154b083321.soap@gentoo
1 commit: fb05734cf587eea33eda607f8a06a6154b083321
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 12 12:47:26 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 12 12:47:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb05734c
7
8 app-office/gnumeric: Version bump to 1.12.48
9
10 Package-Manager: Portage-3.0.6, Repoman-3.0.1
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-office/gnumeric/Manifest | 1 +
14 app-office/gnumeric/gnumeric-1.12.48.ebuild | 93 +++++++++++++++++++++++++++++
15 2 files changed, 94 insertions(+)
16
17 diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
18 index ab084bf6150..68992c80af8 100644
19 --- a/app-office/gnumeric/Manifest
20 +++ b/app-office/gnumeric/Manifest
21 @@ -1 +1,2 @@
22 DIST gnumeric-1.12.47.tar.xz 18309764 BLAKE2B 8b800a6749d208a445abfc7189618abb20907118f274b313cf81436ab3665d50edeab4c49b03adea505448138bd32b8d3efcd041eba54342d9fb293c574cac08 SHA512 f6298fee752b062672acc20e18388d7424719d69ce9586888f33be07ca92bbd7d99e46b98e9ab2a546d1954d3113b59a5105d46c4e8a13e65e1ae9acc38391ab
23 +DIST gnumeric-1.12.48.tar.xz 18329300 BLAKE2B f38fdc14dbe2b45fa3c2ebbfb94d89c85f6c04bdc95b493a760a23ba347fa99d2515f0e7fc0a2f45e31c3f2a3b0c8b425b0fb876f59215e2da76348c5dbe116a SHA512 6c17e95ecd88b43da0f4f23d9c99dad5d0016f9618570a36be5998fa84c144bb5d13749fd9c4fe0c295e3c80d70c717d09763cc9904dfc1df062b96749b73ebc
24
25 diff --git a/app-office/gnumeric/gnumeric-1.12.48.ebuild b/app-office/gnumeric/gnumeric-1.12.48.ebuild
26 new file mode 100644
27 index 00000000000..0bee6e045c8
28 --- /dev/null
29 +++ b/app-office/gnumeric/gnumeric-1.12.48.ebuild
30 @@ -0,0 +1,93 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6..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 "${D}" -name '*.la' -delete || die
123 +}