git: 657f1868b039 - main - net/py-magic-wormhole: Update version 0.13.0=>0.14.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Apr 2024 15:42:02 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=657f1868b039070f005d165f29abd6dca7a275f2 commit 657f1868b039070f005d165f29abd6dca7a275f2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-04-04 12:59:38 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-04-04 15:41:41 +0000 net/py-magic-wormhole: Update version 0.13.0=>0.14.0 Changelog: https://github.com/magic-wormhole/magic-wormhole/releases/tag/0.14.0 --- net/py-magic-wormhole/Makefile | 25 +++++++++++++++++++++++-- net/py-magic-wormhole/distinfo | 6 +++--- net/py-magic-wormhole/files/patch-setup.py | 10 ++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) diff --git a/net/py-magic-wormhole/Makefile b/net/py-magic-wormhole/Makefile index d6bd3046ac0d..dad2719d7d24 100644 --- a/net/py-magic-wormhole/Makefile +++ b/net/py-magic-wormhole/Makefile @@ -1,6 +1,5 @@ PORTNAME= magic-wormhole -DISTVERSION= 0.13.0 -PORTREVISION= 1 +DISTVERSION= 0.14.0 CATEGORIES= net MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -30,4 +29,26 @@ USE_PYTHON= autoplist cryptography distutils NO_ARCH= yes +OPTIONS_DEFINE= BASH FISH ZSH +OPTIONS_DEFAULT= BASH FISH ZSH + +BASH_PLIST_FILES= share/bash-completion/completions/wormhole +FISH_PLIST_FILES= share/fish/completions/wormhole.fish +ZSH_PLIST_FILES= share/zsh/site-functions/_wormhole + +post-install-BASH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ + ${INSTALL_SCRIPT} ${WRKSRC}/wormhole_complete.bash \ + ${STAGEDIR}${PREFIX}/share/bash-completion/completions/wormhole + +post-install-FISH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions/ + ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.fish \ + ${STAGEDIR}${PREFIX}/share/fish/completions/wormhole.fish + +post-install-ZSH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/wormhole_complete.zsh \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_wormhole + .include <bsd.port.mk> diff --git a/net/py-magic-wormhole/distinfo b/net/py-magic-wormhole/distinfo index 88667f5f55e3..58d527ba9bcd 100644 --- a/net/py-magic-wormhole/distinfo +++ b/net/py-magic-wormhole/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1692764214 -SHA256 (magic-wormhole-0.13.0.tar.gz) = ac3bd68286270e7f149c06149a8e409e5fa34d7feb0e88844a26d29eed2d1516 -SIZE (magic-wormhole-0.13.0.tar.gz) = 274564 +TIMESTAMP = 1712234238 +SHA256 (magic-wormhole-0.14.0.tar.gz) = 006d239f88bff7c37bc2eff60a004e263faf9258f7279192d06ba0c9ced6b080 +SIZE (magic-wormhole-0.14.0.tar.gz) = 281990 diff --git a/net/py-magic-wormhole/files/patch-setup.py b/net/py-magic-wormhole/files/patch-setup.py new file mode 100644 index 000000000000..1da420398159 --- /dev/null +++ b/net/py-magic-wormhole/files/patch-setup.py @@ -0,0 +1,10 @@ +--- setup.py.orig 2024-04-04 12:47:00 UTC ++++ setup.py +@@ -36,7 +36,6 @@ setup(name="magic-wormhole", + "wormhole.test", + "wormhole.test.dilate", + ], +- data_files=[(".", ["wormhole_complete.bash", "wormhole_complete.zsh", "wormhole_complete.fish"])], + entry_points={ + "console_scripts": + [