Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/
Date: Tue, 18 Jan 2022 20:52:59
Message-Id: 1642539170.55c2c29f10343a42bbcf1e1f698cff703edc2642.ulm@gentoo
1 commit: 55c2c29f10343a42bbcf1e1f698cff703edc2642
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 18 20:44:26 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 18 20:52:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55c2c29f
7
8 app-emacs/nxml-libvirt-schemas: Version bump to 7.10.0
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 app-emacs/nxml-libvirt-schemas/Manifest | 1 +
14 .../nxml-libvirt-schemas-7.10.0.ebuild | 34 ++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest
18 index fb427853a7b8..e0683ad7b794 100644
19 --- a/app-emacs/nxml-libvirt-schemas/Manifest
20 +++ b/app-emacs/nxml-libvirt-schemas/Manifest
21 @@ -1 +1,2 @@
22 DIST libvirt-5.8.0.tar.xz 13129328 BLAKE2B ff49b0b6dca86f35c68edfb880677c88e0aed8021ed01ebd145922821914edd70c355ca777fe470e2b0e4baf36f2813c1100be9377344f81c9df374068307da1 SHA512 73d18fdf307b8029921a9f1a0c84ca31c50c662a3c0339e3850d6d2f31574168807a6f34943b286ed86a44031decbbc1339f27366da7269e29d38c7094503113
23 +DIST libvirt-7.10.0.tar.xz 8798000 BLAKE2B 6cb2ab5913d382b11d24b46154dc3250355050cd3038f64ba571b35f33ae5bd0a322d4b96469bd6c78fd848c87f2e6fc7213c33e5bdb9d375a9b81d2a40899bb SHA512 c7eecc9538b68852a8cc67565566d64ec7b087b6f009858b2eb524bc3ef0f6ca3c0da67edf801e6a3ae3fcc0364e65e108fa92bcb01ee810c85fa5f37785aa32
24
25 diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild
26 new file mode 100644
27 index 000000000000..f60678a36ec4
28 --- /dev/null
29 +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-7.10.0.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit elisp
37 +
38 +MY_P="libvirt-${PV}"
39 +DESCRIPTION="Extension for nxml-mode with libvirt schemas"
40 +HOMEPAGE="http://www.libvirt.org/"
41 +SRC_URI="http://libvirt.org/sources/${MY_P}.tar.xz"
42 +S="${WORKDIR}/${MY_P%-rc*}/docs/schemas"
43 +
44 +# This is the license of the package, but the schema files are
45 +# provided without license, maybe it's bad.
46 +LICENSE="LGPL-2.1+"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +# Yes this requires Java, but I'd rather not repackage this, if you
51 +# know something better in C, I'll be glad to use that.
52 +BDEPEND="app-text/trang"
53 +
54 +SITEFILE="60${PN}-gentoo.el"
55 +
56 +src_compile() {
57 + emake -f "${FILESDIR}"/Makefile-trang
58 +}
59 +
60 +src_install() {
61 + insinto "${SITEETC}/${PN}"
62 + doins "${FILESDIR}"/schemas.xml *.rnc
63 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
64 +}