public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/gnumeric/
Date: Sat, 17 Nov 2018 17:22:11 +0000 (UTC)	[thread overview]
Message-ID: <1542475313.dfc99c2058fa2a623d10d11928d6eb531dfa966f.eva@gentoo> (raw)

commit:     dfc99c2058fa2a623d10d11928d6eb531dfa966f
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 17 17:18:21 2018 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Nov 17 17:21:53 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc99c20

app-office/gnumeric: add missing DTD to DEPEND

Delete unneeded SRC_URI. Make sure gobject-introspection can be
installed for all supported python versions.

Closes: https://bugs.gentoo.org/649390
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>

 app-office/gnumeric/gnumeric-1.12.43.ebuild | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/app-office/gnumeric/gnumeric-1.12.43.ebuild b/app-office/gnumeric/gnumeric-1.12.43.ebuild
index 84dd56b8e17..4f7ba1dc802 100644
--- a/app-office/gnumeric/gnumeric-1.12.43.ebuild
+++ b/app-office/gnumeric/gnumeric-1.12.43.ebuild
@@ -3,20 +3,20 @@
 
 EAPI="6"
 GNOME2_LA_PUNT="yes"
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
 
-inherit gnome2 flag-o-matic python-single-r1
+inherit gnome2 flag-o-matic python-r1
 
 DESCRIPTION="The GNOME Spreadsheet"
 HOMEPAGE="http://www.gnumeric.org/"
 LICENSE="GPL-2"
-SRC_URI="http://ftp.gnome.org/pub/GNOME/sources/gnumeric/1.12/gnumeric-1.12.43.tar.xz"
 
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 
-IUSE="introspection libgda perl python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="+introspection libgda perl python"
+# python-loader plugin is python2.7 only
+REQUIRED_USE="python? ( $(python_gen_useflags -2) )"
 
 # Missing gnome-extra/libgnomedb required version in tree
 # but its upstream is dead and will be dropped soon.
@@ -44,17 +44,23 @@ RDEPEND="
 	libgda? ( gnome-extra/libgda:5[gtk] )
 "
 DEPEND="${RDEPEND}
+	app-text/docbook-xml-dtd:4.5
+	app-text/yelp-tools
 	dev-util/gtk-doc-am
 	>=dev-util/intltool-0.35.0
-	app-text/yelp-tools
 	virtual/pkgconfig
 "
 
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
+src_prepare() {
+	# Manage gi overrides ourselves
+	sed '/SUBDIRS/ s/introspection//' -i Makefile.{am,in} || die
+	gnome2_src_prepare
 }
 
 src_configure() {
+	if use python ; then
+		python_setup 'python2*'
+	fi
 	gnome2_src_configure \
 		--disable-static \
 		--with-zlib \
@@ -63,3 +69,9 @@ src_configure() {
 		$(use_with perl) \
 		$(use_with python)
 }
+
+src_install() {
+	gnome2_src_install
+	python_moduleinto gi.overrides
+	python_foreach_impl python_domodule introspection/gi/overrides/Gnm.py
+}


             reply	other threads:[~2018-11-17 17:22 UTC|newest]

Thread overview: 67+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-17 17:22 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-07  8:38 [gentoo-commits] repo/gentoo:master commit in: app-office/gnumeric/ Arthur Zamarin
2024-03-15  4:42 Sam James
2024-03-15  4:39 Sam James
2024-02-17 16:01 Mart Raudsepp
2024-02-17 16:01 Mart Raudsepp
2023-11-04 20:20 Mart Raudsepp
2023-03-30 15:53 Arthur Zamarin
2023-02-06  3:04 Matt Turner
2023-01-23  3:58 Matt Turner
2022-10-08 18:25 Sam James
2022-09-22  2:56 Matt Turner
2022-05-02 21:47 David Seifert
2022-04-16 12:25 Yixun Lan
2022-03-19 17:10 David Seifert
2022-03-19  7:53 Agostino Sarubbo
2022-03-15  1:48 Matt Turner
2022-03-15  1:48 Matt Turner
2022-01-22 12:34 David Seifert
2022-01-22 12:34 David Seifert
2022-01-22  9:51 Pacho Ramos
2021-06-23 21:33 David Seifert
2021-05-24 20:01 David Seifert
2021-05-24 13:19 Agostino Sarubbo
2021-05-23 22:28 Agostino Sarubbo
2021-04-29  1:05 Matt Turner
2021-04-22 12:15 David Seifert
2021-01-31 19:32 David Seifert
2021-01-31 18:48 Sam James
2021-01-26 15:19 Sam James
2020-09-12 12:47 David Seifert
2020-06-28 21:04 David Seifert
2020-06-28 20:44 Agostino Sarubbo
2020-06-28 20:27 Agostino Sarubbo
2020-06-07 14:20 David Seifert
2020-04-05 21:51 David Seifert
2020-04-05  6:38 Mikle Kolyada
2020-04-05  6:38 Mikle Kolyada
2020-02-27 23:49 David Seifert
2020-02-09 16:11 Michał Górny
2020-01-03 20:40 David Seifert
2019-09-06  7:29 Michał Górny
2019-02-04 19:58 Dennis Lamm
2018-11-17 17:22 Gilles Dartiguelongue
2018-05-06 21:41 Mart Raudsepp
2018-04-29  0:08 Mart Raudsepp
2018-04-26 17:15 Thomas Deutschmann
2018-02-07 23:20 Gilles Dartiguelongue
2017-12-20 20:23 Mart Raudsepp
2017-07-10  5:30 Mart Raudsepp
2017-07-10  5:30 Mart Raudsepp
2017-03-17 21:48 Andreas Hüttel
2016-09-05 22:37 Gilles Dartiguelongue
2016-07-02 10:43 Pacho Ramos
2016-07-02 10:43 Pacho Ramos
2016-05-28 15:49 Pacho Ramos
2016-05-28 15:49 Pacho Ramos
2016-02-20 13:55 Pacho Ramos
2016-02-20 13:55 Pacho Ramos
2016-01-10 18:30 Pacho Ramos
2015-12-26 14:20 Pacho Ramos
2015-12-26 14:20 Pacho Ramos
2015-10-17 11:24 Pacho Ramos
2015-10-17 11:24 Pacho Ramos
2015-09-07 16:24 Mikle Kolyada
2015-08-31 18:20 Gilles Dartiguelongue
2015-08-31 18:20 Gilles Dartiguelongue

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1542475313.dfc99c2058fa2a623d10d11928d6eb531dfa966f.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox