commit:     3303f7d2009cc34795c14b408a11da0cc1bd5a84
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 31 19:43:05 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Mar 31 19:43:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3303f7d2

dev-libs/atf: add 0.23

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-libs/atf/Manifest        |  1 +
 dev-libs/atf/atf-0.23.ebuild | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/dev-libs/atf/Manifest b/dev-libs/atf/Manifest
index 8d80871d32de..7881e6565fe5 100644
--- a/dev-libs/atf/Manifest
+++ b/dev-libs/atf/Manifest
@@ -1,2 +1,3 @@
 DIST atf-0.21.tar.gz 567791 BLAKE2B 
e9449bb61008a91c10050462e84ff65c6fd88124db56ff3f6c149ff47fe8647fe8fe786cd7b1106cbfd62723a57ab613432323f266a93a4c86d8a6ab39bfcc0a
 SHA512 
9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1
 DIST atf-0.22.tar.gz 196918 BLAKE2B 
9dcd71d71daeb6a9364382d93972254c303599b61be2ae5126136ee5e00a6af1c8d9e7d5b25964f6a21edff7ce1e2bbad43e9ed5819d7dcfa0b83b55fa664750
 SHA512 
2bf2e8cb379aae6b435bfe9deb6d235c1641ec4ae9604fcfe9bb90324fd298b0ee7b7be2df3dd80cb140fe777936b239a14bab766b72a5a9862c1a463cea9455
+DIST atf-0.23.tar.gz 203418 BLAKE2B 
7c7467c64779cd02968d01be938a8d64249af35e0ace2a898be401b3bd81c0b4c90969849f75d3b69f90ca5c9162f971c6e956daecc2470abcb965017aa6f5ba
 SHA512 
4dd6389690ddb73acb1e50cc893732df626ef5099e66e67a701ab95dfa21e2a63ea8a24f2e42a4997d1aed742b8bfa5a05f5f06f43f64d4542d6cc2549dc1322

diff --git a/dev-libs/atf/atf-0.23.ebuild b/dev-libs/atf/atf-0.23.ebuild
new file mode 100644
index 000000000000..addc6177c88a
--- /dev/null
+++ b/dev-libs/atf/atf-0.23.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2017-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Libraries to write tests in C, C++ and shell"
+HOMEPAGE="https://github.com/freebsd/atf";
+SRC_URI="https://github.com/freebsd/atf/archive/refs/tags/${P}.tar.gz";
+S="${WORKDIR}/atf-${P}"
+
+LICENSE="BSD BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
+
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myconf=(
+               ATF_SHELL="${EPREFIX}/bin/sh"
+       )
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       default
+       rm -r "${ED}"/usr/tests || die
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to