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 21ADD158013 for ; Sun, 3 Dec 2023 07:01:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 271A02BC026; Sun, 3 Dec 2023 07:01:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0D6912BC026 for ; Sun, 3 Dec 2023 07:01:54 +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 4FE58335D75 for ; Sun, 3 Dec 2023 07:01:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BBF6AD9 for ; Sun, 3 Dec 2023 07:01:50 +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: <1701584534.e6bcf78ee22f45049aedc072d7032091c1e4ab70.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/osinfo-db-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/osinfo-db-tools/Manifest sys-apps/osinfo-db-tools/osinfo-db-tools-1.11.0.ebuild X-VCS-Directories: sys-apps/osinfo-db-tools/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e6bcf78ee22f45049aedc072d7032091c1e4ab70 X-VCS-Branch: master Date: Sun, 3 Dec 2023 07:01:50 +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: 1e413589-189b-42af-997b-4c56974098c5 X-Archives-Hash: 4f4f88a398c0d52b8dafe2ee0d2c312e commit: e6bcf78ee22f45049aedc072d7032091c1e4ab70 Author: Michal Privoznik gmail com> AuthorDate: Tue Nov 28 08:48:34 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 3 06:22:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6bcf78e sys-apps/osinfo-db-tools: Add 1.11.0 Unfortunately, libxml2 fixes missed the release and thus we need to carry them over. Signed-off-by: Michal Privoznik gmail.com> Signed-off-by: Sam James gentoo.org> sys-apps/osinfo-db-tools/Manifest | 1 + .../osinfo-db-tools/osinfo-db-tools-1.11.0.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/sys-apps/osinfo-db-tools/Manifest b/sys-apps/osinfo-db-tools/Manifest index ad21a11d115f..3f844b15691a 100644 --- a/sys-apps/osinfo-db-tools/Manifest +++ b/sys-apps/osinfo-db-tools/Manifest @@ -1 +1,2 @@ DIST osinfo-db-tools-1.10.0.tar.xz 60508 BLAKE2B 2b9abbdba25add96440e2a937ae994c0305f995b924ffc7c88c2c31c122d3e5cf0c710fbf55724bea56f63be7250321ee27d2179e3f247461d6843f7e03dfc58 SHA512 27271b15404a6cb0065854ba8556c272cf3427ff4fd18fc9a22dbca2b01686c32661b24e18f5eff9a1b240a3a459d8fe66cbde530873d60b8c850bdd0b42c475 +DIST osinfo-db-tools-1.11.0.tar.xz 64792 BLAKE2B fc085da5bad46c5c178bdd09cc294c8f0f208cbd3ee4dda9e22bd681cac70913bc4dc9a11d44d252b5d7cb33b8a5625aca7c285ae098f72839e5fe4d2238c157 SHA512 adab5b16d8fcbae89619eb12f669fa4c7765a65af54a864995e3a9131bb18ee62568c8f7ed166f0400e5e622f56844ba53ed9ef5c2322e33acb9ef1cf0c94701 diff --git a/sys-apps/osinfo-db-tools/osinfo-db-tools-1.11.0.ebuild b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.11.0.ebuild new file mode 100644 index 000000000000..49f4ca477a35 --- /dev/null +++ b/sys-apps/osinfo-db-tools/osinfo-db-tools-1.11.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..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 ~loong ~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}] + ') + ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.10.0-no-clobber-fortify-source.patch + "${FILESDIR}"/${PN}-1.11.0-Make-xmlError-structs-constant.patch + "${FILESDIR}"/${PN}-1.11.0-osinfo-db-validate-Add-more-libxml-includes.patch +) + +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 +}