diff options
author | 2011-01-19 14:36:14 +0000 | |
---|---|---|
committer | 2011-01-19 14:36:14 +0000 | |
commit | 5bba0a7ba6bd279514976aca736f048fbe585cfe (patch) | |
tree | bedcf379f00233794cb041a77f8c611537391fc9 /dev-python/pygtk | |
parent | Masking md5sum use flag for mail-mta/ssmtp. Bug #244480 (diff) | |
download | gentoo-2-5bba0a7ba6bd279514976aca736f048fbe585cfe.tar.gz gentoo-2-5bba0a7ba6bd279514976aca736f048fbe585cfe.tar.bz2 gentoo-2-5bba0a7ba6bd279514976aca736f048fbe585cfe.zip |
Version bump with lots of bugfixes and gtk+-2.22 compatible, skip broken test (upstream bug #636589) and test wanting to write outside sandbox (bug #245103). Remove old.
(Portage version: 2.1.9.31/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pygtk')
-rw-r--r-- | dev-python/pygtk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/pygtk/files/pygtk-2.16.0-gdkcolor-fix.patch | 12 | ||||
-rw-r--r-- | dev-python/pygtk/pygtk-2.22.0.ebuild (renamed from dev-python/pygtk/pygtk-2.16.0-r1.ebuild) | 31 |
3 files changed, 27 insertions, 26 deletions
diff --git a/dev-python/pygtk/ChangeLog b/dev-python/pygtk/ChangeLog index 7dfcccdb3e55..e77a04d6f7cd 100644 --- a/dev-python/pygtk/ChangeLog +++ b/dev-python/pygtk/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-python/pygtk # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.243 2011/01/17 18:17:50 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.244 2011/01/19 14:36:14 pacho Exp $ + +*pygtk-2.22.0 (19 Jan 2011) + + 19 Jan 2011; Pacho Ramos <pacho@gentoo.org> -pygtk-2.16.0-r1.ebuild, + -files/pygtk-2.16.0-gdkcolor-fix.patch, +pygtk-2.22.0.ebuild: + Version bump with lots of bugfixes and gtk+-2.22 compatible, skip broken test + (upstream bug #636589) and test wanting to write outside sandbox (bug + #245103). Remove old. 17 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> pygtk-2.16.0-r1.ebuild, pygtk-2.17.0.ebuild: diff --git a/dev-python/pygtk/files/pygtk-2.16.0-gdkcolor-fix.patch b/dev-python/pygtk/files/pygtk-2.16.0-gdkcolor-fix.patch deleted file mode 100644 index 76646bf82a2f..000000000000 --- a/dev-python/pygtk/files/pygtk-2.16.0-gdkcolor-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -urNp pygtk-2.16.0-orig/gtk/gdkcolor.override pygtk-2.16.0/gtk/gdkcolor.override ---- pygtk-2.16.0-orig/gtk/gdkcolor.override 2009-09-07 11:24:02.000000000 +0530 -+++ pygtk-2.16.0/gtk/gdkcolor.override 2009-09-07 11:24:11.000000000 +0530 -@@ -139,7 +139,7 @@ _wrap_gdk_color_new(PyGBoxed *self, - } - - %% --define color_from_hsv -+define color_from_hsv kwargs - static PyObject * - _wrap_color_from_hsv (PyObject *ignored, PyObject *args, PyObject*kwargs) - { diff --git a/dev-python/pygtk/pygtk-2.16.0-r1.ebuild b/dev-python/pygtk/pygtk-2.22.0.ebuild index 631b2f5a0e56..7e2c9b03025a 100644 --- a/dev-python/pygtk/pygtk-2.16.0-r1.ebuild +++ b/dev-python/pygtk/pygtk-2.22.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.16.0-r1.ebuild,v 1.13 2011/01/17 18:17:50 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.22.0.ebuild,v 1.1 2011/01/19 14:36:14 pacho Exp $ -EAPI="2" +EAPI="3" PYTHON_DEPEND="2:2.6" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="2.4 2.5 3.* *-jython" @@ -15,16 +15,16 @@ HOMEPAGE="http://www.pygtk.org/" LICENSE="LGPL-2.1" SLOT="2" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="doc examples" -RDEPEND=">=dev-libs/glib-2.8.0 - >=x11-libs/pango-1.16.0 - >=dev-libs/atk-1.12.0 - >=x11-libs/gtk+-2.13.6 - >=gnome-base/libglade-2.5.0 +RDEPEND=">=dev-libs/glib-2.8 + >=x11-libs/pango-1.16 + >=dev-libs/atk-1.12 + >=x11-libs/gtk+-2.18:2 + >=gnome-base/libglade-2.5 >=dev-python/pycairo-1.0.2 - >=dev-python/pygobject-2.16.1 + >=dev-python/pygobject-2.21.3 dev-python/numpy" DEPEND="${RDEPEND} @@ -37,8 +37,13 @@ src_prepare() { # Fix declaration of codegen in .pc epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch" - # Fix a crash in gdk.color_from_hsv - epatch "${FILESDIR}/${P}-gdkcolor-fix.patch" + # Broken test, upstream bug #636589 + sed -i -e '/test_enum.py/d' tests/Makefile.am || die + rm -f tests/test_enum.py || die + + # Wants to write outside sandbox, bug #245103 + sed -i -e '/test_filechooserdialog.py/d' tests/Makefile.am || die + rm -f tests/test_filechooserdialog.py || die # Disable pyc compiling mv "${S}"/py-compile "${S}"/py-compile.orig @@ -67,12 +72,12 @@ src_test() { src_install() { python_src_install python_clean_installation_image - dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO + dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO || die if use examples; then rm examples/Makefile* insinto /usr/share/doc/${PF} - doins -r examples + doins -r examples || die fi } |