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