commit: 43a550d1d5db179244ccd2181ef6ede131ffa07a Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> AuthorDate: Wed Sep 17 13:35:42 2025 +0000 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> CommitDate: Wed Sep 17 13:35:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a550d1
app-shells/yash: new upstream release Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> app-shells/yash/Manifest | 1 + app-shells/yash/yash-2.60.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-shells/yash/Manifest b/app-shells/yash/Manifest index d94c7daee03e..abc3053361f9 100644 --- a/app-shells/yash/Manifest +++ b/app-shells/yash/Manifest @@ -1 +1,2 @@ DIST yash-2.59.tar.xz 806348 BLAKE2B 8e44156acee78f45fa7c6cf2e82a8bb7e210a33e8259b5c2a43050276ea0390b979b76ca55df9cbee8e96f337b87036d8bc7c9f86d153ba95e0df58ce87a75fa SHA512 eafcd8b9ced1238714076833f8023d158e28a8a5bc4cc9f381b030d7f67b2113c3ae291641a53daceecba053b0f89a6b478b83536b3e93880054aa2856f989e0 +DIST yash-2.60.tar.xz 810564 BLAKE2B bc2feedc8e63dad4d1329f7e4fd00a3a8a504ddae0c873e2c7fc9ab97480140430451e86dee83df3099a4da91f8b411f709d5e6b32325b78eb6b25341aa75035 SHA512 3bd4b0a7220c551a352c5e4b0c2371cb3f9c3b51e1189fc983ef828db1d1a82c50f89631620e2e83a0cda2c3b47a43107272555db0a7e2b33b5fb24272d0a180 diff --git a/app-shells/yash/yash-2.60.ebuild b/app-shells/yash/yash-2.60.ebuild new file mode 100644 index 000000000000..dd0a188a2e22 --- /dev/null +++ b/app-shells/yash/yash-2.60.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" +PLOCALES="en ja" + +inherit flag-o-matic plocale toolchain-funcs + +DESCRIPTION="Yash is a POSIX-compliant command line shell" +HOMEPAGE="https://magicant.github.io/yash/" +SRC_URI="https://github.com/magicant/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" +IUSE="nls test" +RESTRICT="!test? ( test )" + +RDEPEND="sys-libs/ncurses:= + nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext ) + test? ( sys-apps/ed )" + +src_configure() { + append-cflags -std=c99 + + sh ./configure \ + --prefix="${EPREFIX}"/usr \ + --exec-prefix="${EPREFIX}" \ + $(use_enable nls) \ + CC="$(tc-getCC)" \ + LINGUAS="$(plocale_get_locales | sed "s/en/en@quot en@boldquot/")" \ + || die +}
