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:   schmonz
Date:           Wed May 21 15:26:02 UTC 2025

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

Log Message:
py-magic-wormhole: install shell completions where they'll get found and used.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/net/py-magic-wormhole/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/py-magic-wormhole/PLIST

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.18 pkgsrc/net/py-magic-wormhole/Makefile:1.19
--- pkgsrc/net/py-magic-wormhole/Makefile:1.18  Sat May 10 12:07:32 2025
+++ pkgsrc/net/py-magic-wormhole/Makefile       Wed May 21 15:26:02 2025
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2025/05/10 12:07:32 gdt Exp $
+# $NetBSD: Makefile,v 1.19 2025/05/21 15:26:02 schmonz Exp $
 
 DISTNAME=      magic-wormhole-0.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    net python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/magic-wormhole/}
 
@@ -48,9 +48,17 @@ TEST_DEPENDS+=       ${PYPKGPREFIX}-magic-worm
 
 USE_LANGUAGES= # none
 
+AUTO_MKDIRS=   yes
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} wormhole wormhole-${PYVERSSUFFIX} || ${TRUE}
+       ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.bash \
+               ${DESTDIR}${PREFIX}/share/bash-completion/completions/wormhole
+       ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.fish \
+               ${DESTDIR}${PREFIX}/share/fish/vendor_completions.d/wormhole.fish
+       ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.zsh \
+               ${DESTDIR}${PREFIX}/share/zsh/site-functions/_wormhole
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/py-magic-wormhole/PLIST
diff -u pkgsrc/net/py-magic-wormhole/PLIST:1.7 pkgsrc/net/py-magic-wormhole/PLIST:1.8
--- pkgsrc/net/py-magic-wormhole/PLIST:1.7      Sat May 10 12:07:32 2025
+++ pkgsrc/net/py-magic-wormhole/PLIST  Wed May 21 15:26:02 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2025/05/10 12:07:32 gdt Exp $
+@comment $NetBSD: PLIST,v 1.8 2025/05/21 15:26:02 schmonz Exp $
 bin/wormhole-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -261,3 +261,6 @@ ${PYSITELIB}/wormhole/wormhole.pyo
 ${PYSITELIB}/wormhole/xfer_util.py
 ${PYSITELIB}/wormhole/xfer_util.pyc
 ${PYSITELIB}/wormhole/xfer_util.pyo
+share/bash-completion/completions/wormhole
+share/fish/vendor_completions.d/wormhole.fish
+share/zsh/site-functions/_wormhole



Home | Main Index | Thread Index | Old Index