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: Fri, 07 Jul 2017 21:21:02
Message-Id: 1499462419.af29c4d084870a6a967f6c399e1248ce6e8acc3e.leio@gentoo
1 commit: af29c4d084870a6a967f6c399e1248ce6e8acc3e
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 7 21:09:35 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 7 21:20:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af29c4d0
7
8 dev-python/pygobject: remove old
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 dev-python/pygobject/Manifest | 1 -
13 dev-python/pygobject/pygobject-3.20.1.ebuild | 104 ---------------------------
14 2 files changed, 105 deletions(-)
15
16 diff --git a/dev-python/pygobject/Manifest b/dev-python/pygobject/Manifest
17 index f0052e57ef5..87f2bf21b92 100644
18 --- a/dev-python/pygobject/Manifest
19 +++ b/dev-python/pygobject/Manifest
20 @@ -1,3 +1,2 @@
21 DIST pygobject-2.28.6.tar.xz 747248 SHA256 fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c WHIRLPOOL 402f764d6ca73f238784738a1e09832858fd95af5a633e825412e9e6a21e89ab6b2090d3995902ed404fc4fde445cf970c76fcd93f8f64cf9def742452776c00
22 -DIST pygobject-3.20.1.tar.xz 749748 SHA256 3d261005d6fed6a92ac4c25f283792552f7dad865d1b7e0c03c2b84c04dbd745 SHA512 477ea2e87b8f6651d8697947439d10be9b4febca3c834dcc86e91e13b2fc1ed3bbf6f63377ae04f63c4f24756c8b8407d959222af0308ef60bbdd86d4fae39ac WHIRLPOOL 824a72b592515a4b77d53cb5b9b71b709a226e0ac053c9359ecd7b05820c43a303ed4ad99c5e34e41483bbe32a0a9d4e0c8a87d6f8852189407fac28da758268
23 DIST pygobject-3.22.0.tar.xz 756820 SHA256 08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8a5cbe7 SHA512 1f6f0ea8014b35d7828a6bebc0fe2cf6519016ca5ad3819dc6b7879154d8e27fdd2971620955c8fc4904625814833c8bc8ec0599152720649864262d3b6e33e4 WHIRLPOOL c285669e4d07a9b0cf79ba06528d3809d0c2807b2345dc6eeec011ed351cd45155119b2691cd10a498fb76d67486026e997d93c80b3a7ea60176e053d4452374
24
25 diff --git a/dev-python/pygobject/pygobject-3.20.1.ebuild b/dev-python/pygobject/pygobject-3.20.1.ebuild
26 deleted file mode 100644
27 index 585be5fcb91..00000000000
28 --- a/dev-python/pygobject/pygobject-3.20.1.ebuild
29 +++ /dev/null
30 @@ -1,104 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -GNOME2_LA_PUNT="yes"
36 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
37 -
38 -inherit eutils gnome2 python-r1 virtualx
39 -
40 -DESCRIPTION="GLib's GObject library bindings for Python"
41 -HOMEPAGE="https://wiki.gnome.org/Projects/PyGObject"
42 -
43 -LICENSE="LGPL-2.1+"
44 -SLOT="3"
45 -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"
46 -IUSE="+cairo examples test +threads"
47 -
48 -REQUIRED_USE="
49 - ${PYTHON_REQUIRED_USE}
50 - test? ( cairo )
51 -"
52 -
53 -COMMON_DEPEND="${PYTHON_DEPS}
54 - >=dev-libs/glib-2.38:2
55 - >=dev-libs/gobject-introspection-1.46.0:=
56 - virtual/libffi:=
57 - cairo? (
58 - >=dev-python/pycairo-1.10.0[${PYTHON_USEDEP}]
59 - x11-libs/cairo )
60 -"
61 -DEPEND="${COMMON_DEPEND}
62 - virtual/pkgconfig
63 - cairo? ( x11-libs/cairo[glib] )
64 - test? (
65 - dev-libs/atk[introspection]
66 - media-fonts/font-cursor-misc
67 - media-fonts/font-misc-misc
68 - x11-libs/cairo[glib]
69 - x11-libs/gdk-pixbuf:2[introspection]
70 - x11-libs/gtk+:3[introspection]
71 - x11-libs/pango[introspection]
72 - python_targets_python2_7? ( dev-python/pyflakes[$(python_gen_usedep python2_7)] ) )
73 -"
74 -# gnome-base/gnome-common required by eautoreconf
75 -
76 -# We now disable introspection support in slot 2 per upstream recommendation
77 -# (see https://bugzilla.gnome.org/show_bug.cgi?id=642048#c9); however,
78 -# older versions of slot 2 installed their own site-packages/gi, and
79 -# slot 3 will collide with them.
80 -RDEPEND="${COMMON_DEPEND}
81 - !<dev-python/pygtk-2.13
82 - !<dev-python/pygobject-2.28.6-r50:2[introspection]
83 -"
84 -
85 -src_prepare() {
86 - gnome2_src_prepare
87 - python_copy_sources
88 -}
89 -
90 -src_configure() {
91 - # Hard-enable libffi support since both gobject-introspection and
92 - # glib-2.29.x rdepend on it anyway
93 - # docs disabled by upstream default since they are very out of date
94 - configuring() {
95 - gnome2_src_configure \
96 - $(use_enable cairo) \
97 - $(use_enable threads thread)
98 -
99 - # Pyflakes tests work only in python2, bug #516744
100 - if use test && [[ ${EPYTHON} != python2.7 ]]; then
101 - sed -e 's/if type pyflakes/if false/' \
102 - -i Makefile || die "sed failed"
103 - fi
104 - }
105 -
106 - python_foreach_impl run_in_build_dir configuring
107 -}
108 -
109 -src_compile() {
110 - python_foreach_impl run_in_build_dir gnome2_src_compile
111 -}
112 -
113 -src_test() {
114 - export GIO_USE_VFS="local" # prevents odd issues with deleting ${T}/.gvfs
115 - export GIO_USE_VOLUME_MONITOR="unix" # prevent udisks-related failures in chroots, bug #449484
116 - export SKIP_PEP8="yes"
117 -
118 - testing() {
119 - export XDG_CACHE_HOME="${T}/${EPYTHON}"
120 - run_in_build_dir virtx emake check
121 - unset XDG_CACHE_HOME
122 - }
123 - python_foreach_impl testing
124 - unset GIO_USE_VFS
125 -}
126 -
127 -src_install() {
128 - python_foreach_impl run_in_build_dir gnome2_src_install
129 -
130 - if use examples; then
131 - insinto /usr/share/doc/${PF}
132 - doins -r examples
133 - fi
134 -}