[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/, profiles/, dev-python/pygtk/files/
commit: 2af490dc930448f41784ae44bd976f2edd068421 Author: Michał Górny gentoo org> AuthorDate: Mon Sep 21 14:29:00 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 21 14:29:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af490dc dev-python/pygtk: Remove last-rited pkg Closes: https://bugs.gentoo.org/706462 Signed-off-by: Michał Górny gentoo.org> dev-python/pygtk/Manifest | 1 - .../files/pygtk-2.13.0-fix-codegen-location.patch | 11 --- .../pygtk/files/pygtk-2.14.1-libdir-pc.patch | 12 --- .../pygtk/files/pygtk-2.24.0-fix-leaks.patch | 58 --- .../pygtk/files/pygtk-2.24.0-pango-1.44.patch | 41 .../pygtk/files/pygtk-2.24.0-quartz-objc.patch | 45 - .../pygtk/files/pygtk-2.24.0-test-fail.patch | 9 -- .../pygtk/files/pygtk-2.24.0-test_dialog.patch | 28 -- dev-python/pygtk/metadata.xml | 23 - dev-python/pygtk/pygtk-2.24.0-r5.ebuild| 109 - profiles/package.deprecated| 4 - profiles/package.mask | 6 -- 12 files changed, 347 deletions(-) diff --git a/dev-python/pygtk/Manifest b/dev-python/pygtk/Manifest deleted file mode 100644 index 88f41a5593e..000 --- a/dev-python/pygtk/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pygtk-2.24.0.tar.bz2 2361097 BLAKE2B 35b8ad94f242dcfb5d0593762eaa5480928e63bfbf8d030dd199200daa1dd6fd1769c878517cbb56e3beeaeecedb554b06b04cc35f9b2eefd2d8ec4381daf707 SHA512 64f4344fcf7636e0b2016ffd5310250b5c02a1bf87e44aef39b5d4cf4a5fc50d27cb4f030d4c6802cff61fffb88dee7752821e3d8a4cd1c34dc3745d9ff2f0da diff --git a/dev-python/pygtk/files/pygtk-2.13.0-fix-codegen-location.patch b/dev-python/pygtk/files/pygtk-2.13.0-fix-codegen-location.patch deleted file mode 100644 index 701d828f1f8..000 --- a/dev-python/pygtk/files/pygtk-2.13.0-fix-codegen-location.patch +++ /dev/null @@ -1,11 +0,0 @@ a/pygtk-2.0.pc.in 2007-11-01 12:20:22.0 -0400 -+++ b/pygtk-2.0.pc.in 2008-05-28 22:21:04.0 -0400 -@@ -12,7 +12,7 @@ pygtkincludedir=${includedir}/pygtk-2.0 - # This is strictly speaking not necessarily so (we refer to another - # package), but we want to preserve compatibility with times codegen - # was in PyGTK, not PyGObject. --codegendir=${datadir}/pygobject/2.0/codegen -+codegendir=${pyexecdir}/gtk-2.0/codegen - - Name: PyGTK - Description: Python bindings for GTK+ and related libraries diff --git a/dev-python/pygtk/files/pygtk-2.14.1-libdir-pc.patch b/dev-python/pygtk/files/pygtk-2.14.1-libdir-pc.patch deleted file mode 100644 index d943e952a42..000 --- a/dev-python/pygtk/files/pygtk-2.14.1-libdir-pc.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://bugzilla.gnome.org/show_bug.cgi?id=663421 - a/pygtk-2.0.pc.in -+++ b/pygtk-2.0.pc.in -@@ -12,6 +12,7 @@ - includedir=@includedir@ - datarootdir=@datarootdir@ - datadir=@datadir@ -+libdir=@libdir@ - pyexecdir=@pyexecdir@ - - # you can use the --variable=pygtkincludedir argument to diff --git a/dev-python/pygtk/files/pygtk-2.24.0-fix-leaks.patch b/dev-python/pygtk/files/pygtk-2.24.0-fix-leaks.patch deleted file mode 100644 index 9106d43c419..000 --- a/dev-python/pygtk/files/pygtk-2.24.0-fix-leaks.patch +++ /dev/null @@ -1,58 +0,0 @@ -From eca72baa5616fbe4dbebea43c7e5940847dc5ab8 Mon Sep 17 00:00:00 2001 -From: Owen W. Taylor -Date: Tue, 27 Sep 2011 04:17:52 + -Subject: Fix leaks of Pango objects - -Gtk.PrintContext.create_pango_context() -Gtk.PrintContext.create_pango_layout() -pangocairo.CairoContext.create_layout() - -were leaking the objects they returned. - -https://bugzilla.gnome.org/show_bug.cgi?id=660216 -diff --git a/gtk/gtk-2.10.defs b/gtk/gtk-2.10.defs -index 69c7e0c..faa45e1 100644 a/gtk/gtk-2.10.defs -+++ b/gtk/gtk-2.10.defs -@@ -1388,12 +1388,14 @@ - (define-method create_pango_context - (of-object "GtkPrintContext") - (c-name "gtk_print_context_create_pango_context") -+ (caller-owns-return #t) - (return-type "PangoContext*") - ) - - (define-method create_pango_layout - (of-object "GtkPrintContext") - (c-name "gtk_print_context_create_pango_layout") -+ (caller-owns-return #t) - (return-type "PangoLayout*") - ) - -diff --git a/pangocairo.override b/pangocairo.override -index bb923e6..5101107 100644 a/pangocairo.override -+++ b/pangocairo.override -@@ -118,11 +118,16 @@ _wrap_pango_cairo_update_context(PyGObject *self, PyObject *args, PyObject *kwar - static PyObject * - _wrap_pango_cairo_create_layout(PyGObject *self) - { --PangoLayout *ret; -+PangoLayout *layout; -+PyObject *ret; - --ret = pango_cairo_create_layout(PycairoContext_GET(self)); -+layout = pango_cairo_create_layout(PycairoContext_GET(self)); - /* pygobject_new handles NULL checking */ --return pygobject_new((GObject *)ret); -+ret = pygobject_new((GObject *)layout); -+if (layout)
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 5bd85f0a6e2180606bec420a7f2b0484118b0cbe Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jun 4 12:33:22 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jun 4 12:58:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd85f0a dev-python/pygtk: Drop 2.24.0-r4 Closes: https://bugs.gentoo.org/716294 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pygtk/pygtk-2.24.0-r4.ebuild | 110 1 file changed, 110 deletions(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild deleted file mode 100644 index 6ee58a37e61..000 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" -GCONF_DEBUG="no" -GNOME_TARBALL_SUFFIX="bz2" -PYTHON_COMPAT=( python2_7 ) - -inherit autotools eutils flag-o-matic gnome2 ltprune python-r1 virtualx - -DESCRIPTION="GTK+2 bindings for Python" -HOMEPAGE="http://www.pygtk.org/; - -LICENSE="LGPL-2.1" -SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="doc examples test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=dev-libs/glib-2.8:2 - >=x11-libs/pango-1.16 - >=dev-libs/atk-1.12 - >=x11-libs/gtk+-2.24:2 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}] - >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}] - || ( - >=dev-python/numpy-python2-1.16.5[${PYTHON_USEDEP}] - =gnome-base/libglade-2.5:2.0 -" -DEPEND="${RDEPEND} - virtual/pkgconfig - doc? ( - dev-libs/libxslt - >=app-text/docbook-xsl-stylesheets-1.70.1 ) -" - -src_prepare() { - # Fix declaration of codegen in .pc - epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" - epatch "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch" - - # Fix leaks of Pango objects - epatch "${FILESDIR}/${PN}-2.24.0-fix-leaks.patch" - - # Fail when tests are failing, bug #391307 - epatch "${FILESDIR}/${PN}-2.24.0-test-fail.patch" - - # Fix broken tests, https://bugzilla.gnome.org/show_bug.cgi?id=709304 - epatch "${FILESDIR}/${P}-test_dialog.patch" - - # Fix build on Darwin - epatch "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch" - - # Examples is handled "manually" - sed -e 's/\(SUBDIRS = .* \)examples/\1/' \ - -i Makefile.am Makefile.in || die - - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466968 - - AT_M4DIR="m4" eautoreconf - - prepare_pygtk() { - mkdir -p "${BUILD_DIR}" || die - } - python_foreach_impl prepare_pygtk -} - -src_configure() { - use hppa && append-flags -ffunction-sections - configure_pygtk() { - ECONF_SOURCE="${S}" gnome2_src_configure \ - $(use_enable doc docs) \ - --with-glade \ - --enable-thread - } - python_foreach_impl run_in_build_dir configure_pygtk -} - -src_compile() { - python_foreach_impl run_in_build_dir gnome2_src_compile -} - -src_test() { - # Let tests pass without permissions problems, bug #245103 - gnome2_environment_reset - unset DBUS_SESSION_BUS_ADDRESS - - testing() { - cd tests - Xemake check-local - } - python_foreach_impl run_in_build_dir testing -} - -src_install() { - dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO - - if use examples; then - rm examples/Makefile* - insinto /usr/share/doc/${PF} - doins -r examples - fi - - python_foreach_impl run_in_build_dir gnome2_src_install - prune_libtool_files --modules -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 5c66a839245aa015abd514b0edd2af8a0bd161a7 Author: Mart Raudsepp gentoo org> AuthorDate: Wed Apr 8 22:25:51 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Wed Apr 8 22:25:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c66a839 dev-python/pygtk: arm64 stable (bug #716294) Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index b7e95410e04..75f810067b2 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 27473badfdef0af49bc172864ebdcb239b1a4470 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 8 09:49:57 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 8 09:49:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27473bad dev-python/pygtk: ppc stable wrt bug #716294 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index 1291f92897e..b7e95410e04 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 1807e6524aa9c001ee1da23677411caf1afa08f5 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Apr 8 09:48:32 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Apr 8 09:48:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1807e652 dev-python/pygtk: arm stable wrt bug #716294 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index 6cc9dc35dd5..1291f92897e 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 65272d117beade33be590d360b04972bbd9b81a6 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Apr 7 10:31:56 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Apr 7 10:31:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65272d11 dev-python/pygtk: amd64 stable wrt bug #716294 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index 022511fbc9d..6cc9dc35dd5 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: b253316b3cd74fe976cb652538632c6111c73522 Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Apr 7 07:04:01 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Apr 7 08:41:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b253316b dev-python/pygtk: stable 2.24.0-r5 for sparc, bug #716294 Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index fc0d3cb177c..022511fbc9d 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -12,7 +12,7 @@ HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: a42cd1ed93e21210908c570140fecb9366c1f0e6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Mar 16 21:17:06 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Mar 16 21:28:33 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a42cd1ed dev-python/pygtk: Use dodoc for examples Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index 76787281829..20d3d861938 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -101,8 +101,7 @@ src_install() { if use examples; then rm examples/Makefile* || die - insinto /usr/share/doc/${PF} - doins -r examples + dodoc -r examples fi python_foreach_impl run_in_build_dir gnome2_src_install
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/files/, dev-python/pygtk/
commit: 3f982f7133dd68dfd617d2a6049d3276c0ae250f Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jan 25 20:03:11 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Mar 15 19:37:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f982f71 dev-python/pygtk: EAPI-6 bump, update HOMEPAGE - Use virtx - Add missing || die Reported-by: Arfrever Frehtes Taifersar Arahesis gmail.com> Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Mart Raudsepp gentoo.org> .../pygtk/files/pygtk-2.24.0-test-fail.patch | 4 +- dev-python/pygtk/pygtk-2.24.0-r5.ebuild| 111 + 2 files changed, 113 insertions(+), 2 deletions(-) diff --git a/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch b/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch index 5bb1aec13d8..a02b5506669 100644 --- a/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch +++ b/dev-python/pygtk/files/pygtk-2.24.0-test-fail.patch @@ -1,5 +1,5 @@ tests/runtests.py -+++ tests/runtests.py +--- a/tests/runtests.py b/tests/runtests.py @@ -41,4 +41,5 @@ suite.addTest(loader.loadTestsFromName(name)) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild new file mode 100644 index 000..094ca5ba9e0 --- /dev/null +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +GNOME_TARBALL_SUFFIX="bz2" +PYTHON_COMPAT=( python2_7 ) +inherit autotools flag-o-matic gnome2 python-r1 virtualx + +DESCRIPTION="GTK+2 bindings for Python" +HOMEPAGE="https://gitlab.gnome.org/Archive/pygtk; + +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc examples test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="!test? ( test )" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/glib-2.8:2 + >=x11-libs/pango-1.16 + >=dev-libs/atk-1.12 + >=x11-libs/gtk+-2.24:2 + >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}] + || ( + >=dev-python/numpy-python2-1.16.5[${PYTHON_USEDEP}] + =gnome-base/libglade-2.5:2.0 +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( + dev-libs/libxslt + >=app-text/docbook-xsl-stylesheets-1.70.1 ) +" + +PATCHES=( + # Fix declaration of codegen in .pc + "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" + "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch" + # Fix leaks of Pango objects + "${FILESDIR}/${PN}-2.24.0-fix-leaks.patch" + # Fail when tests are failing, bug #391307 + "${FILESDIR}/${PN}-2.24.0-test-fail.patch" + # Fix broken tests, https://bugzilla.gnome.org/show_bug.cgi?id=709304 + "${FILESDIR}/${P}-test_dialog.patch" + # Fix build on Darwin + "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch" +) + +src_prepare() { + default + + # Examples is handled "manually" + sed -e 's/\(SUBDIRS = .* \)examples/\1/' \ + -i Makefile.am Makefile.in || die + + sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \ + -i configure.ac || die #466968 + + AT_M4DIR="m4" eautoreconf + + prepare_pygtk() { + mkdir -p "${BUILD_DIR}" || die + } + python_foreach_impl prepare_pygtk +} + +src_configure() { + use hppa && append-flags -ffunction-sections + configure_pygtk() { + ECONF_SOURCE="${S}" gnome2_src_configure \ + $(use_enable doc docs) \ + --with-glade \ + --enable-thread + } + python_foreach_impl run_in_build_dir configure_pygtk +} + +src_compile() { + python_foreach_impl run_in_build_dir gnome2_src_compile +} + +src_test() { + # Let tests pass without permissions problems, bug #245103 + gnome2_environment_reset + unset DBUS_SESSION_BUS_ADDRESS + + testing() { + cd tests + virtx emake check-local + } + python_foreach_impl run_in_build_dir testing +} + +src_install() { + dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO + + if use examples; then + rm examples/Makefile* || die + insinto /usr/share/doc/${PF} + doins -r examples + fi + + python_foreach_impl run_in_build_dir gnome2_src_install + find "${D}" -name '*.la' -type f -delete || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 3128d102dcf3cc155abe44311f54dc228691335d Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Jan 28 19:47:01 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Mar 15 19:37:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3128d102 dev-python/pygtk: Unconditionally --disable-numpy Reported-by: Perfect Gentleman gmail.com> Bug: https://bugs.gentoo.org/662518 Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/14540 Signed-off-by: Mart Raudsepp gentoo.org> dev-python/pygtk/pygtk-2.24.0-r5.ebuild | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index f86cab545d5..76787281829 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -25,10 +25,6 @@ RDEPEND="${PYTHON_DEPS} >=x11-libs/gtk+-2.24:2 >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}] >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}] - || ( - >=dev-python/numpy-python2-1.16.5[${PYTHON_USEDEP}] - =gnome-base/libglade-2.5:2.0 " DEPEND="${RDEPEND} @@ -77,6 +73,7 @@ src_configure() { configure_pygtk() { ECONF_SOURCE="${S}" gnome2_src_configure \ $(use_enable doc docs) \ + --disable-numpy \ --with-glade \ --enable-thread }
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/, dev-python/pygtk/files/
commit: fd1aeae3de1c7929f1be93a87d8fdcf58a705ce4 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jan 25 20:07:05 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Mar 15 19:37:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1aeae3 dev-python/pygtk: Fix build against x11-libs/pango-1.44 Source: https://github.com/flathub/org.glimpse_editor.Glimpse/blob/master/patches/pygtk-Drop-the-PangoFont-find_shaper-virtual-method.patch Thanks-to: Arfrever Frehtes Taifersar Arahesis gmail.com> Closes: https://bugs.gentoo.org/703052 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> Signed-off-by: Mart Raudsepp gentoo.org> .../pygtk/files/pygtk-2.24.0-pango-1.44.patch | 41 ++ dev-python/pygtk/pygtk-2.24.0-r5.ebuild| 2 ++ 2 files changed, 43 insertions(+) diff --git a/dev-python/pygtk/files/pygtk-2.24.0-pango-1.44.patch b/dev-python/pygtk/files/pygtk-2.24.0-pango-1.44.patch new file mode 100644 index 000..b4ed200d004 --- /dev/null +++ b/dev-python/pygtk/files/pygtk-2.24.0-pango-1.44.patch @@ -0,0 +1,41 @@ +From 4aaa48eb80c6802aec6d03e5695d2a0ff20e0fc2 Mon Sep 17 00:00:00 2001 +From: Jordan Petridis +Date: Thu, 24 Oct 2019 22:58:36 +0200 +Subject: [PATCH] Drop the PangoFont find_shaper virtual method + +This API has been removed from Pango 1.44.6, because it was completely +unused by anything. + +However, PyGTK tries to bind everything, even unused API. + +Removing this from PyGTK means we can build it against the latest Pango +again. + +https://gitlab.gnome.org/GNOME/pango/issues/417 +--- + pango.defs | 9 - + 1 file changed, 9 deletions(-) + +diff --git a/pango.defs b/pango.defs +index 6935c964..da968f58 100644 +--- a/pango.defs b/pango.defs +@@ -1391,15 +1391,6 @@ + ) + ) + +-(define-virtual find_shaper +- (of-object "PangoFont") +- (return-type "PangoEngineShape*") +- (parameters +-'("PangoLanguage*" "lang") +-'("guint32" "ch") +- ) +-) +- + (define-virtual get_glyph_extents + (of-object "PangoFont") + (return-type "none") +-- +2.24.1 + diff --git a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild index 094ca5ba9e0..f86cab545d5 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r5.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r5.ebuild @@ -50,6 +50,8 @@ PATCHES=( "${FILESDIR}/${P}-test_dialog.patch" # Fix build on Darwin "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch" + # x11-libs/pango-1.44 + "${FILESDIR}/${PN}-2.24.0-pango-1.44.patch" ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: 710ec54ab97d453f9077498f85a1741dfb2363f4 Author: Mart Raudsepp gentoo org> AuthorDate: Sun Feb 9 14:30:42 2020 + Commit: Mart Raudsepp gentoo org> CommitDate: Sun Feb 9 14:41:39 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=710ec54a dev-python/pygtk: drop to ~hppa Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp gentoo.org> dev-python/pygtk/pygtk-2.24.0-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild index 88e91b3bc84..00e8020bdcd 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild @@ -13,7 +13,7 @@ HOMEPAGE="http://www.pygtk.org/; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: d78d21bdd44f2e9ca722c9d6b8e2fb7e41d41dc5 Author: Aaron Bauman gentoo org> AuthorDate: Thu Jul 25 00:38:29 2019 + Commit: Aaron Bauman gentoo org> CommitDate: Thu Jul 25 00:38:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78d21bd dev-python/pygtk: arm64 stable Signed-off-by: Aaron Bauman gentoo.org> Package-Manager: Portage-2.3.69, Repoman-2.3.16 RepoMan-Options: --include-arches="arm64" dev-python/pygtk/pygtk-2.24.0-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild index 7766afe1888..b3ec9d05832 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="5" @@ -13,7 +13,7 @@ HOMEPAGE="http://www.pygtk.org/; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" REQUIRED_USE="${PYTHON_REQUIRED_USE}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/files/, dev-python/pygtk/
commit: 45de86a213440aaf9e5cdee8c88e35d67d7778c1 Author: Guilherme Amadio gentoo org> AuthorDate: Tue Mar 14 13:07:01 2017 + Commit: Guilherme Amadio gentoo org> CommitDate: Thu Mar 16 01:32:02 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45de86a2 dev-python/pygtk: Fix build on macOS, bugs 370079 and 400843 Gentoo-Bug: https://bugs.gentoo.org/370079 Gentoo-Bug: https://bugs.gentoo.org/400843 Package-Manager: Portage-2.3.4, Repoman-2.3.2 .../pygtk/files/pygtk-2.24.0-quartz-objc.patch | 45 ++ dev-python/pygtk/pygtk-2.24.0-r4.ebuild| 3 ++ 2 files changed, 48 insertions(+) diff --git a/dev-python/pygtk/files/pygtk-2.24.0-quartz-objc.patch b/dev-python/pygtk/files/pygtk-2.24.0-quartz-objc.patch new file mode 100644 index 000..828057e62b7 --- /dev/null +++ b/dev-python/pygtk/files/pygtk-2.24.0-quartz-objc.patch @@ -0,0 +1,45 @@ +From: Anders F Bjorklund+Date: Mon, 4 Apr 2011 21:34:20 +0200 +Subject: [PATCH] use objective-c for quartz + +https://bugzilla.gnome.org/show_bug.cgi?id=646743 +--- + configure.ac| 5 + + gtk/Makefile.am | 5 + + 2 files changed, 10 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 84c78f6c..27192f9c 100644 +--- a/configure.ac b/configure.ac +@@ -445,6 +445,11 @@ case $gdk_target in + ;; + esac + ++if test "x$gdk_target" = "xquartz"; then ++ AM_CONDITIONAL(USE_QUARTZ, true) ++else ++ AM_CONDITIONAL(USE_QUARTZ, false) ++fi + + dnl checks to see if numpy is installed. + AC_ARG_ENABLE(numpy, +diff --git a/gtk/Makefile.am b/gtk/Makefile.am +index 7bb5d0c8..44d68700 100644 +--- a/gtk/Makefile.am b/gtk/Makefile.am +@@ -9,6 +9,11 @@ INCLUDES = \ + $(PYGOBJECT_CFLAGS) \ + -I$(srcdir)/gtk + ++if USE_QUARTZ ++# same as in gtk+/gdk/quartz/Makefile.am ++INCLUDES += "-xobjective-c" ++endif ++ + # defs files + defsdir = $(pkgdatadir)/$(PLATFORM_VERSION)/defs + defs_DATA = +-- +2.12.0 + diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild index ee46d4be309..13904131a06 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild @@ -47,6 +47,9 @@ src_prepare() { # Fix broken tests, https://bugzilla.gnome.org/show_bug.cgi?id=709304 epatch "${FILESDIR}/${P}-test_dialog.patch" + # Fix build on Darwin + epatch "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch" + # Examples is handled "manually" sed -e 's/\(SUBDIRS = .* \)examples/\1/' \ -i Makefile.am Makefile.in || die
[gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
commit: d96cbd7c911cd157f6db6470940466c57f6940b8 Author: Steev Klimaszewski gentoo org> AuthorDate: Sun Mar 20 22:22:57 2016 + Commit: Stephen Klimaszewski gentoo org> CommitDate: Sun Mar 20 23:07:51 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96cbd7c dev-python/pygtk: Add ~arm64 keyword Package-Manager: portage-2.2.28 dev-python/pygtk/pygtk-2.24.0-r4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild index be7a881..a9cb04b 100644 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild +++ b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,7 @@ HOMEPAGE="http://www.pygtk.org/; LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples test" RDEPEND="