commit:     ffa4a7159ac935475108b6fc40332456790ecf7d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  2 18:39:14 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Aug  2 18:39:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa4a715

x11-libs/goocanvas: drop python2 overrides - no consumers

Closes: https://bugs.gentoo.org/735516
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 ...canvas-2.0.4.ebuild => goocanvas-2.0.4-r1.ebuild} | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/x11-libs/goocanvas/goocanvas-2.0.4.ebuild 
b/x11-libs/goocanvas/goocanvas-2.0.4-r1.ebuild
similarity index 67%
rename from x11-libs/goocanvas/goocanvas-2.0.4.ebuild
rename to x11-libs/goocanvas/goocanvas-2.0.4-r1.ebuild
index ebee51dd3a3..ecf7cebb117 100644
--- a/x11-libs/goocanvas/goocanvas-2.0.4.ebuild
+++ b/x11-libs/goocanvas/goocanvas-2.0.4-r1.ebuild
@@ -2,9 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=( python2_7 )
 
-inherit gnome2 python-r1
+inherit gnome2
 
 DESCRIPTION="Canvas widget for GTK+ using the cairo 2D library for drawing"
 HOMEPAGE="https://wiki.gnome.org/GooCanvas";
@@ -12,18 +11,13 @@ HOMEPAGE="https://wiki.gnome.org/GooCanvas";
 LICENSE="LGPL-2"
 SLOT="2.0"
 KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86"
-IUSE="examples +introspection python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="examples +introspection"
 
-# python only enables python specific binding override
 RDEPEND="
        >=x11-libs/gtk+-3.0.0:3
        >=dev-libs/glib-2.28.0:2
        >=x11-libs/cairo-1.10.0
        introspection? ( >=dev-libs/gobject-introspection-0.6.7:= )
-       python? (
-               ${PYTHON_DEPS}
-               >=dev-python/pygobject-2.90.4:3[${PYTHON_USEDEP}] )
 "
 DEPEND="${RDEPEND}
        dev-util/glib-utils
@@ -37,7 +31,7 @@ src_prepare() {
        sed -e 's/^\(SUBDIRS =.*\)demo\(.*\)$/\1\2/' \
                -i Makefile.am Makefile.in || die "sed failed"
 
-       # Python bindings are built/installed manually.
+       # Python bindings are built/installed manually, but not at all anymore 
(py2).
        sed -e "/SUBDIRS = python/d" -i bindings/Makefile.am 
bindings/Makefile.in
 
        gnome2_src_prepare
@@ -54,14 +48,6 @@ src_configure() {
 src_install() {
        gnome2_src_install
 
-       if use python; then
-               sub_install() {
-                       python_moduleinto $(python -c "import gi;print 
gi._overridesdir")
-                       python_domodule bindings/python/GooCanvas.py
-               }
-               python_foreach_impl sub_install
-       fi
-
        if use examples; then
                insinto "/usr/share/doc/${P}/examples/"
                doins demo/*.[ch] demo/*.png

Reply via email to