commit:     b8729cdc556d1d1549f12de5308e82a437713926
Author:     Michal Privoznik <michal.privoznik <AT> gmail <DOT> com>
AuthorDate: Tue Nov 28 09:00:57 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 06:22:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8729cdc

sys-apps/osinfo-db: Add 20231027

Signed-off-by: Michal Privoznik <michal.privoznik <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34061
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/osinfo-db/Manifest                  |  1 +
 sys-apps/osinfo-db/osinfo-db-20231027.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/sys-apps/osinfo-db/Manifest b/sys-apps/osinfo-db/Manifest
index 3877d4c577da..20727a34187c 100644
--- a/sys-apps/osinfo-db/Manifest
+++ b/sys-apps/osinfo-db/Manifest
@@ -1 +1,2 @@
 DIST osinfo-db-20230719.tar.xz 144088 BLAKE2B 
2b4297be735da6a9c37f3ccb9164071afd8983740eb6d400d0262f76e27a5bdfde74d35d104ec9487ed4b1ba48306bffe7a3704017cde9429aca9a0f22b881f1
 SHA512 
42751d3c8defea0aec49389354a4b682e1881f6387296e7d1b8d32afe3a1d8b9d7a3093bac33d0dbba359d28f1375f35dee7b0ca89fc7f1ce39276c231deda7b
+DIST osinfo-db-20231027.tar.xz 143660 BLAKE2B 
212abe98a09165fdae9b7069ab00c120f90ccf944242cdb355b6c2cf8085086c29d08779123a2fd6c72abd6b7dad88a6d473368cf659f2682b342692bc04d6f0
 SHA512 
2a0729f99ff840ab29d90b3174da6fa6ebf0665786f17079a592ee4988a95fbf2b1453834139c6f62c491d777eefb1d094dc39b80ac13398e2db32e1033e9900

diff --git a/sys-apps/osinfo-db/osinfo-db-20231027.ebuild 
b/sys-apps/osinfo-db/osinfo-db-20231027.ebuild
new file mode 100644
index 000000000000..82e86e48b879
--- /dev/null
+++ b/sys-apps/osinfo-db/osinfo-db-20231027.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="osinfo database files"
+HOMEPAGE="https://libosinfo.org/ https://gitlab.com/libosinfo/osinfo-db";
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz";
+S="${WORKDIR}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+
+BDEPEND="sys-apps/osinfo-db-tools"
+
+# we don't depend on intltool here, contrary to README, as the tarball already
+# contains the processed results with translations in XML files
+
+src_unpack() { :; }
+
+src_install() {
+       osinfo-db-import --root "${D}" --dir "/usr/share/osinfo" 
"${DISTDIR}/${A}"
+}

Reply via email to