Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygobject/
Date: Sat, 30 Mar 2019 21:57:03
Message-Id: 1553982951.e5a558227d3d467e34d5e32b0a384410d1e63d99.leio@gentoo
1 commit: e5a558227d3d467e34d5e32b0a384410d1e63d99
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 30 21:19:29 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 30 21:55:51 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a55822
7
8 dev-python/pygobject: remove old
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-python/pygobject/pygobject-3.28.3-r1.ebuild | 99 -------------------------
14 1 file changed, 99 deletions(-)
15
16 diff --git a/dev-python/pygobject/pygobject-3.28.3-r1.ebuild b/dev-python/pygobject/pygobject-3.28.3-r1.ebuild
17 deleted file mode 100644
18 index 821b3393db0..00000000000
19 --- a/dev-python/pygobject/pygobject-3.28.3-r1.ebuild
20 +++ /dev/null
21 @@ -1,99 +0,0 @@
22 -# Copyright 1999-2018 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=6
26 -GNOME2_LA_PUNT="yes"
27 -PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
28 -
29 -inherit eutils gnome2 python-r1 virtualx
30 -
31 -DESCRIPTION="GLib's GObject library bindings for Python"
32 -HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
33 -
34 -LICENSE="LGPL-2.1+"
35 -SLOT="3"
36 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
37 -IUSE="+cairo examples test"
38 -
39 -REQUIRED_USE="
40 - ${PYTHON_REQUIRED_USE}
41 - test? ( cairo )
42 -"
43 -
44 -COMMON_DEPEND="${PYTHON_DEPS}
45 - >=dev-libs/glib-2.38:2
46 - >=dev-libs/gobject-introspection-1.46.0:=
47 - virtual/libffi:=
48 - cairo? (
49 - >=dev-python/pycairo-1.11.1[${PYTHON_USEDEP}]
50 - x11-libs/cairo )
51 -"
52 -DEPEND="${COMMON_DEPEND}
53 - virtual/pkgconfig
54 - cairo? ( x11-libs/cairo[glib] )
55 - test? (
56 - dev-libs/atk[introspection]
57 - dev-python/pytest[${PYTHON_USEDEP}]
58 - media-fonts/font-cursor-misc
59 - media-fonts/font-misc-misc
60 - x11-libs/cairo[glib]
61 - x11-libs/gdk-pixbuf:2[introspection,jpeg]
62 - x11-libs/gtk+:3[introspection]
63 - x11-libs/pango[introspection]
64 - python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
65 -"
66 -# autoconf-archive required by eautoreconf
67 -
68 -# We now disable introspection support in slot 2 per upstream recommendation
69 -# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
70 -# older versions of slot 2 installed their own site-packages/gi, and
71 -# slot 3 will collide with them.
72 -RDEPEND="${COMMON_DEPEND}
73 - !<dev-python/pygtk-2.13
74 - !<dev-python/pygobject-2.28.6-r50:2[introspection]
75 -"
76 -
77 -src_prepare() {
78 - gnome2_src_prepare
79 - python_copy_sources
80 -}
81 -
82 -src_configure() {
83 - # Hard-enable libffi support since both gobject-introspection and
84 - # glib-2.29.x rdepend on it anyway
85 - # docs disabled by upstream default since they are very out of date
86 - configuring() {
87 - gnome2_src_configure \
88 - $(use_enable cairo)
89 -
90 - # Pyflakes tests work only in python2, bug #516744
91 - if use test && [[ ${EPYTHON} != python2.7 ]]; then
92 - sed -e 's/if type pyflakes/if false/' \
93 - -i Makefile || die "sed failed"
94 - fi
95 - }
96 -
97 - python_foreach_impl run_in_build_dir configuring
98 -}
99 -
100 -src_compile() {
101 - python_foreach_impl run_in_build_dir gnome2_src_compile
102 -}
103 -
104 -src_test() {
105 - local -x GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
106 - local -x GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
107 - local -x SKIP_PEP8="yes"
108 -
109 - testing() {
110 - local -x XDG_CACHE_HOME="${T}/${EPYTHON}"
111 - emake -C "${BUILD_DIR}" check || die "emake check failed"
112 - }
113 - virtx python_foreach_impl testing
114 -}
115 -
116 -src_install() {
117 - python_foreach_impl run_in_build_dir gnome2_src_install
118 -
119 - use examples && dodoc -r examples
120 -}