Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygtk/
Date: Thu, 04 Jun 2020 12:58:42
Message-Id: 1591275490.5bd85f0a6e2180606bec420a7f2b0484118b0cbe.asturm@gentoo
1 commit: 5bd85f0a6e2180606bec420a7f2b0484118b0cbe
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 4 12:33:22 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 4 12:58:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd85f0a
7
8 dev-python/pygtk: Drop 2.24.0-r4
9
10 Closes: https://bugs.gentoo.org/716294
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 dev-python/pygtk/pygtk-2.24.0-r4.ebuild | 110 --------------------------------
15 1 file changed, 110 deletions(-)
16
17 diff --git a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild b/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
18 deleted file mode 100644
19 index 6ee58a37e61..00000000000
20 --- a/dev-python/pygtk/pygtk-2.24.0-r4.ebuild
21 +++ /dev/null
22 @@ -1,110 +0,0 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 -# Distributed under the terms of the GNU General Public License v2
25 -
26 -EAPI="5"
27 -GCONF_DEBUG="no"
28 -GNOME_TARBALL_SUFFIX="bz2"
29 -PYTHON_COMPAT=( python2_7 )
30 -
31 -inherit autotools eutils flag-o-matic gnome2 ltprune python-r1 virtualx
32 -
33 -DESCRIPTION="GTK+2 bindings for Python"
34 -HOMEPAGE="http://www.pygtk.org/"
35 -
36 -LICENSE="LGPL-2.1"
37 -SLOT="2"
38 -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"
39 -IUSE="doc examples test"
40 -RESTRICT="!test? ( test )"
41 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
42 -
43 -RDEPEND="${PYTHON_DEPS}
44 - >=dev-libs/glib-2.8:2
45 - >=x11-libs/pango-1.16
46 - >=dev-libs/atk-1.12
47 - >=x11-libs/gtk+-2.24:2
48 - >=dev-python/pycairo-1.0.2[${PYTHON_USEDEP}]
49 - >=dev-python/pygobject-2.26.8-r53:2[${PYTHON_USEDEP}]
50 - || (
51 - >=dev-python/numpy-python2-1.16.5[${PYTHON_USEDEP}]
52 - <dev-python/numpy-1.17.4[${PYTHON_USEDEP}]
53 - )
54 - >=gnome-base/libglade-2.5:2.0
55 -"
56 -DEPEND="${RDEPEND}
57 - virtual/pkgconfig
58 - doc? (
59 - dev-libs/libxslt
60 - >=app-text/docbook-xsl-stylesheets-1.70.1 )
61 -"
62 -
63 -src_prepare() {
64 - # Fix declaration of codegen in .pc
65 - epatch "${FILESDIR}/${PN}-2.13.0-fix-codegen-location.patch"
66 - epatch "${FILESDIR}/${PN}-2.14.1-libdir-pc.patch"
67 -
68 - # Fix leaks of Pango objects
69 - epatch "${FILESDIR}/${PN}-2.24.0-fix-leaks.patch"
70 -
71 - # Fail when tests are failing, bug #391307
72 - epatch "${FILESDIR}/${PN}-2.24.0-test-fail.patch"
73 -
74 - # Fix broken tests, https://bugzilla.gnome.org/show_bug.cgi?id=709304
75 - epatch "${FILESDIR}/${P}-test_dialog.patch"
76 -
77 - # Fix build on Darwin
78 - epatch "${FILESDIR}/${PN}-2.24.0-quartz-objc.patch"
79 -
80 - # Examples is handled "manually"
81 - sed -e 's/\(SUBDIRS = .* \)examples/\1/' \
82 - -i Makefile.am Makefile.in || die
83 -
84 - sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466968
85 -
86 - AT_M4DIR="m4" eautoreconf
87 -
88 - prepare_pygtk() {
89 - mkdir -p "${BUILD_DIR}" || die
90 - }
91 - python_foreach_impl prepare_pygtk
92 -}
93 -
94 -src_configure() {
95 - use hppa && append-flags -ffunction-sections
96 - configure_pygtk() {
97 - ECONF_SOURCE="${S}" gnome2_src_configure \
98 - $(use_enable doc docs) \
99 - --with-glade \
100 - --enable-thread
101 - }
102 - python_foreach_impl run_in_build_dir configure_pygtk
103 -}
104 -
105 -src_compile() {
106 - python_foreach_impl run_in_build_dir gnome2_src_compile
107 -}
108 -
109 -src_test() {
110 - # Let tests pass without permissions problems, bug #245103
111 - gnome2_environment_reset
112 - unset DBUS_SESSION_BUS_ADDRESS
113 -
114 - testing() {
115 - cd tests
116 - Xemake check-local
117 - }
118 - python_foreach_impl run_in_build_dir testing
119 -}
120 -
121 -src_install() {
122 - dodoc AUTHORS ChangeLog INSTALL MAPPING NEWS README THREADS TODO
123 -
124 - if use examples; then
125 - rm examples/Makefile*
126 - insinto /usr/share/doc/${PF}
127 - doins -r examples
128 - fi
129 -
130 - python_foreach_impl run_in_build_dir gnome2_src_install
131 - prune_libtool_files --modules
132 -}