pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/rlwrap



Module Name:    pkgsrc
Committed By:   leot
Date:           Mon Jun 23 09:06:51 UTC 2025

Modified Files:
        pkgsrc/misc/rlwrap: Makefile PLIST

Log Message:
rlwrap: drop Perl and Python dependencies

rlwrap needed Perl and Python for filters.
However, quoting filters' README:

 The filters in this directory have been written to test rlwrap,
 not to be practical.

Stop installing them and their documentation and that also avoid extra
Perl and Python dependencies.

Requested by Paul W. Rankin via PR pkg/59480, thanks!

PKGREVISION++


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/misc/rlwrap/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/misc/rlwrap/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/rlwrap/Makefile
diff -u pkgsrc/misc/rlwrap/Makefile:1.32 pkgsrc/misc/rlwrap/Makefile:1.33
--- pkgsrc/misc/rlwrap/Makefile:1.32    Thu Aug 17 21:47:32 2023
+++ pkgsrc/misc/rlwrap/Makefile Mon Jun 23 09:06:51 2025
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2023/08/17 21:47:32 leot Exp $
+# $NetBSD: Makefile,v 1.33 2025/06/23 09:06:51 leot Exp $
 #
 
 DISTNAME=      rlwrap-0.46.1
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hanslub42/}
 
@@ -11,35 +12,9 @@ COMMENT=     Provides command line editing a
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE=         yes
-USE_TOOLS+=            gmake perl:run
+USE_TOOLS+=            gmake
 USE_TOOLS+=            autoreconf autoconf automake
 
-REPLACE_PERL+= filters/censor_passwords
-REPLACE_PERL+= filters/count_in_prompt
-REPLACE_PERL+= filters/debug_null
-REPLACE_PERL+= filters/edit_history
-REPLACE_PERL+= filters/ftp_filter
-REPLACE_PERL+= filters/handle_hotkeys
-REPLACE_PERL+= filters/history_format
-REPLACE_PERL+= filters/listing
-REPLACE_PERL+= filters/logger
-REPLACE_PERL+= filters/null
-REPLACE_PERL+= filters/outfilter
-REPLACE_PERL+= filters/paint_prompt
-REPLACE_PERL+= filters/pipeline
-REPLACE_PERL+= filters/pipeto
-REPLACE_PERL+= filters/scrub_prompt
-REPLACE_PERL+= filters/simple_macro
-REPLACE_PERL+= filters/template
-REPLACE_PERL+= filters/unbackspace
-
-REPLACE_PYTHON+=       filters/*.py
-REPLACE_PYTHON+=       filters/dissect_prompt
-REPLACE_PYTHON+=       filters/handle_sigwinch
-REPLACE_PYTHON+=       filters/makefilter
-
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 TEST_TARGET=           check
 
 pre-configure:
@@ -47,13 +22,13 @@ pre-configure:
 
 .include "options.mk"
 
+# Do not install filters to avoid Perl and Python dependencies.
+# Filter provided by default are used to exercise rlwrap, not to be practical.
 post-install:
-       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/README
-       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/RlwrapFilter.3pm
-       ${CHMOD} -x ${DESTDIR}${PREFIX}/share/rlwrap/filters/RlwrapFilter.pm
+       ${RM} -rf ${DESTDIR}${PREFIX}/share/rlwrap/filters
+       ${RM} -rf ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
 
 BUILDLINK_API_DEPENDS.readline+=readline>=4.2
 .include "../../devel/readline/buildlink3.mk"
-.include "../../lang/python/application.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/misc/rlwrap/PLIST
diff -u pkgsrc/misc/rlwrap/PLIST:1.6 pkgsrc/misc/rlwrap/PLIST:1.7
--- pkgsrc/misc/rlwrap/PLIST:1.6        Thu Mar  4 10:12:12 2021
+++ pkgsrc/misc/rlwrap/PLIST    Mon Jun 23 09:06:51 2025
@@ -1,39 +1,5 @@
-@comment $NetBSD: PLIST,v 1.6 2021/03/04 10:12:12 leot Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/06/23 09:06:51 leot Exp $
 bin/rlwrap
 man/man1/rlwrap.1
-man/man3/RlwrapFilter.3pm
 share/rlwrap/completions/coqtop
 share/rlwrap/completions/testclient
-share/rlwrap/filters/README
-share/rlwrap/filters/RlwrapFilter.3pm
-share/rlwrap/filters/RlwrapFilter.pm
-share/rlwrap/filters/censor_passwords
-share/rlwrap/filters/censor_passwords.py
-share/rlwrap/filters/count_in_prompt
-share/rlwrap/filters/count_in_prompt.py
-share/rlwrap/filters/debug_null
-share/rlwrap/filters/dissect_prompt
-share/rlwrap/filters/edit_history
-share/rlwrap/filters/ftp_filter
-share/rlwrap/filters/ftp_filter.py
-share/rlwrap/filters/handle_hotkeys
-share/rlwrap/filters/handle_hotkeys.py
-share/rlwrap/filters/handle_sigwinch
-share/rlwrap/filters/history_format
-share/rlwrap/filters/listing
-share/rlwrap/filters/logger
-share/rlwrap/filters/logger.py
-share/rlwrap/filters/makefilter
-share/rlwrap/filters/null
-share/rlwrap/filters/null.py
-share/rlwrap/filters/outfilter
-share/rlwrap/filters/paint_prompt
-share/rlwrap/filters/paint_prompt.py
-share/rlwrap/filters/pipeline
-share/rlwrap/filters/pipeto
-share/rlwrap/filters/pipeto.py
-share/rlwrap/filters/rlwrapfilter.py
-share/rlwrap/filters/scrub_prompt
-share/rlwrap/filters/simple_macro
-share/rlwrap/filters/template
-share/rlwrap/filters/unbackspace



Home | Main Index | Thread Index | Old Index