commit:     3ad51c4f74b8985e330b552551e0a6773807de82
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 22 11:50:25 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 22 11:50:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad51c4f

app-misc/rlwrap: add 0.47.1

libptytty is an unconditional dep now as the fallback code is per upstream
'crusty' and 'for obsolete systems'.

Closes: https://bugs.gentoo.org/964934
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/rlwrap/Manifest             |  1 +
 app-misc/rlwrap/rlwrap-0.47.1.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/app-misc/rlwrap/Manifest b/app-misc/rlwrap/Manifest
index 70219042bf19..4dd0d6a02583 100644
--- a/app-misc/rlwrap/Manifest
+++ b/app-misc/rlwrap/Manifest
@@ -1 +1,2 @@
 DIST rlwrap-0.46.1.tar.gz 340033 BLAKE2B 
8a295d3a1874859d6c7832be28e068011aeea55af2d125263e8b1422cf3fd11be0bd19aaaa11a00930e65ab9d1d8f55b22775475966c821518e9951e74cca464
 SHA512 
abf417e24741ed6b71b9b88ab9995170f6695d0fd665120ce35d8e883e7fd5751cafa1f53f50eaad15e4a162fdfb450752677e0bb0b22dac940cb6264f5a0ce2
+DIST rlwrap-0.47.1.tar.gz 342629 BLAKE2B 
2d97b82366640ed1bb670973d148c0ec4ebfab6488865873696f53cbae972b288cbc6bbfc3577f4c2ba6830c08fdb0487f6584e61f006867a8914ec11ec468e1
 SHA512 
71993d2be36875b5ac1b07ed751dc29a7295403c19945bc695f6628c9625fd63e0c3b31f3351186780a14728ee3b6c3b733ca3e19cfb1470c4dc1aa074ec4df9

diff --git a/app-misc/rlwrap/rlwrap-0.47.1.ebuild 
b/app-misc/rlwrap/rlwrap-0.47.1.ebuild
new file mode 100644
index 000000000000..0564c089fd7a
--- /dev/null
+++ b/app-misc/rlwrap/rlwrap-0.47.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="GNU readline wrapper"
+HOMEPAGE="https://github.com/hanslub42/rlwrap";
+SRC_URI="https://github.com/hanslub42/rlwrap/releases/download/v${PV}/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos 
~x64-macos"
+IUSE="debug"
+
+# We always depend on dev-libs/libptytty as while it's technically optional
+# upstream, the fallback code is 'crusty and for obsolete systems'.
+RDEPEND="
+       dev-libs/libptytty
+       sys-libs/ncurses:=
+       sys-libs/readline:=
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       # TODO: Python, Perl?
+       # https://github.com/hanslub42/rlwrap#filters
+       econf $(use_enable debug)
+}

Reply via email to