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 ECF5D1584AD for ; Sat, 10 May 2025 19:08:32 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D958034331C for ; Sat, 10 May 2025 19:08:32 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C052C110480; Sat, 10 May 2025 19:08:12 +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 bobolink.gentoo.org (Postfix) with ESMTPS id BBB9011047E for ; Sat, 10 May 2025 19:08:12 +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 752133432F7 for ; Sat, 10 May 2025 19:08:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C758D284E for ; Sat, 10 May 2025 19:08:09 +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: <1746894903.d128a3b50b9f4b071ed3ab480dc6ab8706ce3a44.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.13.1.ebuild X-VCS-Directories: sys-apps/dnf5/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: d128a3b50b9f4b071ed3ab480dc6ab8706ce3a44 X-VCS-Branch: master Date: Sat, 10 May 2025 19:08:09 +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: bc8e0703-2317-4a82-b57e-7968c407e82c X-Archives-Hash: 7a7b74b1f49111b5fc64dc5e67a61bf4 commit: d128a3b50b9f4b071ed3ab480dc6ab8706ce3a44 Author: Takuya Wakazono gmail com> AuthorDate: Sat May 10 13:59:35 2025 +0000 Commit: David Roman gmail com> CommitDate: Sat May 10 16:35:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d128a3b5 sys-apps/dnf5: add 5.2.13.1 Signed-off-by: Takuya Wakazono gmail.com> sys-apps/dnf5/Manifest | 1 + sys-apps/dnf5/dnf5-5.2.13.1.ebuild | 92 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index 2ede4c2ff..f9a3220bd 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -1,2 +1,3 @@ DIST dnf5-5.2.11.0.tar.gz 1729306 BLAKE2B fd089677d313991b325c5e8286ab5f14e5a9835775fd9e6d8b1c9d3767c9f7602c18c62c425eb7d0469072fcb9ae2f1c4eec4459e4d8d531bf1a7176ec818e5d SHA512 be97cbead8f083916bfe6b38abc980aabb4ba3534aef836334b901194679b47ba38c122109b880e4d1c07db189896226c0be83c985e07a0c5443c475b9f6c8cf 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 diff --git a/sys-apps/dnf5/dnf5-5.2.13.1.ebuild b/sys-apps/dnf5/dnf5-5.2.13.1.ebuild new file mode 100644 index 000000000..19f0eb4e5 --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.13.1.ebuild @@ -0,0 +1,92 @@ +# 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.17.1 + >=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_ZCHUNK=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 +}