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 2B7E315810D for ; Wed, 17 May 2023 01:38:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7B0AE0864; Wed, 17 May 2023 01:38:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 9928FE085A for ; Wed, 17 May 2023 01:38:20 +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 B37BF340E3B for ; Wed, 17 May 2023 01:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2ACE6A70 for ; Wed, 17 May 2023 01:38:18 +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: <1684287207.69b216fc41a8e28028f4c0fdce7824cd110d2854.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libmodulemd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libmodulemd/Manifest sys-libs/libmodulemd/libmodulemd-2.15.0.ebuild X-VCS-Directories: sys-libs/libmodulemd/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 69b216fc41a8e28028f4c0fdce7824cd110d2854 X-VCS-Branch: master Date: Wed, 17 May 2023 01:38:18 +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: d31bfd67-851b-45c5-9f21-6004cb115fd4 X-Archives-Hash: 1d228602a630e04844ba15474214985e commit: 69b216fc41a8e28028f4c0fdce7824cd110d2854 Author: Matt Jolly footclan ninja> AuthorDate: Sun May 14 12:48:15 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 17 01:33:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69b216fc sys-libs/libmodulemd: add 2.15.0 Signed-off-by: Matt Jolly footclan.ninja> Signed-off-by: Sam James gentoo.org> sys-libs/libmodulemd/Manifest | 1 + sys-libs/libmodulemd/libmodulemd-2.15.0.ebuild | 68 ++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) diff --git a/sys-libs/libmodulemd/Manifest b/sys-libs/libmodulemd/Manifest index 4fb43efeb856..a82ca41029ce 100644 --- a/sys-libs/libmodulemd/Manifest +++ b/sys-libs/libmodulemd/Manifest @@ -1 +1,2 @@ DIST libmodulemd-2.14.0.tar.gz 531166 BLAKE2B 18c3693ef9f74c57c71c7bd80b16d60d0fc2c8732994acae9b8461af5776bfcf8b856eef65222470d070fd256c6ee1468f961ba20b4425502f946d3368e5708c SHA512 dee8e08ada4e246179f88342cd3d3d6736f430b362e36ab1a3605971033ad306a5bf415141a09180a7ea6e70d1532d63d815ca07f208222447b455b9ff0e6f75 +DIST libmodulemd-2.15.0.tar.gz 572396 BLAKE2B 39e9240deb4e1a3278bf323e111b137b980ac5a3069598b7306390d27623730ac1bc826c91ed049257c0d5de8c6a05c3bbc22ac8e9435b5c38c147f0f077ec41 SHA512 6e890952bf6b6fe3ee5790ff71866938627134eaa2d6c6e3bf1940dcf21203dc0101f487801d62f3698e5a50402eb089665c99723aeffd831e5f0b341a63aace diff --git a/sys-libs/libmodulemd/libmodulemd-2.15.0.ebuild b/sys-libs/libmodulemd/libmodulemd-2.15.0.ebuild new file mode 100644 index 000000000000..72b02229c8f2 --- /dev/null +++ b/sys-libs/libmodulemd/libmodulemd-2.15.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-single-r1 + +DESCRIPTION="C Library for manipulating Fedora Modularity metadata files" +HOMEPAGE="https://github.com/fedora-modularity/libmodulemd" +if [[ ${PV} = 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/fedora-modularity/libmodulemd.git" +else + SRC_URI="https://github.com/fedora-modularity/libmodulemd/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" + +IUSE="gtk-doc test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + app-arch/rpm + sys-apps/file + dev-libs/glib:2 + dev-libs/libyaml + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + dev-libs/gobject-introspection + dev-util/glib-utils + gtk-doc? ( + dev-libs/glib[gtk-doc] + dev-util/gtk-doc + ) + test? ( + sys-libs/libmodulemd + ) +" + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc with_docs) + ) + meson_src_configure +} + +src_test() { + meson_src_test --no-suite ci_valgrind +} + +src_install() { + meson_src_install + # We need to compile the gobject introspection overrides to prevent QA warnings + local PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import gi;print(gi._overridesdir)' || die) + python_optimize "${D}${PYTHON_GI_OVERRIDESDIR}/" + +}