Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libguestfs/
Date: Fri, 07 Dec 2018 13:02:41
Message-Id: 1544187740.49dd8801297036cd7b53ca4400429c310051ebf6.eva@gentoo
1 commit: 49dd8801297036cd7b53ca4400429c310051ebf6
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 7 12:46:26 2018 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 7 13:02:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49dd8801
7
8 app-emulation/libguestfs: cleanup old revisions
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org>
12
13 app-emulation/libguestfs/Manifest | 2 -
14 .../libguestfs/libguestfs-1.28.5-r3.ebuild | 158 -------------------
15 app-emulation/libguestfs/libguestfs-1.36.5.ebuild | 167 ---------------------
16 3 files changed, 327 deletions(-)
17
18 diff --git a/app-emulation/libguestfs/Manifest b/app-emulation/libguestfs/Manifest
19 index 7a661171f96..59a48fc2b5e 100644
20 --- a/app-emulation/libguestfs/Manifest
21 +++ b/app-emulation/libguestfs/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST libguestfs-1.28.5.tar.gz 12747537 BLAKE2B b0cc023efef41955c4b448b68bd5578d88d305364afdc1fc24c7d26ba5fae4a1b81ee58799d42774ea28e162208edbf36a0e49c1a7e4f751c74e9c45e9a472a6 SHA512 5ab25498fa9141950c1077cc52bae05a2781fa86a983b5fa49fbd4a4bca70710db3d4f7b9f45fb6f8b4ee8e3d77ffde7c4c0d9e9e526443e2a8251a62306ebb6
24 DIST libguestfs-1.36.13.tar.gz 22886310 BLAKE2B b0961cc6b941f1b68bba23af72e8b5478ed33da6f343e453f90decd7454cfc6a94cf67a81ad59c443df744727afa9bd4e98c77411efc4134e3422eaae59ffff5 SHA512 7c9799d5d563ffd8296f70a8402582aba85f3bf3c0dcaa18c44ecff5b7f771a3bc3f297aa85a4056351758298c79752d456a4b46e41924ff9acf196c992d51fb
25 DIST libguestfs-1.36.15.tar.gz 22256729 BLAKE2B 7ed9c0010ffe6b904b055068e86544f12a884ff52f1f3322a3014574310de9a69077d1865e641ad8304149d1a2eb0d0fbc5e107c93a9790135dc543592da68a6 SHA512 a918bc886b60340d748093bdcca3a048ed26b31508ba256cd7903b76798816e54f836446d9286f7c452fa0d4fa82c0c1216606d01fce2ada9d7386fa463857c7
26 -DIST libguestfs-1.36.5.tar.gz 23012703 BLAKE2B 31dcbef2ae1c287c4a353f671e6073cdb4eb2c7173666ff9589ed0e0ce909c2dfa00f2da14b40a0a6a9384dd830082f1f721b0c1dafabe2862391f0f75ff3f3d SHA512 01f10ab902386130f0565f53d0c361b903d6790b572e5562a2180e896952ead2e7661795bd976a7e2442887ea17014a6767db8b6e575de634f32de82ca4124c6
27
28 diff --git a/app-emulation/libguestfs/libguestfs-1.28.5-r3.ebuild b/app-emulation/libguestfs/libguestfs-1.28.5-r3.ebuild
29 deleted file mode 100644
30 index afc70750da9..00000000000
31 --- a/app-emulation/libguestfs/libguestfs-1.28.5-r3.ebuild
32 +++ /dev/null
33 @@ -1,158 +0,0 @@
34 -# Copyright 1999-2017 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -WANT_LIBTOOL=latest
40 -WANT_AUTOMAKE=1.14
41 -PYTHON_COMPAT=( python{2_7,3_{4,5}} )
42 -
43 -inherit python-single-r1 autotools versionator linux-info perl-module
44 -
45 -MY_PV_1="$(get_version_component_range 1-2)"
46 -MY_PV_2="$(get_version_component_range 2)"
47 -[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
48 -
49 -DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
50 -HOMEPAGE="http://libguestfs.org/"
51 -SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
52 -
53 -LICENSE="GPL-2 LGPL-2"
54 -SLOT="0/"${MY_PV_1}""
55 -
56 -KEYWORDS="~amd64"
57 -IUSE="bash-completion erlang +fuse debug ocaml doc +perl python ruby static-libs
58 -selinux systemtap introspection inspect-icons test lua"
59 -
60 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
61 -
62 -# Failures - doc
63 -# Failures - bash-completion, see GBZ #486306
64 -
65 -COMMON_DEPEND="
66 - sys-libs/ncurses:0=
67 - sys-devel/gettext
68 - >=app-misc/hivex-1.3.1
69 - dev-libs/libpcre:3
70 - app-arch/cpio
71 - dev-lang/perl
72 - virtual/cdrtools
73 - >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
74 - sys-apps/fakeroot
75 - sys-apps/file
76 - app-emulation/libvirt
77 - dev-libs/libxml2:2
78 - >=sys-apps/fakechroot-2.8
79 - >=app-admin/augeas-1.0.0
80 - sys-fs/squashfs-tools:*
81 - dev-libs/libconfig
82 - sys-libs/readline:0=
83 - >=sys-libs/db-4.6:*
84 - app-arch/xz-utils
85 - app-arch/lzma
86 - app-crypt/gnupg
87 - app-arch/unzip[natspec]
88 - perl? ( virtual/perl-ExtUtils-MakeMaker
89 - >=dev-perl/Sys-Virt-0.2.4
90 - virtual/perl-Getopt-Long
91 - virtual/perl-Data-Dumper
92 - dev-perl/libintl-perl
93 - >=app-misc/hivex-1.3.1[perl?]
94 - dev-perl/String-ShellQuote
95 - )
96 - python? ( ${PYTHON_DEPS} )
97 - fuse? ( sys-fs/fuse:= )
98 - introspection? (
99 - >=dev-libs/gobject-introspection-1.30.0:=
100 - dev-libs/gjs
101 - )
102 - selinux? ( sys-libs/libselinux sys-libs/libsemanage )
103 - systemtap? ( dev-util/systemtap )
104 - ocaml? ( dev-lang/ocaml[ocamlopt]
105 - dev-ml/findlib[ocamlopt]
106 - dev-ml/ocaml-gettext
107 - )
108 - erlang? ( dev-lang/erlang )
109 - inspect-icons? ( media-libs/netpbm
110 - media-gfx/icoutils
111 - )
112 - virtual/acl
113 - sys-libs/libcap
114 - lua? ( dev-lang/lua:* )
115 - >=app-shells/bash-completion-2.0
116 - dev-libs/yajl
117 - "
118 -
119 -DEPEND="${COMMON_DEPEND}
120 - dev-util/gperf
121 - doc? ( app-text/po4a )
122 - ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
123 - "
124 -RDEPEND="${COMMON_DEPEND}
125 - app-emulation/libguestfs-appliance
126 - "
127 -
128 -DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
129 -
130 -pkg_setup () {
131 - CONFIG_CHECK="~KVM ~VIRTIO"
132 - [ -n "${CONFIG_CHECK}" ] && check_extra_config;
133 -
134 - use python && python-single-r1_pkg_setup
135 -}
136 -
137 -src_prepare() {
138 - eapply "${FILESDIR}"/${MY_PV_1}
139 - eapply_user
140 - eaclocal
141 - eautomake
142 - eautoconf
143 -}
144 -
145 -src_configure() {
146 - # Disable feature test for kvm for more reason
147 - # i.e: not loaded module in __build__ time,
148 - # build server not supported kvm, etc. ...
149 - #
150 - # In fact, this feature is virtio support and requires
151 - # configured kernel.
152 - export vmchannel_test=no
153 -
154 - econf \
155 - $(use_enable test werror) \
156 - --with-libvirt \
157 - --with-default-backend=libvirt \
158 - --disable-appliance \
159 - --disable-daemon \
160 - --with-extra="-gentoo" \
161 - --with-readline \
162 - --disable-php \
163 - $(use_enable python) \
164 - --without-java \
165 - $(use_enable perl) \
166 - $(use_enable fuse) \
167 - $(use_enable ocaml) \
168 - $(use_enable ruby) \
169 - --disable-haskell \
170 - --disable-golang \
171 - $(use_enable introspection gobject) \
172 - $(use_enable erlang) \
173 - $(use_enable systemtap probes) \
174 - $(use_enable lua)
175 -}
176 -
177 -src_install() {
178 - strip-linguas -i po
179 - emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
180 -
181 - use perl && perl_delete_localpod
182 -}
183 -
184 -pkg_postinst() {
185 - if ! use perl ; then
186 - einfo "Perl based tools NOT build"
187 - fi
188 - if ! use ocaml ; then
189 - einfo "Ocaml based tools ( sysprep , ... ) NOT installed"
190 - fi
191 -}
192
193 diff --git a/app-emulation/libguestfs/libguestfs-1.36.5.ebuild b/app-emulation/libguestfs/libguestfs-1.36.5.ebuild
194 deleted file mode 100644
195 index 941ac259350..00000000000
196 --- a/app-emulation/libguestfs/libguestfs-1.36.5.ebuild
197 +++ /dev/null
198 @@ -1,167 +0,0 @@
199 -# Copyright 1999-2017 Gentoo Foundation
200 -# Distributed under the terms of the GNU General Public License v2
201 -
202 -EAPI=6
203 -
204 -PYTHON_COMPAT=( python{2_7,3_{4,5}} )
205 -
206 -inherit autotools linux-info perl-module python-single-r1 versionator
207 -
208 -MY_PV_1="$(get_version_component_range 1-2)"
209 -MY_PV_2="$(get_version_component_range 2)"
210 -[[ $(( $(get_version_component_range 2) % 2 )) -eq 0 ]] && SD="stable" || SD="development"
211 -
212 -DESCRIPTION="Tools for accessing, inspect and modifying virtual machine (VM) disk images"
213 -HOMEPAGE="http://libguestfs.org/"
214 -SRC_URI="http://libguestfs.org/download/${MY_PV_1}-${SD}/${P}.tar.gz"
215 -
216 -LICENSE="GPL-2 LGPL-2"
217 -SLOT="0/"${MY_PV_1}""
218 -
219 -KEYWORDS="~amd64"
220 -IUSE="bash-completion erlang +fuse debug doc +perl python ruby static-libs
221 -selinux systemtap introspection inspect-icons test lua gtk"
222 -
223 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
224 -
225 -# Failures - doc
226 -# Failures - bash-completion, see GBZ #486306
227 -
228 -# FIXME: selinux support is automagic
229 -COMMON_DEPEND="
230 - sys-libs/ncurses:0=
231 - sys-devel/gettext
232 - >=app-misc/hivex-1.3.1
233 - dev-libs/libpcre:3
234 - app-arch/cpio
235 - dev-lang/perl
236 - virtual/cdrtools
237 - >=app-emulation/qemu-2.0[qemu_softmmu_targets_x86_64,systemtap?,selinux?,filecaps]
238 - sys-apps/fakeroot
239 - sys-apps/file
240 - app-emulation/libvirt
241 - dev-libs/libxml2:2
242 - >=sys-apps/fakechroot-2.8
243 - >=app-admin/augeas-1.0.0
244 - sys-fs/squashfs-tools:*
245 - dev-libs/libconfig
246 - sys-libs/readline:0=
247 - >=sys-libs/db-4.6:*
248 - app-arch/xz-utils
249 - app-arch/lzma
250 - app-crypt/gnupg
251 - app-arch/unzip[natspec]
252 - perl? (
253 - virtual/perl-ExtUtils-MakeMaker
254 - >=dev-perl/Sys-Virt-0.2.4
255 - virtual/perl-Getopt-Long
256 - virtual/perl-Data-Dumper
257 - dev-perl/libintl-perl
258 - >=app-misc/hivex-1.3.1[perl?]
259 - dev-perl/String-ShellQuote
260 - )
261 - python? ( ${PYTHON_DEPS} )
262 - fuse? ( sys-fs/fuse:= )
263 - introspection? (
264 - >=dev-libs/glib-2.26:2
265 - >=dev-libs/gobject-introspection-1.30.0:=
266 - dev-libs/gjs
267 - )
268 - selinux? (
269 - sys-libs/libselinux
270 - sys-libs/libsemanage
271 - )
272 - systemtap? ( dev-util/systemtap )
273 - >=dev-lang/ocaml-4.02[ocamlopt]
274 - dev-ml/findlib[ocamlopt]
275 - dev-ml/ocaml-gettext
276 - >=dev-ml/ounit-2
277 - erlang? ( dev-lang/erlang )
278 - inspect-icons? (
279 - media-libs/netpbm
280 - media-gfx/icoutils
281 - )
282 - virtual/acl
283 - sys-libs/libcap
284 - lua? ( dev-lang/lua:* )
285 - >=app-shells/bash-completion-2.0
286 - >=dev-libs/yajl-2.0.4
287 - gtk? (
288 - sys-apps/dbus
289 - x11-libs/gtk+:3
290 - )
291 - "
292 -DEPEND="${COMMON_DEPEND}
293 - dev-util/gperf
294 - >=dev-util/gtk-doc-am-1.14
295 - doc? ( app-text/po4a )
296 - ruby? ( dev-lang/ruby virtual/rubygems dev-ruby/rake )
297 - "
298 -RDEPEND="${COMMON_DEPEND}
299 - app-emulation/libguestfs-appliance
300 - "
301 -
302 -DOCS=( AUTHORS BUGS ChangeLog HACKING README TODO )
303 -
304 -pkg_setup () {
305 - CONFIG_CHECK="~KVM ~VIRTIO"
306 - [ -n "${CONFIG_CHECK}" ] && check_extra_config;
307 -
308 - use python && python-single-r1_pkg_setup
309 -}
310 -
311 -src_prepare() {
312 - eapply "${FILESDIR}"/${MY_PV_1}
313 - eapply_user
314 - eautoreconf
315 -}
316 -
317 -src_configure() {
318 - # Disable feature test for kvm for more reason
319 - # i.e: not loaded module in __build__ time,
320 - # build server not supported kvm, etc. ...
321 - #
322 - # In fact, this feature is virtio support and requires
323 - # configured kernel.
324 - export vmchannel_test=no
325 -
326 - econf \
327 - $(use_enable test werror) \
328 - --with-libvirt \
329 - --with-default-backend=libvirt \
330 - --disable-appliance \
331 - --disable-daemon \
332 - --with-extra="-gentoo" \
333 - --with-readline \
334 - --disable-php \
335 - $(use_enable python) \
336 - --without-java \
337 - $(use_enable perl) \
338 - $(use_enable fuse) \
339 - --enable-ocaml \
340 - $(use_enable ruby) \
341 - --disable-haskell \
342 - --disable-golang \
343 - $(use_enable introspection gobject) \
344 - $(use_enable erlang) \
345 - $(use_enable systemtap probes) \
346 - $(use_enable lua) \
347 - --with-gtk=$(usex gtk 3 no) \
348 - $(usex doc '' PO4A=no)
349 -}
350 -
351 -src_install() {
352 - strip-linguas -i po
353 - emake DESTDIR="${D}" install "LINGUAS=""${LINGUAS}"""
354 -
355 - use perl && perl_delete_localpod
356 -}
357 -
358 -pkg_postinst() {
359 - if ! use perl ; then
360 - einfo "Perl based tools NOT build"
361 - fi
362 - if ! gtk ; then
363 - einfo "virt-p2v NOT installed"
364 - fi
365 -}