Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pygtk: pygtk-2.24.0-r4.ebuild ChangeLog
Date: Sun, 29 Sep 2013 10:22:13
Message-Id: 20130929102140.E517A2004E@flycatcher.gentoo.org
1 pacho 13/09/29 10:21:40
2
3 Modified: ChangeLog
4 Added: pygtk-2.24.0-r4.ebuild
5 Log:
6 Upstream patch for fixing leaks, make tests exit with right result
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.291 dev-python/pygtk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.291&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?rev=1.291&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/ChangeLog?r1=1.290&r2=1.291
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v
20 retrieving revision 1.290
21 retrieving revision 1.291
22 diff -u -r1.290 -r1.291
23 --- ChangeLog 3 May 2013 14:26:01 -0000 1.290
24 +++ ChangeLog 29 Sep 2013 10:21:40 -0000 1.291
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-python/pygtk
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.290 2013/05/03 14:26:01 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/ChangeLog,v 1.291 2013/09/29 10:21:40 pacho Exp $
30 +
31 +*pygtk-2.24.0-r4 (29 Sep 2013)
32 +
33 + 29 Sep 2013; Pacho Ramos <pacho@g.o>
34 + +files/pygtk-2.24.0-fix-leaks.patch, +files/pygtk-2.24.0-test-fail.patch,
35 + +pygtk-2.24.0-r4.ebuild:
36 + Upstream patch for fixing leaks, make tests exit with right result
37
38 03 May 2013; Samuli Suominen <ssuominen@g.o> -pygtk-2.24.0-r2.ebuild:
39 old
40
41
42
43 1.1 dev-python/pygtk/pygtk-2.24.0-r4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pygtk-2.24.0-r4.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/pygtk/pygtk-2.24.0-r4.ebuild,v 1.1 2013/09/29 10:21:40 pacho Exp $
53
54 EAPI="5"
55 GCONF_DEBUG="no"
56 GNOME_TARBALL_SUFFIX="bz2"
57 PYTHON_COMPAT=( python2_{6,7} )
58
59 inherit autotools eutils flag-o-matic gnome2 python-r1 virtualx
60
61 DESCRIPTION="GTK+2 bindings for Python"
62 HOMEPAGE="http://www.pygtk.org/"
63
64 LICENSE="LGPL-2.1"
65 SLOT="2"
66 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"
67 IUSE="doc examples test"
68
69 RDEPEND="
70 >=dev-libs/glib-2.8:2
71 >=x11-libs/pango-1.16
72 >=dev-libs/atk-1.12
73 >=x11-libs/gtk+-2.24:2
74 >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
75 >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}]
76 dev-python/numpy[${PYTHON_USEDEP}]
77 >=gnome-base/libglade-2.5:2.0
78 "
79 DEPEND="${RDEPEND}
80 virtual/pkgconfig
81 doc? (
82 dev-libs/libxslt
83 >=app-text/docbook-xsl-stylesheets-1.70.1 )
84 "
85
86 src_prepare() {
87 # Fix declaration of codegen in .pc
88 epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch"
89 epatch "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch"
90
91 # Fix leaks of Pango objects
92 epatch "${FILESDIR}/${PN}-2.24.0-fix-leaks.patch"
93
94 # Fail when tests are failing, bug #391307
95 epatch "${FILESDIR}/${PN}-2.24.0-test-fail.patch"
96
97 # Examples is handled "manually"
98 sed -e 's/\(SUBDIRS = .* \)examples/\1/' \
99 -i Makefile.am Makefile.in || die
100
101 sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466968
102
103 AT_M4DIR="m4" eautoreconf
104
105 prepare_pygtk() {
106 mkdir -p "${BUILD_DIR}" || die
107 }
108 python_foreach_impl prepare_pygtk
109 }
110
111 src_configure() {
112 use hppa && append-flags -ffunction-sections
113 configure_pygtk() {
114 ECONF_SOURCE="${S}" gnome2_src_configure \
115 $(use_enable doc docs) \
116 --with-glade \
117 --enable-thread
118 }
119 python_foreach_impl run_in_build_dir configure_pygtk
120 }
121
122 src_compile() {
123 python_foreach_impl run_in_build_dir gnome2_src_compile
124 }
125
126 src_test() {
127 # Let tests pass without permissions problems, bug #245103
128 gnome2_environment_reset
129 unset DBUS_SESSION_BUS_ADDRESS
130
131 testing() {
132 cd tests
133 Xemake check-local
134 }
135 python_foreach_impl run_in_build_dir testing
136 }
137
138 src_install() {
139 dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
140
141 if use examples; then
142 rm examples/Makefile*
143 insinto /usr/share/doc/${PF}
144 doins -r examples
145 fi
146
147 python_foreach_impl run_in_build_dir gnome2_src_install
148 prune_libtool_files --modules
149 }