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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 570A0158232 for ; Tue, 10 Dec 2024 11:32:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7445AE08F6; Tue, 10 Dec 2024 11:32:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 5F226E08F6 for ; Tue, 10 Dec 2024 11:32: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 8065C343164 for ; Tue, 10 Dec 2024 11:32:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC3B12145 for ; Tue, 10 Dec 2024 11:32:16 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1733746839.cf058ec653c133be635f09a7b522aef0de7d255a.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/dnf5/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/dnf5/Manifest sys-apps/dnf5/dnf5-5.2.8.1.ebuild X-VCS-Directories: sys-apps/dnf5/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: cf058ec653c133be635f09a7b522aef0de7d255a X-VCS-Branch: master Date: Tue, 10 Dec 2024 11:32:16 +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: 7242e1c3-8ee2-4f3d-b2e0-0eb66466498a X-Archives-Hash: a5af0de7aa0ffbe0467221c316797da4 commit: cf058ec653c133be635f09a7b522aef0de7d255a Author: Takuya Wakazono gmail com> AuthorDate: Mon Dec 9 12:04:35 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Dec 9 12:20:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf058ec6 sys-apps/dnf5: add 5.2.8.1 Signed-off-by: Takuya Wakazono gmail.com> sys-apps/dnf5/Manifest | 1 + sys-apps/dnf5/dnf5-5.2.8.1.ebuild | 78 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index 6ce27f70e..f5ef0c36b 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -1,2 +1,3 @@ DIST dnf5-5.2.6.0.tar.gz 1345711 BLAKE2B 5f5eb39379ec8f50c5a2ba5a92eaf4adeb2eefd1ad4cfa1a73bd1a1dd0e91f2882967864524f520c512f03eb7d04f58515e5356513a3cb490d06e733051ca2d7 SHA512 4c1ccf77e0f34415df2cd1530672053d9acb53c10ca0880c1f7c4ad0fcbebf13ffa31a075d0ccd740969b48f0634b80d8c014ecd0eaa36bbce40d49f420a3216 DIST dnf5-5.2.7.0.tar.gz 1571567 BLAKE2B 92dec0c3a89b6d6d15ff7c5cf683d906d72b8a52fac0d2473410dd3422c50970e97e621c07424aa9d8323ca623bf771b54edc991aa5d825bc141267bf9fe3c05 SHA512 f3ade5df924efc9b07e7e7f7e80cd940dd61b4bdcc48a5c093e87190e9e207083e0f19a2218958f9d36b390f2984deff3d2f5b5bc6953e62173bc567e5e060d7 +DIST dnf5-5.2.8.1.tar.gz 1628391 BLAKE2B 6a78cfcd9e139cf70af12fd8c206724e3a60b08574691cc86a96ae016ade28459a2fa8e594f071dd18b9605ecb2c0c24a7d3cff0745c0cbdca8edf8ba2ef705c SHA512 8a683aa47114b3bef240ade6b92ae25de197196a4c1d5ca802fa26672684e519dabb7c52cc3f9ad4c5f7ea09d05d026f5e930441b81a0ae71563f146ec9b3bd4 diff --git a/sys-apps/dnf5/dnf5-5.2.8.1.ebuild b/sys-apps/dnf5/dnf5-5.2.8.1.ebuild new file mode 100644 index 000000000..0ee66c37a --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.8.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Command-line package manager" +HOMEPAGE="https://github.com/rpm-software-management/dnf5" +SRC_URI="https://github.com/rpm-software-management/dnf5/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="nls systemd test" +PROPERTIES="test_network" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-arch/rpm-4.17.0 + dev-cpp/sdbus-c++:0/1 + dev-cpp/toml11 + >=dev-db/sqlite-3.35.0:3 + >=dev-libs/glib-2.46.0:2 + dev-libs/json-c:= + dev-libs/libfmt:= + >=dev-libs/librepo-1.17.1 + >=dev-libs/libsolv-0.7.25 + dev-libs/libxml2 + sys-apps/util-linux + >=sys-libs/libmodulemd-2.11.2 + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/breathe + dev-python/sphinx + virtual/pkgconfig + test? ( + app-arch/rpm + app-arch/createrepo_c + dev-util/cppunit + ) +" + +PATCHES=( + # Prevent test suite from writing to system files. + "${FILESDIR}/${PN}-5.2.5.0-sandbox-test.patch" + # bug #939518 + "${FILESDIR}/${PN}-5.2.6.0-remove-buggy-tests.patch" +) + +src_prepare() { + cmake_src_prepare + # Replace hardcoded TMPDIR. + sed -i "s|/tmp/|${T}/|" test/libdnf5/utils/test_fs.cpp || die + # remove -Werror{,=unused-result}; bug 936870 + sed 's/-Werror[^[:space:])]*//' -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DWITH_HTML=OFF + -DWITH_PERL5=OFF + -DWITH_PYTHON3=OFF + -DWITH_RUBY=OFF + -DWITH_ZCHUNK=OFF + -DWITH_SYSTEMD=$(usex systemd) + -DWITH_TESTS=$(usex test) + -DWITH_TRANSLATIONS=$(usex nls) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + cmake_src_compile doc-man +}