public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/
Date: Sat, 19 Sep 2020 20:04:23 +0000 (UTC)	[thread overview]
Message-ID: <1600545858.0270bffe2ae5306985b7156c374422754a18865d.pacho@gentoo> (raw)

commit:     0270bffe2ae5306985b7156c374422754a18865d
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 19 20:04:09 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Sep 19 20:04:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0270bffe

gnome-extra/libgda: Drop USE reports to kill python2

Closes: https://bugs.gentoo.org/735344
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gnome-extra/libgda/libgda-5.2.8-r1.ebuild | 29 ++++++-----------------------
 gnome-extra/libgda/metadata.xml           |  1 -
 2 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/gnome-extra/libgda/libgda-5.2.8-r1.ebuild b/gnome-extra/libgda/libgda-5.2.8-r1.ebuild
index c6837a81f02..082aba06ff1 100644
--- a/gnome-extra/libgda/libgda-5.2.8-r1.ebuild
+++ b/gnome-extra/libgda/libgda-5.2.8-r1.ebuild
@@ -4,18 +4,16 @@
 EAPI=6
 GNOME2_LA_PUNT="yes"
 GNOME2_EAUTORECONF="yes"
-PYTHON_COMPAT=( python2_7 )
 VALA_USE_DEPEND="vapigen"
 
-inherit db-use eutils flag-o-matic gnome2 java-pkg-opt-2 python-single-r1 vala
+inherit db-use eutils flag-o-matic gnome2 java-pkg-opt-2 vala
 
 DESCRIPTION="GNOME database access library"
 HOMEPAGE="https://www.gnome-db.org/"
 LICENSE="GPL-2+ LGPL-2+"
 
-IUSE="berkdb canvas debug firebird gnome-keyring gtk graphviz http +introspection json ldap mdb mysql oci8 postgres reports sourceview ssl vala"
+IUSE="berkdb canvas debug firebird gnome-keyring gtk graphviz http +introspection json ldap mdb mysql oci8 postgres sourceview ssl vala"
 REQUIRED_USE="
-	reports? ( ${PYTHON_REQUIRED_USE} )
 	canvas? ( gtk )
 	graphviz? ( gtk )
 	sourceview? ( gtk )
@@ -49,10 +47,6 @@ RDEPEND="
 	mdb? ( >app-office/mdbtools-0.5:= )
 	mysql? ( dev-db/mysql-connector-c:0= )
 	postgres? ( dev-db/postgresql:= )
-	reports? (
-		${PYTHON_DEPS}
-		dev-java/fop
-		dev-python/reportlab )
 	ssl? ( dev-libs/openssl:0= )
 	>=dev-db/sqlite-3.10.2:3=
 	vala? ( dev-libs/libgee:0.8 )
@@ -81,7 +75,6 @@ RESTRICT="
 
 pkg_setup() {
 	java-pkg-opt-2_pkg_setup
-	use reports && python-single-r1_pkg_setup
 }
 
 src_prepare() {
@@ -90,10 +83,10 @@ src_prepare() {
 
 	use berkdb && append-cppflags "-I$(db_includedir)"
 
-	use reports ||
-		sed -e '/SUBDIRS =/ s/trml2html//' \
-			-e '/SUBDIRS =/ s/trml2pdf//' \
-			-i libgda-report/RML/Makefile.{am,in} || die
+	# They need python2
+	sed -e '/SUBDIRS =/ s/trml2html//' \
+		-e '/SUBDIRS =/ s/trml2pdf//' \
+		-i libgda-report/RML/Makefile.{am,in} || die
 
 	# Prevent file collisions with libgda:4
 	eapply "${FILESDIR}/${PN}-4.99.1-gda-browser-doc-collision.patch"
@@ -157,13 +150,3 @@ pkg_preinst() {
 	gnome2_pkg_preinst
 	java-pkg-opt-2_pkg_preinst
 }
-
-src_install() {
-	gnome2_src_install
-	if use reports; then
-		for t in trml2{html,pdf}; do
-			python_scriptinto /usr/share/libgda-5.0/gda_${t}
-			python_doscript libgda-report/RML/${t}/${t}.py
-		done
-	fi
-}

diff --git a/gnome-extra/libgda/metadata.xml b/gnome-extra/libgda/metadata.xml
index c72a40986ea..8e5194e79e3 100644
--- a/gnome-extra/libgda/metadata.xml
+++ b/gnome-extra/libgda/metadata.xml
@@ -10,7 +10,6 @@
 		<flag name="http">Enable embedded <pkg>net-libs/libsoup</pkg> based server</flag>
 		<flag name="json">Enable support for JSON format</flag>
 		<flag name="mdb">Enable support for Microsoft Access database using <pkg>app-office/mdbtools</pkg></flag>
-		<flag name="reports">Install tools for generating graphical reports</flag>
 		<flag name="sourceview">Enable support for <pkg>x11-libs/gtksourceview</pkg></flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2020-09-19 20:04 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-19 20:04 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 19:26 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/ Andreas K. Hüttel
2024-10-29 22:13 Sam James
2024-10-29 15:39 Sam James
2023-05-29 21:25 Sam James
2023-05-18 12:17 Andreas Sturmlechner
2022-12-12 21:06 James Le Cuirot
2022-12-12 17:52 Arthur Zamarin
2022-12-12  1:59 Sam James
2022-11-19  1:44 Matt Turner
2022-11-19  1:44 Matt Turner
2022-10-30 22:29 Matt Turner
2022-04-16 12:25 Yixun Lan
2021-04-21 18:51 Sam James
2020-10-03 16:06 Pacho Ramos
2020-09-19 20:38 Pacho Ramos
2019-02-11 18:25 Brian Evans
2018-12-31 21:49 Mart Raudsepp
2018-12-30 11:28 Mart Raudsepp
2018-12-28 16:24 Mart Raudsepp
2018-12-28 11:06 Mart Raudsepp
2018-11-13 22:08 Mart Raudsepp
2018-11-13 20:29 Craig Andrews
2017-11-26 23:02 David Seifert
2017-02-15 20:38 Mart Raudsepp
2016-10-08  9:51 Pacho Ramos
2016-03-06 18:58 Mikle Kolyada
2016-02-08  9:54 Patrick Lauer
2016-02-01 21:05 Pacho Ramos
2016-01-03 16:03 Gilles Dartiguelongue
2015-12-26  5:39 Dennis Lamm
2015-09-07 21:11 Mikle Kolyada
2015-08-31  0:22 Alexandre Rostovtsev

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=1600545858.0270bffe2ae5306985b7156c374422754a18865d.pacho@gentoo \
    --to=pacho@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