From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 20373138359 for ; Sat, 19 Sep 2020 20:04:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58015E0784; Sat, 19 Sep 2020 20:04:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CCF3E0784 for ; Sat, 19 Sep 2020 20:04:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1CEB434103B for ; Sat, 19 Sep 2020 20:04:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C729B33A for ; Sat, 19 Sep 2020 20:04:23 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1600545858.0270bffe2ae5306985b7156c374422754a18865d.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/libgda/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/libgda/libgda-5.2.8-r1.ebuild gnome-extra/libgda/metadata.xml X-VCS-Directories: gnome-extra/libgda/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 0270bffe2ae5306985b7156c374422754a18865d X-VCS-Branch: master Date: Sat, 19 Sep 2020 20:04:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cfc3298b-9d61-4501-88cb-e5b94cdc80e4 X-Archives-Hash: 3f363aeb6a10adeae1b185f3a99db442 commit: 0270bffe2ae5306985b7156c374422754a18865d Author: Pacho Ramos gentoo org> AuthorDate: Sat Sep 19 20:04:09 2020 +0000 Commit: Pacho Ramos gentoo 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 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 @@ Enable embedded net-libs/libsoup based server Enable support for JSON format Enable support for Microsoft Access database using app-office/mdbtools - Install tools for generating graphical reports Enable support for x11-libs/gtksourceview