public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/gentoo-functions/
Date: Sat,  5 Oct 2024 07:28:15 +0000 (UTC)	[thread overview]
Message-ID: <1728113180.c4abab34f5ed78333d0b21355aa21ca31f6b2cca.sam@gentoo> (raw)

commit:     c4abab34f5ed78333d0b21355aa21ca31f6b2cca
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  5 07:26:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  5 07:26:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4abab34

sys-apps/gentoo-functions: add 1.7.3

Kerin Millar (19):
      Abort sourcing for yash in posixlycorrect mode
      Abort sourcing for ksh93
      Explicitly initialise a local variable in _update_pid()
      test-functions: do not check that genfun_time is greater than -1
      Ensure that LC_ALL is exported in srandom(); be safer for macOS
      Use an entropy pool for the mksh-targeting srandom() implementation
      Use an entropy pool in srandom(), even if the shell has forked
      Reduce the two non-bash srandom() implementations to just one
      Check for SRANDOM support in a safer manner
      Check for EPOCHREALTIME support in a safer manner
      Put braces around the expansion of the path variable
      Disable shellcheck SC2153
      Print a diagnostic message if no modules can be found
      Have whenceforth() work around a word splitting bug in OpenBSD sh
      Move an SC2317 exemption closer to where it is needed
      Optimise trim() for bash where processing the positional parameters
      Double quote a ${parameter+word} expansion in defer()
      Warn upon sourcing if errexit or nounset be enabled
      Document that the pipefail option is unsupported

Sam James (1):
      meson.build: prepare for gentoo-functions-1.7.3

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/gentoo-functions/Manifest                 |  1 +
 .../gentoo-functions/gentoo-functions-1.7.3.ebuild | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/sys-apps/gentoo-functions/Manifest b/sys-apps/gentoo-functions/Manifest
index e8aff49dffd4..a141f6db445d 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.7.2.tar.bz2 29059 BLAKE2B 2b3d13e6f5b553fd0fa7a0880677bd61c82c8815d3801a2d80e7632a97c36f81b41075109856f6248ad0eb2453b511066e63a110c97984e6427135ad19cdc234 SHA512 3839b04784576cc5c5824b24f967862ea421be051983d1ac587de7e21b0fbc4f403e0d4f707ee5cbcf466ec4a12d188da9413a81ca71993c957328ff225cb9af
+DIST gentoo-functions-1.7.3.tar.bz2 29623 BLAKE2B e37fcaf7ca70eda4507f8b539ad37c989a3a6d28d2a063aa1650f60f8cbb28b00103ffea0f1221fd4e8379d4066bca1fd5aeee30073eed6274cfaaaa277bee84 SHA512 4c5d5c9e8b93e366c5483e8777dfdc15afc6764110cc69f751bb5cc1e335dd70e0952017ea55f1be70fcd5120f07708b1601638c97132f53acde8b3f5a4afe34

