From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 519FB15808A for ; Sat, 26 Jul 2025 21:13:20 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 38307341EA0 for ; Sat, 26 Jul 2025 21:13:20 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2D30C110565; Sat, 26 Jul 2025 21:13:08 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 23706110565 for ; Sat, 26 Jul 2025 21:13:08 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF9B6341E56 for ; Sat, 26 Jul 2025 21:13:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 810E132AE for ; Sat, 26 Jul 2025 21:13:05 +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: <1753456282.43642ccb1a50be257c2278583ec6bc84adb505df.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.15.0.ebuild X-VCS-Directories: sys-apps/dnf5/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 43642ccb1a50be257c2278583ec6bc84adb505df X-VCS-Branch: master Date: Sat, 26 Jul 2025 21:13:05 +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: 99239a0d-3415-42c8-a53d-de09f745938b X-Archives-Hash: 24625c362487fa7158c5b8616381e7f7 commit: 43642ccb1a50be257c2278583ec6bc84adb505df Author: Takuya Wakazono gmail com> AuthorDate: Fri Jul 25 15:04:54 2025 +0000 Commit: David Roman gmail com> CommitDate: Fri Jul 25 15:11:22 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=43642ccb sys-apps/dnf5: add 5.2.15.0 Signed-off-by: Takuya Wakazono gmail.com> sys-apps/dnf5/Manifest | 1 + sys-apps/dnf5/dnf5-5.2.15.0.ebuild | 91 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index da005e69d4..8f506985f3 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -1,2 +1,3 @@ DIST dnf5-5.2.12.0.tar.gz 1744514 BLAKE2B d4b43658e9a0d8d512e1c24338f4fdf43f0e669ddbc1abbf1b2de426995448c3e7e78915c626c5024252bbd1a1e9231c0cae29358390e7ff0071b3a039056d2d SHA512 be2116ee3ae772acfbddbd81149683160c4110d44be490613aa6a65ef42512a899b00234d513f4a1fcf1b6f4481ba55bd7f1c97505dcf5211ef925ffb118b336 DIST dnf5-5.2.13.1.tar.gz 1778552 BLAKE2B 469f2304bd6398a964214ea4c2e8b01f0fadd512dfa515759b177ec2dc62409387b90ee9debd0681273ffe8c81e9bc9855c58e855b8f9d614a1164438ad05656 SHA512 40cf7ad76a5a28d9749452ff53e5c08a28f513c4d3238bb5d6ebe3f29dac9dd7365e247ed283f186428267696d88b4a2a51c41fe74f1b6ee2436e460764b22ee +DIST dnf5-5.2.15.0.tar.gz 1909806 BLAKE2B 8b4a3074139339221add4fb7b21e10e77bfa30becb0bf09da3656772d042a67abeb97cb148046effe59f4733352943ee2703d50eeec88e1aaff1a0af5ccbdc95 SHA512 81328cef4bf1d371b275a50d82a7e641b1eb405a3584f263174be2b1b8db3fdc8225f77a59491e539d990725c54754ed42bae345000ebd306f12e75b1a75facf diff --git a/sys-apps/dnf5/dnf5-5.2.15.0.ebuild b/sys-apps/dnf5/dnf5-5.2.15.0.ebuild new file mode 100644 index 0000000000..1237289a73 --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.15.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{12..14} ) +inherit cmake python-single-r1 + +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="appstream nls python systemd test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-arch/rpm-4.17.0 + dev-cpp/sdbus-c++:0/2 + 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.20.0 + >=dev-libs/libsolv-0.7.25 + dev-libs/libxml2 + sys-apps/util-linux + >=sys-libs/libmodulemd-2.11.2 + sys-libs/zlib + appstream? ( >=dev-libs/appstream-0.16:= ) + python? ( ${PYTHON_DEPS} ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/sphinx + virtual/pkgconfig + python? ( dev-lang/swig ) + 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" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +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 -i 's/-Werror[^[:space:])]*//' CMakeLists.txt || die + # breathe is only needed for api doc + sed -i "/'breathe',/d" doc/conf.py.in || die +} + +src_configure() { + local mycmakeargs=( + -DWITH_HTML=OFF + -DWITH_PERL5=OFF + -DWITH_RUBY=OFF + -DWITH_PLUGIN_APPSTREAM=$(usex appstream) + -DWITH_PYTHON3=$(usex python) + -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 +} + +src_install() { + cmake_src_install + use python && python_optimize +}