pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/py-magic-wormhole



Module Name:    pkgsrc
Committed By:   gdt
Date:           Fri Nov 27 02:18:28 UTC 2026

Modified Files:
        pkgsrc/net/py-magic-wormhole: Makefile

Log Message:
net/py-magic-wormhole: Use PY_RENAME_BINARIES intead of open coding it

As found by pkglint_wiz(1).


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/net/py-magic-wormhole/Makefile

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

Modified files:

Index: pkgsrc/net/py-magic-wormhole/Makefile
diff -u pkgsrc/net/py-magic-wormhole/Makefile:1.26 pkgsrc/net/py-magic-wormhole/Makefile:1.27
--- pkgsrc/net/py-magic-wormhole/Makefile:1.26  Thu Nov 26 17:14:03 2026
+++ pkgsrc/net/py-magic-wormhole/Makefile       Fri Nov 27 02:18:28 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2026/11/26 17:14:03 gdt Exp $
+# $NetBSD: Makefile,v 1.27 2026/11/27 02:18:28 gdt Exp $
 
 # Work around setuptools insisting that distfiles not match the (pypi)
 # package name.
@@ -55,12 +55,11 @@ AUTO_MKDIRS=        yes
 
 PYTHON_VERSIONS_INCOMPATIBLE=  311
 
+PY_RENAME_BINARIES+=   magic-wormhole wormhole
+
 PYTHON_SELF_CONFLICT=  yes # completion files
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       (${MV} magic-wormhole magic-wormhole-${PYVERSSUFFIX} || ${TRUE}) && \
-       (${MV} wormhole wormhole-${PYVERSSUFFIX} || ${TRUE})
        ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.bash \
                ${DESTDIR}${PREFIX}/share/bash-completion/completions/wormhole
        ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.fish \



Home | Main Index | Thread Index | Old Index