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