commit: ced12e3b4a58777f65b99020b394c5e2b3fb6ef6 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sat Oct 18 20:46:23 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Oct 18 20:50:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced12e3b
dev-libs/rinutils: add 0.10.3 Closes: https://bugs.gentoo.org/964580 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/rinutils/Manifest | 1 + .../rinutils-0.10.3-cmake-minreqver-3.10.patch | 35 +++++++++++++++++ dev-libs/rinutils/rinutils-0.10.3.ebuild | 45 ++++++++++++++++++++++ 3 files changed, 81 insertions(+) diff --git a/dev-libs/rinutils/Manifest b/dev-libs/rinutils/Manifest index 892e90ffdfd6..47daee6591c0 100644 --- a/dev-libs/rinutils/Manifest +++ b/dev-libs/rinutils/Manifest @@ -1 +1,2 @@ DIST rinutils-0.10.2.tar.xz 19452 BLAKE2B 45345ab9cdefaa789856d312a1fb3e595e2be9701d0dc33ddc8f49b5b45caf4b1e1de6463a20245a841902b82bdeb6f0c7dcd8c89071159f1e85938537f41d0b SHA512 e2bc6304e84235947aa9aeb09fae0a27c10892ce547d59ab82569e2f03219a783a20c3bf7bd8a471464c2c07fe465eb8f2985e31d1f0e060da7d7bd832a67b67 +DIST rinutils-0.10.3.tar.xz 19192 BLAKE2B 32875b3b8afcdbe66fb0f68b5b6d67599b55577b80d2e6d90c04e670592b253964be8dcf7db0521d96b05d52feccd5379a26e20f965a2867f6c290057cbb05f4 SHA512 fe9e774c597012bb0d86b867bb05d27d00234edcca89a61f715f96464e06d5985286328b2cb8960f1582ea25fb5b04eb37b6384b3d178b8dca959f4e3d86a0ff diff --git a/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch b/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch new file mode 100644 index 000000000000..cb8aaba28733 --- /dev/null +++ b/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch @@ -0,0 +1,35 @@ +Source: https://github.com/shlomif/rinutils/pull/7 + +From e872b44309ef2df02055c2da2f438ed1d5afede6 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <[email protected]> +Date: Sat, 18 Oct 2025 22:41:36 +0200 +Subject: [PATCH] Raise CMake minimum version to 3.10..3.31 range + +CMake 3.10 was released in 2017. Fixes warning since CMake-3.31: + +CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): +Compatibility with CMake < 3.10 will be removed from a future version of +CMake. + +Update the VERSION argument value. Or, use the ... syntax +to tell CMake that the project requires at least but has been updated +to work with policies introduced by or earlier. + +Signed-off-by: Andreas Sturmlechner <[email protected]> +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index fd6ea92..6910899 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-CMAKE_MINIMUM_REQUIRED(VERSION 3.5) ++CMAKE_MINIMUM_REQUIRED(VERSION 3.10..3.31) + PROJECT(rinutils) + + INCLUDE ("${CMAKE_SOURCE_DIR}/cmake/shlomif_common_bootstrap.cmake") +-- +2.51.1 + diff --git a/dev-libs/rinutils/rinutils-0.10.3.ebuild b/dev-libs/rinutils/rinutils-0.10.3.ebuild new file mode 100644 index 000000000000..3a4fee445e31 --- /dev/null +++ b/dev-libs/rinutils/rinutils-0.10.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Set of C headers containing macros and static functions" +HOMEPAGE="https://www.shlomifish.org/open-source/projects/ https://github.com/shlomif/rinutils" +SRC_URI="https://github.com/shlomif/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-perl/Env-Path + dev-perl/Path-Tiny + dev-perl/Inline + dev-perl/Inline-C + dev-perl/Test-TrailingSpace + dev-perl/Test-Differences + dev-perl/IO-All + dev-perl/Perl-Critic + dev-perl/Perl-Tidy + dev-perl/Test-Pod + dev-perl/Test-Pod-Coverage + dev-perl/Test-Trap + dev-util/cmocka + ) +" + +PATCHES=( "${FILESDIR}/${P}-cmake-minreqver-3.10.patch" ) # bug #964580 + +src_configure() { + local mycmakeargs=( + -DDISABLE_APPLYING_RPATH=OFF + -DWITH_TEST_SUITE=$(usex test ON OFF) + ) + + cmake_src_configure +}
