summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2022-05-17 15:02:38 -0400
committerMatt Turner <mattst88@gentoo.org>2022-05-17 15:10:17 -0400
commit5170a0a50637d93e2dc7e11226f05c89e0c2951e (patch)
treed318eb8f22772226739eaba888cc3c69d38e70e4 /sys-apps/osinfo-db
parentdev-python/namespace-google: treeclean (diff)
downloadgentoo-5170a0a50637d93e2dc7e11226f05c89e0c2951e.tar.gz
gentoo-5170a0a50637d93e2dc7e11226f05c89e0c2951e.tar.bz2
gentoo-5170a0a50637d93e2dc7e11226f05c89e0c2951e.zip
sys-apps/osinfo-db: Version bump to 20220516
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-apps/osinfo-db')
-rw-r--r--sys-apps/osinfo-db/Manifest1
-rw-r--r--sys-apps/osinfo-db/osinfo-db-20220516.ebuild25
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/osinfo-db/Manifest b/sys-apps/osinfo-db/Manifest
index cf6652f18bd6..d9bdd6aa26a8 100644
--- a/sys-apps/osinfo-db/Manifest
+++ b/sys-apps/osinfo-db/Manifest
@@ -1 +1,2 @@
DIST osinfo-db-20220214.tar.xz 127528 BLAKE2B 7e0076d3f844e52744dd6086404504831c7ed625003bc789103919a140a5a281c1a44773f7decf0825cad845274417b3cb510f3bd62e840f84b972358755dc34 SHA512 d8823b3928d2648a759c4c15b57b57cfd79a406813ec375b02bf2c382c1b22ee0177e520ef04cf334af3b08cc810867472c35a73555f1fdb8855a1b8679c183c
+DIST osinfo-db-20220516.tar.xz 129272 BLAKE2B 47f6eb2e1ae0cad277be71fb0955415c4afdb27e3b80e36c98ce5b7c8d22efcab91047e93c586045baa233ac61dc08113a5aedb626db4f24bf0472455826e481 SHA512 44c56824c774e68bd79633c415c71155e814c1f928fceba845ab649f8cb0dd325ad06b91a2d720cb25fd62e67d7ea17774cc395995b4f201527c4a6aa447a744
diff --git a/sys-apps/osinfo-db/osinfo-db-20220516.ebuild b/sys-apps/osinfo-db/osinfo-db-20220516.ebuild
new file mode 100644
index 000000000000..28ae854564ac
--- /dev/null
+++ b/sys-apps/osinfo-db/osinfo-db-20220516.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 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 ~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}"
+}