From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 780B815ACFC for ; Fri, 5 May 2023 04:44:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B67CFE09AB; Fri, 5 May 2023 04:44:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9A638E09AB for ; Fri, 5 May 2023 04:44:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B19933412A0 for ; Fri, 5 May 2023 04:44:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 01201A63 for ; Fri, 5 May 2023 04:44:30 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683261777.60ea0760ea6984e91e476023db8c77d4ea4175cf.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/nxml-libvirt-schemas/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/nxml-libvirt-schemas/Manifest app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.3.0.ebuild X-VCS-Directories: app-emacs/nxml-libvirt-schemas/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 60ea0760ea6984e91e476023db8c77d4ea4175cf X-VCS-Branch: master Date: Fri, 5 May 2023 04:44:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6da65c58-22f5-4989-a58c-509736e0bf4b X-Archives-Hash: 7ec4549871b76ba23c4a5a233c32d93b commit: 60ea0760ea6984e91e476023db8c77d4ea4175cf Author: Michal Privoznik gmail com> AuthorDate: Thu May 4 13:47:49 2023 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 5 04:42:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ea0760 app-emacs/nxml-libvirt-schemas: Add 9.3.0 Signed-off-by: Michal Privoznik gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30869 Signed-off-by: Sam James gentoo.org> app-emacs/nxml-libvirt-schemas/Manifest | 1 + .../nxml-libvirt-schemas-9.3.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest index 0161079c4c6e..c580aa723b89 100644 --- a/app-emacs/nxml-libvirt-schemas/Manifest +++ b/app-emacs/nxml-libvirt-schemas/Manifest @@ -1,3 +1,4 @@ DIST libvirt-8.8.0.tar.xz 8941928 BLAKE2B f3b8cb4fe30a156884a03e5c873f3fcef0c8d13315c79b865f387ea053635ae2435a3b4d6e81c988cfcd087d55223450e7b874e24e4503479d152b417c398250 SHA512 868e49b369afe200c5af6e2cd0606de2eeebfa92523b5ad3c653203c8838d304bd0cdc5acfb3c4d4c33c0a87ab8e769b84cc62e3f06e055936c43573a23d7190 DIST libvirt-8.9.0.tar.xz 8946352 BLAKE2B 537b6badb6171110e99561613fb1318144991107139401296248afb747ae6f9cfafcd17b2292b8d8dcc9188ff4206035ea814efa6c129bae50c0518f61be9b81 SHA512 10426d45d55bb18e8e5d4327d698fbc6efd83c5f515ac40a0fcd72048a77936fe0b422ac14bce9966a65379d262df294c314f854a97861a223a0cbc6a8fd2382 DIST libvirt-9.2.0.tar.xz 9182060 BLAKE2B 8b9ffc86e088de6b1ec6b38b649bded3abbbce8eec9c1ba19f31e73ecd7ee13a5c521a6e1fd8da9f308158dd05c87171aa443cd00f0c87a73f205e3d57a22567 SHA512 9afd4fcccb9ef39c1ed50eb0db94cd8b06cc5b60041cdb9aa5fe7b27e5ab11855f4b538d6868413725d603dc1a6090e0983207137dcd43ed2bbcfbeb6fc69c58 +DIST libvirt-9.3.0.tar.xz 9246292 BLAKE2B 6e47a70ec247b37c1958e324d5bf7ebcbff6aca5a7a9860f437ebe6a969d569a449d3dd5720081ad27926f445bcbe10089cb3b1d27960decc6239306f82259f9 SHA512 b9349dcd7798c76d75bb20afad67d6e676758cb201acaf7aed5109f0e91422b2bcca964a2f19aa8dc4fd0eca2923902474e16e3839bf8b15aca827028e88ddb7 diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.3.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.3.0.ebuild new file mode 100644 index 000000000000..cdedf3214219 --- /dev/null +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-9.3.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Packages which get releases together: +# app-emacs/nxml-libvirt-schemas +# dev-python/libvirt-python +# dev-perl/Sys-Virt +# app-emulation/libvirt +# Please bump them together! + +inherit elisp + +MY_P="libvirt-${PV}" +DESCRIPTION="Extension for nxml-mode with libvirt schemas" +HOMEPAGE="https://www.libvirt.org/" +SRC_URI="https://libvirt.org/sources/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas" + +# This is the license of the package, but the schema files are +# provided without license, maybe it's bad. +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Yes this requires Java, but I'd rather not repackage this, if you +# know something better in C, I'll be glad to use that. +BDEPEND="app-text/trang" + +SITEFILE="60${PN}-gentoo.el" + +src_compile() { + emake -f - <<'EOF' +all: $(patsubst %.rng,%.rnc,$(wildcard *.rng)) +%.rnc: %.rng + trang -I rng -O rnc $< $@ +EOF +} + +src_install() { + insinto "${SITEETC}/${PN}" + doins "${FILESDIR}"/schemas.xml *.rnc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +}