diff options
author | Mart Raudsepp <leio@gentoo.org> | 2020-08-02 21:39:14 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2020-08-02 21:39:55 +0300 |
commit | ffa4a7159ac935475108b6fc40332456790ecf7d (patch) | |
tree | dc648b8b02e38a533a740aab21915112ca08e6aa /x11-libs/goocanvas | |
parent | media-libs/lilv: Also remove includedir.patch from 0.24.6-r1 (diff) | |
download | gentoo-ffa4a7159ac935475108b6fc40332456790ecf7d.tar.gz gentoo-ffa4a7159ac935475108b6fc40332456790ecf7d.tar.bz2 gentoo-ffa4a7159ac935475108b6fc40332456790ecf7d.zip |
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@gentoo.org>
Diffstat (limited to 'x11-libs/goocanvas')
-rw-r--r-- | x11-libs/goocanvas/goocanvas-2.0.4-r1.ebuild (renamed from x11-libs/goocanvas/goocanvas-2.0.4.ebuild) | 20 |
1 files 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 index ebee51dd3a38..ecf7cebb1173 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 |