diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-02-15 10:34:13 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-02-15 12:36:32 -0800 |
commit | fcc37dfe73262f644f08ef258913da5f389bfd1a (patch) | |
tree | 8a3e830f4c458ce8761fa802c3f4501b816589c4 /sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild | |
parent | sys-apps/osinfo-db: Version bump to 20220214 (diff) | |
download | gentoo-fcc37dfe73262f644f08ef258913da5f389bfd1a.tar.gz gentoo-fcc37dfe73262f644f08ef258913da5f389bfd1a.tar.bz2 gentoo-fcc37dfe73262f644f08ef258913da5f389bfd1a.zip |
sys-apps/osinfo-db-tools: Version bump to 1.10.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild')
-rw-r--r-- | sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild new file mode 100644 index 000000000000..bb15268ef94c --- /dev/null +++ b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.10.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +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:2.4 + >=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() { + use test && \ + has_version "dev-python/pytest[${PYTHON_USEDEP}]" && \ + has_version "dev-python/requests[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} |