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 Mar 19 13:35:57 UTC 2021

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

Log Message:
net/py-magic-wormhole: Improvements mostly from Adam

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/py-magic-wormhole/Makefile \
    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.1 pkgsrc/net/py-magic-wormhole/Makefile:1.2
--- pkgsrc/net/py-magic-wormhole/Makefile:1.1   Thu Mar 18 18:46:25 2021
+++ pkgsrc/net/py-magic-wormhole/Makefile       Fri Mar 19 13:35:57 2021
@@ -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"
Index: pkgsrc/net/py-magic-wormhole/PLIST
diff -u pkgsrc/net/py-magic-wormhole/PLIST:1.1 pkgsrc/net/py-magic-wormhole/PLIST:1.2
--- pkgsrc/net/py-magic-wormhole/PLIST:1.1      Thu Mar 18 18:46:25 2021
+++ pkgsrc/net/py-magic-wormhole/PLIST  Fri Mar 19 13:35:57 2021
@@ -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