diff --git a/sys-apps/gentoo-functions/gentoo-functions-1.7.3.ebuild b/sys-apps/gentoo-functions/gentoo-functions-1.7.3.ebuild
new file mode 100644
index 000000000000..320c82e6dfe3
--- /dev/null
+++ b/sys-apps/gentoo-functions/gentoo-functions-1.7.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2014-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Base functions required by all Gentoo systems"
+HOMEPAGE="https://gitweb.gentoo.org/proj/gentoo-functions.git"
+
+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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+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
+}
+
+src_install() {
+	meson_src_install
+
+	if [[ ${EPREFIX} ]]; then
+		while read -r; do
+			if [[ ${REPLY} == $'\t'genfun_prefix= ]]; then
+				printf '\tgenfun_prefix=%q\n' "${EPREFIX}"
+			else
+				printf '%s\n' "${REPLY}"
+			fi || ! break
+		done < "${ED}/lib/gentoo/functions.sh" > "${T}/functions.sh" \
+		&& mv -- "${T}/functions.sh" "${ED}/lib/gentoo/functions.sh" \
+		|| die
+	fi
+}


             reply	other threads:[~2024-10-05  7:28 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05  7:28 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-11 10:26 [gentoo-commits] repo/gentoo:master commit in: sys-apps/gentoo-functions/ Sam James
2024-08-11 10:26 Sam James
2024-08-11 10:26 Sam James
2024-08-05 20:42 Sam James
2024-08-05  2:16 Sam James
2024-08-05  2:05 Sam James
2024-06-25  4:10 Sam James
2024-05-24  6:06 Sam James
2024-05-18 16:08 Sam James
2024-05-18 15:35 Sam James
2024-05-18 15:35 Sam James
2024-05-18 15:35 Sam James
2024-05-15 10:31 Sam James
2024-05-14  0:20 Sam James
2023-10-12  9:47 Sam James
2023-08-24 20:48 Sam James
2023-08-24 20:48 Sam James
2023-08-24 14:56 William Hubbs
2023-08-23 21:53 William Hubbs
2023-06-09 11:18 Sam James
2023-06-01  4:21 Sam James
2023-06-01  3:34 Sam James
2023-06-01  3:34 Sam James
2023-06-01  3:29 Sam James
2023-06-01  3:29 Sam James
2023-06-01  3:29 Sam James
2023-06-01  3:29 Sam James
2023-02-07 23:55 Sam James
2023-02-07 23:55 Sam James
2023-02-06  4:50 Sam James
2023-02-06  4:33 Sam James
2022-09-23  2:09 Sam James
2022-09-16 17:01 Arthur Zamarin
2022-09-16 10:37 Arthur Zamarin
2022-09-14 19:39 Arthur Zamarin
2022-09-07  1:50 Sam James
2022-09-06 21:44 Jakov Smolić
2022-09-06 21:41 Sam James
2022-09-06 21:41 Sam James
2022-09-06 21:37 Sam James
2022-07-29  2:18 Sam James
2022-07-29  2:08 Sam James
2022-02-24 15:02 Sam James
2022-02-19  9:40 Arthur Zamarin
2022-02-19  9:35 Arthur Zamarin
2022-02-19  3:02 Sam James
2022-02-19  2:36 Sam James
2022-02-19  2:36 Sam James
2022-02-19  2:28 Sam James
2022-02-19  2:24 Sam James
2021-08-30 21:18 Mike Gilbert
2021-05-15 22:15 David Seifert
2021-05-15 19:14 Sergei Trofimovich
2021-05-14  9:35 Agostino Sarubbo
2021-05-13 21:17 Sam James
2021-05-13 21:17 Sam James
2021-05-13 21:16 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2021-05-13 21:15 Sam James
2021-01-06 15:26 Fabian Groffen
2020-12-27 18:13 Fabian Groffen
2020-11-19 18:26 Mike Gilbert
2020-09-18 10:30 Lars Wendler
2020-09-03 23:57 Sam James
2020-08-29 14:48 Thomas Deutschmann
2020-08-27 18:22 Sergei Trofimovich
2020-08-25 17:48 Sergei Trofimovich
2020-08-23  6:49 Sam James
2020-08-22  5:43 Agostino Sarubbo
2020-08-21 18:20 Agostino Sarubbo
2020-02-08 14:18 David Seifert
2020-01-26 23:33 Mike Gilbert
2020-01-26 23:33 Mike Gilbert
2019-05-04 14:46 Mikle Kolyada
2018-01-09 23:12 Mike Frysinger
2017-10-13 14:49 Mart Raudsepp
2017-10-03 20:45 Andreas Hüttel
2017-09-10 19:47 Sergei Trofimovich
2017-08-31  1:15 Matt Turner
2017-08-31  1:15 Matt Turner
2017-08-31  1:15 Matt Turner
2017-08-29 21:39 Thomas Deutschmann
2017-08-28  4:42 Markus Meier
2017-08-25 13:45 Mikle Kolyada
2017-08-22 21:06 Sergei Trofimovich
2017-05-18 19:34 Mike Gilbert
2016-11-10  5:00 Mike Frysinger
2016-05-04 21:55 Mike Frysinger
2016-05-03 14:11 William Hubbs
2016-05-03 14:11 William Hubbs
2016-05-02 10:46 Patrice Clement
2016-05-01 21:20 William Hubbs
2016-02-29  8:46 Stephen Klimaszewski
2015-09-06 13:25 Agostino Sarubbo
2015-08-16  7:49 Jeroen Roovers
2015-08-12  5:01 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1728113180.c4abab34f5ed78333d0b21355aa21ca31f6b2cca.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox