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-util/gdbus-codegen/, dev-util/gdbus-codegen/files/
Date: Sun, 30 Dec 2018 11:29:04
Message-Id: 1546168315.d9f2c9496fda66392269bb1b1b17e8b323027081.leio@gentoo
1 commit: d9f2c9496fda66392269bb1b1b17e8b323027081
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 30 11:07:35 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 30 11:11:55 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9f2c949
7
8 dev-util/gdbus-codegen: 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-util/gdbus-codegen/Manifest | 3 -
14 .../files/gdbus-codegen-2.40.0-sitedir.patch | 31 ----------
15 .../files/gdbus-codegen-2.54.3-sitedir.patch | 22 -------
16 dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild | 46 --------------
17 dev-util/gdbus-codegen/gdbus-codegen-2.54.3.ebuild | 46 --------------
18 .../gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild | 70 ----------------------
19 6 files changed, 218 deletions(-)
20
21 diff --git a/dev-util/gdbus-codegen/Manifest b/dev-util/gdbus-codegen/Manifest
22 index 08247f8f360..07a83137e9e 100644
23 --- a/dev-util/gdbus-codegen/Manifest
24 +++ b/dev-util/gdbus-codegen/Manifest
25 @@ -1,6 +1,3 @@
26 -DIST glib-2.52.3.tar.xz 7679972 BLAKE2B 8d9f6b714571bd04ab9717fbf9ded8556664e43dcdb7dd59436b8b7f1a8a5cdf98e9ce60ca1ead941af1d57688044fefb6c749fa735084622a3482b058864ff6 SHA512 a068f2519cfb82de8d4b7f004e7c1f15e841cad4046430a83b02b359d011e0c4077cdff447a1687ed7c68f1a11b4cf66b9ed9fc23ab5f0c7c6be84eb0ddc3017
27 -DIST glib-2.54.3.tar.xz 7836536 BLAKE2B 140e7cf09a41b72a5b22e5b87e9674cbfdfe1b82f3cf5f0fd3ecb2ed6b1f62a90f8b4c0bc2f655e297f91394f771f6ecad210357e31f104ee49ca178be6b9d76 SHA512 23eb4458684624f80c17aa784eab42a38eec87bb5979fcfe56f0bc63b5c7bcf8251a0d4ea916fe2c8109ff5b14a4b60c6260755d079ff984c0d8e6a2871d307d
28 DIST glib-2.56.2.tar.xz 8041756 BLAKE2B 1af5bb37378856e959602bcb9299266bba46b990839c923f6b9881624aed306af0779005281b3e3a46b5994c54812edc86aade9cb782c596fd63b6fd91baba51 SHA512 8201ea82d3613d2e879284abe01520b766da30957c5a1a22f3e6019b0cce6bf95d25beae78867b6a133401c4165153c0c92974dd459ab12f9e0e9dd0c95df5d4
29 DIST glib-2.56.4.tar.xz 7029768 BLAKE2B 21cf840128e468151eeac55f0323f8f643973422b70bb65655e24c0a6b2f7ee72d5ae879bfae73df84fa2281fc425cc98328597910ba8fd99d7a52024e1b3ab6 SHA512 280a46c2af13283a08c15ff0b4f5492659c2884521930600ad45310ed181c44a878ad8f9b36bae68ed6e7d92db6f1630f7bf015148c513dc317d25807f13abb0
30 -DIST glib-2.58.1.tar.xz 4906444 BLAKE2B 022da8624a8ae2ec7fdc45777556a518d056e7389158d96db36baccdb238ed6fbdb6f224ec8b1c1bfec78001aa0348d3fc1fd43d20908a8c4690a0e03038bf61 SHA512 115b74fcd43241e3c4b4babfb8170453b2a002ff02d5996f3c097876199cadccc1cf67b017c10c14c0d2a1bb4228027b743f4926bda0ef7d74012ed712ccd155
31 DIST glib-2.58.2.tar.xz 4862612 BLAKE2B e94d3dfc5d4b6d100c2425fda34c90fdf643fdb71b8bd65df691e34d11bfaf79fdc4c844eb215df24b0f680991fb0d0c08c3bb3dea61f5157ccd8bec200e2059 SHA512 4017ae308f2ef6313abbff2eb9b21ec6f8fa38935007491ca0cb4d1ffac6fedab6f50e911ac088995d6212323ba1767399f18529a2620d60378ecade193b4b1a
32
33 diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch
34 deleted file mode 100644
35 index ffeb17ba237..00000000000
36 --- a/dev-util/gdbus-codegen/files/gdbus-codegen-2.40.0-sitedir.patch
37 +++ /dev/null
38 @@ -1,31 +0,0 @@
39 -From 626f79dcfb1f26997f2807829c6fa19f6c3303f5 Mon Sep 17 00:00:00 2001
40 -From: Sobhan Mohammadpour <sobhanmohammadpour1@×××××.fr>
41 -Date: Sun, 20 Jan 2013 20:25:13 +0330
42 -Subject: [PATCH] glib-2.35.4-external-gdbus-codegen
43 -
44 ----
45 - gio/gdbus-2.0/codegen/gdbus-codegen.in | 8 +-------
46 - 1 file changed, 1 insertion(+), 7 deletions(-)
47 -
48 -diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in
49 -index 253d151..2295481 100644
50 ---- a/gio/gdbus-2.0/codegen/gdbus-codegen.in
51 -+++ b/gio/gdbus-2.0/codegen/gdbus-codegen.in
52 -@@ -29,13 +29,7 @@ srcdir = os.getenv('UNINSTALLED_GLIB_SRCDIR', None)
53 -
54 - if srcdir is not None:
55 - path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
56 --elif os.name == 'nt':
57 -- # Makes gdbus-codegen 'relocatable' at runtime on Windows.
58 -- path = os.path.join(os.path.dirname(__file__), '..', 'share', 'glib-2.0')
59 - else:
60 -- path = os.path.join('@datadir@', 'glib-2.0')
61 --
62 --sys.path.insert(0, os.path.abspath(path))
63 --from codegen import codegen_main
64 -+ from gdbus_codegen import codegen_main
65 -
66 - sys.exit(codegen_main.codegen_main())
67 ---
68 -1.8.1
69 -
70
71 diff --git a/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch b/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch
72 deleted file mode 100644
73 index d3bbba4cb03..00000000000
74 --- a/dev-util/gdbus-codegen/files/gdbus-codegen-2.54.3-sitedir.patch
75 +++ /dev/null
76 @@ -1,22 +0,0 @@
77 -diff --git a/gio/gdbus-2.0/codegen/gdbus-codegen.in b/gio/gdbus-2.0/codegen/gdbus-codegen.in
78 -index 8050981..932410a 100644
79 ---- a/gdbus-codegen.in
80 -+++ b/gdbus-codegen.in
81 -@@ -28,16 +28,7 @@ filedir = os.path.dirname(__file__)
82 -
83 - if srcdir is not None:
84 - path = os.path.join(srcdir, 'gio', 'gdbus-2.0')
85 --elif os.path.basename(filedir) == 'bin':
86 -- # Make the prefix containing gdbus-codegen 'relocatable' at runtime by
87 -- # adding /some/prefix/bin/../share/glib-2.0 to the python path
88 -- path = os.path.join(filedir, '..', 'share', 'glib-2.0')
89 - else:
90 -- # Assume that the modules we need are in the current directory and add the
91 -- # parent directory to the python path.
92 -- path = os.path.join(filedir, '..')
93 --
94 --sys.path.insert(0, os.path.abspath(path))
95 --from codegen import codegen_main
96 -+ from gdbus_codegen import codegen_main
97 -
98 - sys.exit(codegen_main.codegen_main())
99
100 diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild
101 deleted file mode 100644
102 index 1b6ca98b5f6..00000000000
103 --- a/dev-util/gdbus-codegen/gdbus-codegen-2.52.3.ebuild
104 +++ /dev/null
105 @@ -1,46 +0,0 @@
106 -# Copyright 1999-2018 Gentoo Foundation
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI="5"
110 -GNOME_ORG_MODULE="glib"
111 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
112 -PYTHON_REQ_USE="xml"
113 -
114 -inherit gnome.org distutils-r1
115 -
116 -DESCRIPTION="GDBus code and documentation generator"
117 -HOMEPAGE="https://www.gtk.org/"
118 -
119 -LICENSE="LGPL-2+"
120 -SLOT="0"
121 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
122 -IUSE=""
123 -
124 -RDEPEND="${PYTHON_DEPS}"
125 -DEPEND="${RDEPEND}"
126 -
127 -# To prevent circular dependencies with glib[test]
128 -PDEPEND=">=dev-libs/glib-${PV}:2"
129 -
130 -S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
131 -
132 -python_prepare_all() {
133 - PATCHES=(
134 - "${FILESDIR}/${PN}-2.40.0-sitedir.patch"
135 - )
136 - distutils-r1_python_prepare_all
137 -
138 - sed -e 's:#!@PYTHON@:#!/usr/bin/env python:' gdbus-codegen.in > gdbus-codegen || die
139 - cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed"
140 - sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed"
141 -}
142 -
143 -src_test() {
144 - einfo "Skipping tests. This package is tested by dev-libs/glib"
145 - einfo "when merged with FEATURES=test"
146 -}
147 -
148 -python_install_all() {
149 - distutils-r1_python_install_all # no-op, but prevents QA warning
150 - doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
151 -}
152
153 diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.54.3.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.54.3.ebuild
154 deleted file mode 100644
155 index 56bea99d5df..00000000000
156 --- a/dev-util/gdbus-codegen/gdbus-codegen-2.54.3.ebuild
157 +++ /dev/null
158 @@ -1,46 +0,0 @@
159 -# Copyright 1999-2018 Gentoo Foundation
160 -# Distributed under the terms of the GNU General Public License v2
161 -
162 -EAPI=6
163 -GNOME_ORG_MODULE="glib"
164 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
165 -PYTHON_REQ_USE="xml"
166 -
167 -inherit gnome.org distutils-r1
168 -
169 -DESCRIPTION="GDBus code and documentation generator"
170 -HOMEPAGE="https://www.gtk.org/"
171 -
172 -LICENSE="LGPL-2+"
173 -SLOT="0"
174 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
175 -IUSE=""
176 -
177 -RDEPEND="${PYTHON_DEPS}"
178 -DEPEND="${RDEPEND}"
179 -
180 -# To prevent circular dependencies with glib[test]
181 -PDEPEND=">=dev-libs/glib-${PV}:2"
182 -
183 -S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
184 -
185 -python_prepare_all() {
186 - PATCHES=(
187 - "${FILESDIR}/${PN}-2.54.3-sitedir.patch"
188 - )
189 - distutils-r1_python_prepare_all
190 -
191 - sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die
192 - cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed"
193 - sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed"
194 -}
195 -
196 -src_test() {
197 - einfo "Skipping tests. This package is tested by dev-libs/glib"
198 - einfo "when merged with FEATURES=test"
199 -}
200 -
201 -python_install_all() {
202 - distutils-r1_python_install_all # no-op, but prevents QA warning
203 - doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
204 -}
205
206 diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild
207 deleted file mode 100644
208 index 9f7004d0f1c..00000000000
209 --- a/dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild
210 +++ /dev/null
211 @@ -1,70 +0,0 @@
212 -# Copyright 1999-2018 Gentoo Authors
213 -# Distributed under the terms of the GNU General Public License v2
214 -
215 -EAPI=6
216 -GNOME_ORG_MODULE="glib"
217 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} )
218 -PYTHON_REQ_USE="xml"
219 -DISTUTILS_SINGLE_IMPL=1
220 -
221 -inherit gnome.org distutils-r1
222 -
223 -DESCRIPTION="GDBus code and documentation generator"
224 -HOMEPAGE="https://www.gtk.org/"
225 -
226 -LICENSE="LGPL-2+"
227 -SLOT="0"
228 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
229 -IUSE=""
230 -
231 -RDEPEND="${PYTHON_DEPS}"
232 -DEPEND="${RDEPEND}
233 - dev-libs/libxslt
234 - app-text/docbook-xsl-stylesheets
235 -"
236 -
237 -# To prevent circular dependencies with glib[test]
238 -PDEPEND=">=dev-libs/glib-${PV}:2"
239 -
240 -S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen"
241 -
242 -python_prepare_all() {
243 - PATCHES=(
244 - "${FILESDIR}/${PN}-2.56.1-sitedir.patch"
245 - )
246 - distutils-r1_python_prepare_all
247 -
248 - sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die
249 - sed -e "s:@VERSION@:${PV}:" config.py.in > config.py || die
250 - cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed"
251 - sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed"
252 -}
253 -
254 -do_xsltproc_command() {
255 - # Taken from meson.build for manual manpage building - keep in sync (also copied to dev-util/glib-utils)
256 - xsltproc \
257 - --nonet \
258 - --stringparam man.output.quietly 1 \
259 - --stringparam funcsynopsis.style ansi \
260 - --stringparam man.th.extra1.suppress 1 \
261 - --stringparam man.authors.section.enabled 0 \
262 - --stringparam man.copyright.section.enabled 0 \
263 - -o "${2}" \
264 - http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl \
265 - "${1}" || die "manpage generation failed"
266 -}
267 -
268 -src_compile() {
269 - distutils-r1_src_compile
270 - do_xsltproc_command "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.xml" "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
271 -}
272 -
273 -src_test() {
274 - einfo "Skipping tests. This package is tested by dev-libs/glib"
275 - einfo "when merged with FEATURES=test"
276 -}
277 -
278 -python_install_all() {
279 - distutils-r1_python_install_all # no-op, but prevents QA warning
280 - doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1"
281 -}