commit:     b5d79690d2e6a29cff5484513a7a74d7ed780229
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  5 03:41:43 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan  5 03:41:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d79690

app-misc/rlwrap: add 0.48

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

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

diff --git a/app-misc/rlwrap/Manifest b/app-misc/rlwrap/Manifest
index 4dd0d6a02583..74ac504c8cf8 100644
--- a/app-misc/rlwrap/Manifest
+++ b/app-misc/rlwrap/Manifest
@@ -1,2 +1,3 @@
 DIST rlwrap-0.46.1.tar.gz 340033 BLAKE2B 
8a295d3a1874859d6c7832be28e068011aeea55af2d125263e8b1422cf3fd11be0bd19aaaa11a00930e65ab9d1d8f55b22775475966c821518e9951e74cca464
 SHA512 
abf417e24741ed6b71b9b88ab9995170f6695d0fd665120ce35d8e883e7fd5751cafa1f53f50eaad15e4a162fdfb450752677e0bb0b22dac940cb6264f5a0ce2
 DIST rlwrap-0.47.1.tar.gz 342629 BLAKE2B 
2d97b82366640ed1bb670973d148c0ec4ebfab6488865873696f53cbae972b288cbc6bbfc3577f4c2ba6830c08fdb0487f6584e61f006867a8914ec11ec468e1
 SHA512 
71993d2be36875b5ac1b07ed751dc29a7295403c19945bc695f6628c9625fd63e0c3b31f3351186780a14728ee3b6c3b733ca3e19cfb1470c4dc1aa074ec4df9
+DIST rlwrap-0.48.tar.gz 353592 BLAKE2B 
6c4748a91ec7662bd3e7dccc25344579870333f3de00e7923a03da0502763022909a9dbaf395c03702421e11633283b14cccd4df81b4db9e72be655e2739f123
 SHA512 
210db91484e800021012a048a37c074bb2fcfcbf922ea0213cf024e8639e40c9a5c6dc7e7ff961b69c93f9839eb58184041b336cf78af381fa1258fd166ca80b

diff --git a/app-misc/rlwrap/rlwrap-0.48.ebuild 
b/app-misc/rlwrap/rlwrap-0.48.ebuild
new file mode 100644
index 000000000000..ef9d155af238
--- /dev/null
+++ b/app-misc/rlwrap/rlwrap-0.48.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2026 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 ~mips ~ppc ~riscv ~x86 ~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