Here is an update for Term::ReadLine::Gnu.
What's new upstream (partial, see [0]):
- improved UTF-8 handling
- modernisation of the code base (but they still want to be Perl
5.8.x compatible)
- support up to readline-8.0, with all new functions imported as
well
What's new in the port:
- Regen WANTLIB, add license marker
- add DISPLAY to TEST_FLAGS, as the module requires it
Testing:
- 'make test' passes
- There are 6 consumers that i've tested [1]. shells/perlsh' test
was done before i fixed [2] it, otherwise i've found no issues
due to that update.
Comments/feedback are welcome!
Charlène.
[0] https://metacpan.org/source/HAYASHI/Term-ReadLine-Gnu-1.36/Changes
[1] http://0x0.st/zmzN.tgz
[2] https://marc.info/?l=openbsd-ports&m=155814186322224&w=2
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ReadLine-Gnu/Makefile,v
retrieving revision 1.33
diff -u -p -u -p -r1.33 Makefile
--- Makefile 20 Mar 2016 19:56:36 -0000 1.33
+++ Makefile 19 May 2019 00:03:03 -0000
@@ -3,15 +3,16 @@
COMMENT= GNU Readline Library Wrapper Module
MODULES= cpan
-DISTNAME= Term-ReadLine-Gnu-1.28
+DISTNAME= Term-ReadLine-Gnu-1.36
CATEGORIES= devel
+# Perl
PERMIT_PACKAGE_CDROM= Yes
-WANTLIB += c perl readline termcap
+WANTLIB += c perl readline curses
-TEST_DEPENDS= x11/p5-Tk
-TEST_FLAGS= TERM=${TERM}
+TEST_DEPENDS= x11/p5-Tk
+TEST_FLAGS= TERM=${TERM} DISPLAY=${DISPLAY}
TEST_IS_INTERACTIVE= x11
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ReadLine-Gnu/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo 9 Jan 2016 09:44:49 -0000 1.10
+++ distinfo 19 May 2019 00:03:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (Term-ReadLine-Gnu-1.28.tar.gz) = DRQN9RVVec/cgz/uMPSnBAEkQzPZPq2U7GQCLi1wVRc=
-SIZE (Term-ReadLine-Gnu-1.28.tar.gz) = 77031
+SHA256 (Term-ReadLine-Gnu-1.36.tar.gz) = mgj3pAE8m4ZVQcENu6EhB3nrkSi5YSULdG0mcCuraSU=
+SIZE (Term-ReadLine-Gnu-1.36.tar.gz) = 128336
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/p5-Term-ReadLine-Gnu/pkg/PLIST,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 PLIST
--- pkg/PLIST 9 Jan 2016 09:44:49 -0000 1.13
+++ pkg/PLIST 19 May 2019 00:03:03 -0000
@@ -12,6 +12,43 @@ ${P5ARCH}/auto/Term/ReadLine/
${P5ARCH}/auto/Term/ReadLine/Gnu/
${P5ARCH}/auto/Term/ReadLine/Gnu/Gnu.so
${P5ARCH}/auto/Term/ReadLine/Gnu/XS/
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/Tk_getc.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/_ch_wrapper.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/_str2fn.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/_str2map.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/_tgetstrs.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/_trp_completion_function.al
${P5ARCH}/auto/Term/ReadLine/Gnu/XS/autosplit.ix
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/change_ornaments.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/display_readline_version.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/get_history_event.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/hist_arg_extract.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/hist_list.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/history_expand_line.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/list_completion_function.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/operate_and_get_next.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/ornaments.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_add_funmap_entry.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_bind_key.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_bind_key_if_unbound.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_bind_keyseq.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_bind_keyseq_if_unbound.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_call_function.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_completion_mode.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_copy_keymap.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_discard_keymap.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_filename_list.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_generic_bind.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_invoking_keyseqs.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_macro_bind.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_message.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_set_key.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_set_keymap.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_tty_set_default_bindings.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/rl_tty_unset_default_bindings.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/shadow_redisplay.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/unbind_command.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/unbind_function.al
+${P5ARCH}/auto/Term/ReadLine/Gnu/XS/unbind_key.al
@man man/man1/perlsh.1
@man man/man3p/Term::ReadLine::Gnu.3p
No comments:
Post a Comment