Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/
Date: Mon, 04 Jul 2022 23:24:20
Message-Id: 1656976858.e7290b9b5d96d41dd50b167e548c4ff45ee48dc7.sam@gentoo
1 commit: e7290b9b5d96d41dd50b167e548c4ff45ee48dc7
2 Author: Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
3 AuthorDate: Mon Jul 4 07:06:09 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 23:20:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7290b9b
7
8 app-emacs/nxml-libvirt-schemas: add 8.5.0
9
10 Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/26215
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 app-emacs/nxml-libvirt-schemas/Manifest | 1 +
15 .../nxml-libvirt-schemas-8.5.0.ebuild | 41 ++++++++++++++++++++++
16 2 files changed, 42 insertions(+)
17
18 diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest
19 index 6187b57663cd..6fbfa78b364f 100644
20 --- a/app-emacs/nxml-libvirt-schemas/Manifest
21 +++ b/app-emacs/nxml-libvirt-schemas/Manifest
22 @@ -2,3 +2,4 @@ DIST libvirt-5.8.0.tar.xz 13129328 BLAKE2B ff49b0b6dca86f35c68edfb880677c88e0aed
23 DIST libvirt-7.10.0.tar.xz 8798000 BLAKE2B 6cb2ab5913d382b11d24b46154dc3250355050cd3038f64ba571b35f33ae5bd0a322d4b96469bd6c78fd848c87f2e6fc7213c33e5bdb9d375a9b81d2a40899bb SHA512 c7eecc9538b68852a8cc67565566d64ec7b087b6f009858b2eb524bc3ef0f6ca3c0da67edf801e6a3ae3fcc0364e65e108fa92bcb01ee810c85fa5f37785aa32
24 DIST libvirt-8.3.0.tar.xz 8829288 BLAKE2B 37890dac8f46e14c5f0329f7f3318b611bfe3b97b7beddcdb91541e71a619738baa2a3e9847fee2d0b63abb630895860555a5337686702fc6fb06cc4f060f8b5 SHA512 914c8a4884d703f368849b852ba8330d1b17cf598a359f70d344e0a94e02f60337216e9011cbeba90eb4e87fa644e7eb9e8a407ca58632b2b41511d3f598ff71
25 DIST libvirt-8.4.0.tar.xz 8846528 BLAKE2B 479d7d47a9d711e0240da09eb295f1a644bc4cfddbe544908f2011eb45dff9cf9ffdfff87ba63ded96f5b69024c65832326f9fb0837c5338114ad5dbbada7af1 SHA512 e9dcaa489f162e3a26fe1ca7bb83a22e3f1952594c3541ddd2a7f8e8a0e6ad37e193fb89421df1efe3d2a4d9bb7cf5455c7b7a0b59e133eb6c0ff3cbbd8403b6
26 +DIST libvirt-8.5.0.tar.xz 8886088 BLAKE2B a789b5d4d4f3d359403b53b1b6bdc31ddd8938d12fce3c77e953a30be359a3f75071c385bc8ce3df11ccc7ad682e433c067781948cf107abef84e54d5aadd0d9 SHA512 62b05c5cd58eab0ab2d945b832fd85807aea9b5f12a7ef5d1205fe0edac8d361ba3a9245f60f200a8548c96f718943d4502d87fff87c4495bd1e2637f14aaccf
27
28 diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.5.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.5.0.ebuild
29 new file mode 100644
30 index 000000000000..acb053083ec6
31 --- /dev/null
32 +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.5.0.ebuild
33 @@ -0,0 +1,41 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +# Packages which get releases together:
40 +# app-emacs/nxml-libvirt-schemas
41 +# dev-python/libvirt-python
42 +# dev-perl/Sys-Virt
43 +# app-emulation/libvirt
44 +# Please bump them together!
45 +
46 +inherit elisp
47 +
48 +MY_P="libvirt-${PV}"
49 +DESCRIPTION="Extension for nxml-mode with libvirt schemas"
50 +HOMEPAGE="http://www.libvirt.org/"
51 +SRC_URI="http://libvirt.org/sources/${MY_P}.tar.xz"
52 +S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas"
53 +
54 +# This is the license of the package, but the schema files are
55 +# provided without license, maybe it's bad.
56 +LICENSE="LGPL-2.1+"
57 +SLOT="0"
58 +KEYWORDS="~amd64 ~x86"
59 +
60 +# Yes this requires Java, but I'd rather not repackage this, if you
61 +# know something better in C, I'll be glad to use that.
62 +BDEPEND="app-text/trang"
63 +
64 +SITEFILE="60${PN}-gentoo.el"
65 +
66 +src_compile() {
67 + emake -f "${FILESDIR}"/Makefile-trang
68 +}
69 +
70 +src_install() {
71 + insinto "${SITEETC}/${PN}"
72 + doins "${FILESDIR}"/schemas.xml *.rnc
73 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
74 +}