diff options
author | Takuya Wakazono <pastalian46@gmail.com> | 2024-09-11 22:30:35 +0900 |
---|---|---|
committer | Takuya Wakazono <pastalian46@gmail.com> | 2024-09-11 22:30:35 +0900 |
commit | d2439b03333ee190fb425a97dc072498d570d5c2 (patch) | |
tree | 59020ff7615626c9d2d1d0e93b1fb1716f399b88 /sys-apps | |
parent | dev-python/jpype: Remove obsolete workaround to distutils-r1.eclass former bl... (diff) | |
download | guru-d2439b03333ee190fb425a97dc072498d570d5c2.tar.gz guru-d2439b03333ee190fb425a97dc072498d570d5c2.tar.bz2 guru-d2439b03333ee190fb425a97dc072498d570d5c2.zip |
sys-apps/dnf5: add 5.2.6.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/dnf5/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/dnf5/dnf5-5.2.6.0.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index df918dcba..03631e621 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -3,3 +3,4 @@ DIST dnf5-5.2.5.0-toml11-2.patch 1245 BLAKE2B 8396ff3028462f91ea97174d43d511ebfe DIST dnf5-5.2.5.0-toml11-3.patch 4223 BLAKE2B 2b1afd2188e7ca4a72208227d3f081041eef651299ea7242dff9273a23df7e0592777c3007af3ba3c581dc6737150d28212b94370d40d16567bfefa33bf5df96 SHA512 8f9abf420845c0240da4c2d776c933722af3858bfe638206390c62dbf3748ad5d4c6bf8482b864e2b43c74ba3b49bab5b2ac15d90a8d815a6e7f42069bd09ec4 DIST dnf5-5.2.5.0-toml11-4.patch 11747 BLAKE2B 83a6cd0f54bcb471b0009e204d10d2eeafc9bf1ad7af1e0a07c0294cb76ebcd728ce43403be8ae5428313adcfd0839886681273f75caefe915496f5e166d7468 SHA512 eb67693605cf6d401393fb11e5d8508f374bc92d10815a881890cbf73c70e057d3d0cfa9e48f888edbde07f24f7741f50162a60c7adbb6e94e84876be6061215 DIST dnf5-5.2.5.0.tar.gz 1303914 BLAKE2B c9fd30aaa74e7e063b1ffbce645a839ba1b82aad92bae70299254a6a62e087246d006af58205f46720f57c1f1eb193eaabe323b6b8d67b31b4ce763b98e573f5 SHA512 9339bdb39a2b55006941909bd9c5e2ebba01258a15952952c346d88bb270cf51b2db91d1938b2bb8ace3c20c58dab3ec11b25454394d270de76580ea6ee49980 +DIST dnf5-5.2.6.0.tar.gz 1345711 BLAKE2B 5f5eb39379ec8f50c5a2ba5a92eaf4adeb2eefd1ad4cfa1a73bd1a1dd0e91f2882967864524f520c512f03eb7d04f58515e5356513a3cb490d06e733051ca2d7 SHA512 4c1ccf77e0f34415df2cd1530672053d9acb53c10ca0880c1f7c4ad0fcbebf13ffa31a075d0ccd740969b48f0634b80d8c014ecd0eaa36bbce40d49f420a3216 diff --git a/sys-apps/dnf5/dnf5-5.2.6.0.ebuild b/sys-apps/dnf5/dnf5-5.2.6.0.ebuild new file mode 100644 index 000000000..d5b62426e --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.6.0.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++:= + 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 empty cache directory from being created. + "${FILESDIR}/${PN}-5.2.5.0-remove-empty-dir.patch" + # Prevent test suite from writing to system files. + "${FILESDIR}/${PN}-5.2.5.0-sandbox-test.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 +} |