mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sys-apps/dnf5: drop 5.2.16.0, 5.2.17.0
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST dnf5-5.2.16.0.tar.gz 1943144 BLAKE2B 3c4cc9c822346b9137fd972308a18645362c40e7d7a39bcd80cf86cec1355a9c41646777fe3800f238b64514525bbd3e113f4599252f45cf726a0e9aa9e69a1c SHA512 0ff995e94d19d9f0854c138b892e1e9c7b62732316a0c068279e31db4d5d1870fc258515599c2ae43513fb02cf7dfadeb357311e3bc323bd13751a5d126be544
|
||||
DIST dnf5-5.2.17.0.tar.gz 1991354 BLAKE2B 37536733e078bad547e68834173d9a3db36fe92eceb847ad0e232de43ad15d47818d2773ab156b5884d850d5def2bced07e64772e4dd06881a0f11ab652e2b52 SHA512 ea027d5dd6b7802dd7df7a53f74ab6c90a3bee964bf4ddd51fe97692f057d764385cd22a403ed47cb030586e0970ac92a4f6115f19f75799969b74ba382d0f68
|
||||
DIST dnf5-5.3.0.0.tar.gz 2064817 BLAKE2B 77b43b6d276851e9cb10904747a46d30219f9068fd18967f46eee8599a1f59e401a15db49e548516d651272c7e3b6f4f251699a83b1d386912e667dc430dbc8f SHA512 8e391462de3386ee5dda7c3d5c4521c12219e34ac0c30f65d243768ee4d58df15fe5dcbe60b92f4ffb10a99f7e1d3b333d9d1d53cc03410f16a01aa6593e0145
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
# 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
|
||||
virtual/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
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# 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
|
||||
virtual/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
|
||||
}
|
||||
Reference in New Issue
Block a user