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, 27 Feb 2020 23:49:21
Message-Id: 1582847327.cac6572a08e66d588f8c27f7305e06fa621f4a29.soap@gentoo
1 commit: cac6572a08e66d588f8c27f7305e06fa621f4a29
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 27 23:48:47 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 27 23:48:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac6572a
7
8 app-office/gnumeric: Bump to 1.12.46
9
10 * Remove support for the python loader, as it's
11 unlikely that it will get ported to Python 3.
12
13 Bug: https://bugs.gentoo.org/709018
14 Closes: https://bugs.gentoo.org/702432
15 Closes: https://bugs.gentoo.org/710846
16 Package-Manager: Portage-2.3.89, Repoman-2.3.20
17 Signed-off-by: David Seifert <soap <AT> gentoo.org>
18
19 app-office/gnumeric/Manifest | 1 +
20 app-office/gnumeric/gnumeric-1.12.46.ebuild | 93 +++++++++++++++++++++++++++++
21 2 files changed, 94 insertions(+)
22
23 diff --git a/app-office/gnumeric/Manifest b/app-office/gnumeric/Manifest
24 index 8ef19357413..4c4a84ea5c2 100644
25 --- a/app-office/gnumeric/Manifest
26 +++ b/app-office/gnumeric/Manifest
27 @@ -1,3 +1,4 @@
28 DIST gnumeric-1.12.39.tar.xz 20040688 BLAKE2B 5d99da20b567a939208881b962de3c79ab115a24953dc04d6c882e9a54946e5c5fbd32808a8006e396d70bc9a2a9783b20106536da1c19f7ed7dccd3b12c2fff SHA512 8ae09ea857989e65a8fe2070b30c2309d82daa4142816ef3a1b107035aea0d71498d84eaeeaa870a1587e3785146fad3304321a531c75f6e2f200def53a8e898
29 DIST gnumeric-1.12.43.tar.xz 18033636 BLAKE2B 32cbbefc10c0537b02b56564ed37f03d69d0865e9bd16dc8cb77aacf682087fce60f01a2e70b5dbef4d73840b6ccbe198d3c5cc5f13b0f1b2a48d0af635e607f SHA512 d2702000e6c4f4c0c7ff442a2b81e10f4d55f0cffbf7b7f1e7c9fed98fb46172b0118ca05102aa53fb4f953799e2be3534f0518b025ece26647ce67b870a34a7
30 DIST gnumeric-1.12.44.tar.xz 18010384 BLAKE2B 0348714a7dae119b36a6739ea499bc0411416637fe9cbd703024f4cdcdb894e2d4b0da3212ea6e2ad1dd81f893c96341722c83ef014db7f0a6f2a048696f41c6 SHA512 ea21dcdf5fdf4e02bb9d83671675f2409f12ee928611604d7589e0047ce5d75bf6ac51e6a5322c4af520428acdccf4c2b3b8e3fc6530030e162268aea94a503f
31 +DIST gnumeric-1.12.46.tar.xz 18282960 BLAKE2B f10fd8620dd2b865a4205b93f68ba78a07b94e72a147692bf875747cb8f128c54fad38e33162770d71422aed659f77b156679ca2f65836530c02b56cc2351ac6 SHA512 b3b3befe79f3ec8db6d7d9c80a1eed5293f5c0a9ca1d8dd131320eb031952b296147c51df1c775c6f9a0c466912e5523360373ee0b6e453e928929394ab517ea
32
33 diff --git a/app-office/gnumeric/gnumeric-1.12.46.ebuild b/app-office/gnumeric/gnumeric-1.12.46.ebuild
34 new file mode 100644
35 index 00000000000..4e1abd399e7
36 --- /dev/null
37 +++ b/app-office/gnumeric/gnumeric-1.12.46.ebuild
38 @@ -0,0 +1,93 @@
39 +# Copyright 1999-2020 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +
44 +PYTHON_COMPAT=( python3_{6..8} )
45 +
46 +inherit gnome.org libtool python-r1 xdg
47 +
48 +DESCRIPTION="The GNOME Spreadsheet"
49 +HOMEPAGE="http://www.gnumeric.org/"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
54 +IUSE="+introspection libgda perl"
55 +REQUIRED_USE="introspection? ( ${PYTHON_REQUIRED_USE} )"
56 +
57 +# Missing gnome-extra/libgnomedb required version in tree
58 +# but its upstream is dead and will be dropped soon.
59 +
60 +# lots of missing files, also fails tests due to 80-bit long story
61 +# upstream bug #721556
62 +RESTRICT="test"
63 +
64 +# Gnumeric has two python components
65 +# 1. The python loader for loading python-based plugins.
66 +# This component is pure python 2 and a port "is not currently being worked on".
67 +# 2. The python gobject-based introspection API. This component is compatible
68 +# with python 3.
69 +# Component 1. can only be re-enabled once someone has ported the upstream
70 +# codebase to python 3.
71 +# https://gitlab.gnome.org/GNOME/gnumeric/issues/419#note_618852
72 +RDEPEND="
73 + app-arch/bzip2
74 + sys-libs/zlib
75 + >=dev-libs/glib-2.40.0:2
76 + >=gnome-extra/libgsf-1.14.33:=
77 + >=x11-libs/goffice-0.10.46:0.10
78 + >=dev-libs/libxml2-2.4.12:2
79 + >=x11-libs/pango-1.24.0:=
80 +
81 + >=x11-libs/gtk+-3.8.7:3
82 + x11-libs/cairo:=[svg]
83 +
84 + introspection? (
85 + ${PYTHON_DEPS}
86 + >=dev-libs/gobject-introspection-1:=
87 + )
88 + perl? ( dev-lang/perl:= )
89 + libgda? ( gnome-extra/libgda:5[gtk] )"
90 +DEPEND="${RDEPEND}"
91 +BDEPEND="
92 + app-text/docbook-xml-dtd:4.5
93 + app-text/yelp-tools
94 + dev-util/gtk-doc-am
95 + >=dev-util/intltool-0.35.0
96 + virtual/pkgconfig"
97 +
98 +src_prepare() {
99 + default
100 +
101 + # Manage gi overrides ourselves
102 + sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
103 + elibtoolize
104 +}
105 +
106 +src_configure() {
107 + econf \
108 + --disable-gtk-doc \
109 + --disable-maintainer-mode \
110 + --disable-schemas-compile \
111 + --disable-static \
112 + --without-psiconv \
113 + --without-python \
114 + --with-zlib \
115 + $(use_with libgda gda) \
116 + $(use_enable introspection) \
117 + $(use_with perl)
118 +}
119 +
120 +src_install() {
121 + default
122 + dodoc HACKING MAINTAINERS
123 +
124 + if use introspection; then
125 + python_moduleinto gi.overrides
126 + python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
127 + fi
128 +
129 + # no static archives
130 + find "${D}" -name '*.la' -delete || die
131 +}