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 BC2DD1584F2 for ; Thu, 20 Mar 2025 18:53:06 +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 AA0A4343391 for ; Thu, 20 Mar 2025 18:53:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B288F1104AB; Thu, 20 Mar 2025 18:53:05 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id ADAB71104AB for ; Thu, 20 Mar 2025 18:53:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 54FBC34313C for ; Thu, 20 Mar 2025 18:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B70D21D72 for ; Thu, 20 Mar 2025 18:53:03 +0000 (UTC) From: "Takuya Wakazono" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Takuya Wakazono" Message-ID: <1742496730.5fc255f0d1daa795d9f72c8548e16be30cba7913.pastalian46@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/dnf5/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-apps/dnf5/Manifest sys-apps/dnf5/dnf5-5.2.12.0.ebuild X-VCS-Directories: sys-apps/dnf5/ X-VCS-Committer: pastalian46 X-VCS-Committer-Name: Takuya Wakazono X-VCS-Revision: 5fc255f0d1daa795d9f72c8548e16be30cba7913 X-VCS-Branch: dev Date: Thu, 20 Mar 2025 18:53:03 +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: c18dbefc-0318-48c7-8833-81dafa850656 X-Archives-Hash: 20364d6e3fc5ea934b17b285846c43e9 commit: 5fc255f0d1daa795d9f72c8548e16be30cba7913 Author: Takuya Wakazono gmail com> AuthorDate: Thu Mar 20 13:32:17 2025 +0000 Commit: Takuya Wakazono gmail com> CommitDate: Thu Mar 20 18:52:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5fc255f0 sys-apps/dnf5: add 5.2.12.0 Closes: https://bugs.gentoo.org/951278 Signed-off-by: Takuya Wakazono gmail.com> sys-apps/dnf5/Manifest | 1 + sys-apps/dnf5/dnf5-5.2.12.0.ebuild | 92 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index 0cb6e3ffd..ddc27c119 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -1,2 +1,3 @@ DIST dnf5-5.2.10.0.tar.gz 1684363 BLAKE2B bcdac38c8a9dcf31673b44b7aff89e4c638e25508830b62e65d752eb54349e553f0fef2b613e678dfb058a892845f80ae38e9f49ed0ebb248599a3fa35f45ed6 SHA512 968d974c4da4fc5f6d19696dc679cdee0031cdacc46b1a25567c21617c30ef1808ff9b2f52d5abfcfe88a3feab2d28d1cc38b4507501c19d6a029f4fc18c23c4 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 diff --git a/sys-apps/dnf5/dnf5-5.2.12.0.ebuild b/sys-apps/dnf5/dnf5-5.2.12.0.ebuild new file mode 100644 index 000000000..fe84356f7 --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.12.0.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..13} ) +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 +}