commit:     cb9c7c82a2ef39fb65a4f470124b9731330fbcc9
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 23:19:29 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 23:25:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb9c7c82

sys-apps/osinfo-db-tools: Add revbump that uses libsoup:3.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 profiles/package.mask                              |  1 +
 .../osinfo-db-tools-1.10.0-r1.ebuild               | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/profiles/package.mask b/profiles/package.mask
index 7883a3053eed..f9eb35bff7f5 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -513,6 +513,7 @@ net-libs/webkit-gtk:5
 >=net-misc/rygel-0.42
 sci-geosciences/geocode-glib:2
 >=sci-geosciences/gnome-maps-43
+>=sys-apps/osinfo-db-tools-1.10.0-r1
 >=sys-libs/libosinfo-1.10.0-r1
 >=www-client/epiphany-43
 >=x11-wm/mutter-43

diff --git a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild 
b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild
new file mode 100644
index 000000000000..4bbfc428e588
--- /dev/null
+++ b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit meson python-any-r1
+
+DESCRIPTION="Tools for managing the osinfo database"
+HOMEPAGE="https://libosinfo.org/";
+SRC_URI="https://releases.pagure.org/libosinfo/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       >=dev-libs/glib-2.44:2
+       dev-libs/json-glib
+       >=app-arch/libarchive-3.0.0:=
+       net-libs/libsoup:3.0
+       >=dev-libs/libxml2-2.6.0
+"
+# perl dep is for pod2man (manpages)
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       >=sys-devel/gettext-0.19.8
+       dev-lang/perl
+       test? (
+               $(python_gen_any_dep '
+                       dev-python/pytest[${PYTHON_USEDEP}]
+                       dev-python/requests[${PYTHON_USEDEP}]
+               ')
+       )
+"
+
+python_check_deps() {
+       python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \
+       python_has_version "dev-python/requests[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+       use test && python-any-r1_pkg_setup
+}

Reply via email to