pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-magic-wormhole net/py-magic-wormhole: Improveme...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c3e26ec2c18
branches:  trunk
changeset: 449017:2c3e26ec2c18
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Mar 19 13:35:57 2021 +0000

description:
net/py-magic-wormhole: Improvements mostly from Adam

(This brings the package up to mostly how it should have been imported.)

diffstat:

 net/py-magic-wormhole/Makefile |  33 ++++++++++++++++++++++++++++-----
 net/py-magic-wormhole/PLIST    |   4 ++--
 2 files changed, 30 insertions(+), 7 deletions(-)

diffs (56 lines):

diff -r 4455317b31e7 -r 2c3e26ec2c18 net/py-magic-wormhole/Makefile
--- a/net/py-magic-wormhole/Makefile    Fri Mar 19 13:25:36 2021 +0000
+++ b/net/py-magic-wormhole/Makefile    Fri Mar 19 13:35:57 2021 +0000
@@ -1,13 +1,36 @@
-# $NetBSD: Makefile,v 1.1 2021/03/18 18:46:25 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2021/03/19 13:35:57 gdt Exp $
 
 DISTNAME=      magic-wormhole-0.12.0
-CATEGORIES=    net
-MASTER_SITES=  https://files.pythonhosted.org/packages/d4/62/5e4a86f7c4b111e016577f1b304063ebe604f430db15465ac58b13993608/
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/magic-wormhole/}
 
 MAINTAINER=    gdt%NetBSD.org@localhost
-HOMEPAGE=      https://files.pythonhosted.org/packages/d4/62/5e4a86f7c4b111e016577f1b304063ebe604f430db15465ac58b13993608/
-COMMENT=       Firewall traversal utility
+HOMEPAGE=      https://github.com/warner/magic-wormhole
+COMMENT=       Securely transfer data between computers
 LICENSE=       mit
 
+PYTHON_VERSIONS_INCOMPATIBLE=          27
+
+DEPENDS+=      ${PYPKGPREFIX}-attrs>=16.3.0:../../devel/py-attrs
+DEPENDS+=      ${PYPKGPREFIX}-autobahn>=0.14.1:../../www/py-autobahn
+DEPENDS+=      ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
+DEPENDS+=      ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-humanize-[0-9]*:../../textproc/py-humanize
+#DEPENDS+=     ${PYPKGPREFIX}-hkdf-[0-9]*:../../security/py-hkdf
+DEPENDS+=      ${PYPKGPREFIX}-nacl-[0-9]*:../../security/py-nacl
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+#DEPENDS+=     ${PYPKGPREFIX}-spake2>=0.8:../../security/py-spake2
+DEPENDS+=      ${PYPKGPREFIX}-tqdm>=4.13.0:../../misc/py-tqdm
+DEPENDS+=      ${PYPKGPREFIX}-twisted>=17.5.0:../../net/py-twisted
+DEPENDS+=      ${PYPKGPREFIX}-txtorcon>=18.0.2:../../net/py-txtorcon
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} wormhole wormhole-${PYVERSSUFFIX} || ${TRUE}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4455317b31e7 -r 2c3e26ec2c18 net/py-magic-wormhole/PLIST
--- a/net/py-magic-wormhole/PLIST       Fri Mar 19 13:25:36 2021 +0000
+++ b/net/py-magic-wormhole/PLIST       Fri Mar 19 13:35:57 2021 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2021/03/18 18:46:25 gdt Exp $
-bin/wormhole
+@comment $NetBSD: PLIST,v 1.2 2021/03/19 13:35:57 gdt Exp $
+bin/wormhole-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt



Home | Main Index | Thread Index | Old Index