From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C5D4A1581D3 for ; Fri, 24 May 2024 06:06:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5202E2A3F; Fri, 24 May 2024 06:06:34 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C9F45E2A3F for ; Fri, 24 May 2024 06:06:34 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B1B033BDF0 for ; Fri, 24 May 2024 06:06:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A57FED0 for ; Fri, 24 May 2024 06:06:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1716530744.fa6d1a279b835c590ed0aec9d9e52ed8bb39af76.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gentoo-functions/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/gentoo-functions/Manifest sys-apps/gentoo-functions/gentoo-functions-1.6.ebuild X-VCS-Directories: sys-apps/gentoo-functions/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: fa6d1a279b835c590ed0aec9d9e52ed8bb39af76 X-VCS-Branch: master Date: Fri, 24 May 2024 06:06:32 +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: c14da452-519e-461b-a327-74d495975149 X-Archives-Hash: cc8d64213aa68934f9b88a80b1e3d5e5 commit: fa6d1a279b835c590ed0aec9d9e52ed8bb39af76 Author: Sam James gentoo org> AuthorDate: Fri May 24 06:05:44 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 24 06:05:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6d1a27 sys-apps/gentoo-functions: add 1.6 Kerin Millar (15): test-functions: Actually remove print_args() Significantly improve _print_args() behaviour Have edo() clarify that something is being executed Micro-optimise _print_args() Add an eqatag() function test-functions: Include /opt/pkg/bin in PATH Have _print_args() produce octal sequences for DEL Correct an awk else clause in _print_args() Render argument checking more stringent; standardise diagnostics Adhere to the Allman style (again) test-functions: Render tests somewhat fast again test-functions: Minor ebegin() test refactoring Explain why is_older_than() checks for the presence of gfind Micro-optimise the eqatag() argument parsing loop Correct the wrapping of a comment Sam James (1): meson.build: prepare for gentoo-functions-1.6 Signed-off-by: Sam James gentoo.org> sys-apps/gentoo-functions/Manifest | 1 + .../gentoo-functions/gentoo-functions-1.6.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/sys-apps/gentoo-functions/Manifest b/sys-apps/gentoo-functions/Manifest index 8fdeedec8e3f..e6428d450ab9 100644 --- a/sys-apps/gentoo-functions/Manifest +++ b/sys-apps/gentoo-functions/Manifest @@ -1,2 +1,3 @@ DIST gentoo-functions-0.19.tar.bz2 12079 BLAKE2B be0a3a54d4dee1755866047b670a69cd6fec368239123c3f0c08180b79a33c20147bca0e35e568faef6877513551e731bdf0c181aeb0460f6574d2d708219373 SHA512 2674d3fe5724cc6d685ae58bf0ee33f4a1bdba2c5e5809cfb193fd0a710d4678c2d9392c2c62d2321cf455f524950266dc1629ab684fe46632d179e539d5a39e DIST gentoo-functions-1.5.tar.bz2 15808 BLAKE2B 99c330eb4c7f1d7af67b6f93dba565f9ea37c15e82d0b97157067279671dc3918668bf8120f7c410f018d67761cee41320efaec4df43639765d023b23a3a9a7f SHA512 f7add7770f40e110864f16978e968bfd937c1a5099e336cc04f6861483bae36ff7932f502994df1ddfa347beef8736bd39bd276bafbe04190c9915446457ce15 +DIST gentoo-functions-1.6.tar.bz2 16795 BLAKE2B c901cdb8f2fcb507b5397e9ce674a12641f2129b9be05776bb272e09b9db3a6d205e6a00ef51f71b3203eac4e333b297cfe5ae5d61f9dd43074073a749ca171e SHA512 922b801c79f12d15bcabdb6cd52246cc60a4b512dfcc10bb3933f07d2ec03e01fe5be72502ae34c87374c8a7e880ce268e7dc8d1afcbd28b65efb51b9e467306 diff --git a/sys-apps/gentoo-functions/gentoo-functions-1.6.ebuild b/sys-apps/gentoo-functions/gentoo-functions-1.6.ebuild new file mode 100644 index 000000000000..8df3a1e88bad --- /dev/null +++ b/sys-apps/gentoo-functions/gentoo-functions-1.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 2014-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/gentoo-functions.git" +else + SRC_URI="https://gitweb.gentoo.org/proj/gentoo-functions.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +inherit meson + +DESCRIPTION="Base functions required by all Gentoo systems" +HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git" + +LICENSE="GPL-2 public-domain" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +# Specifically needs GNU find, as well. +RDEPEND=">=sys-apps/findutils-4.9" + +src_configure() { + local emesonargs=( + # Deliberately avoid /usr as consumers assume we're at /lib/gentoo. + --prefix="${EPREFIX:-/}" + --mandir="${EPREFIX}/usr/share/man" + $(meson_use test tests) + ) + + meson_src_configure +}