[Midnightbsd-cvs] mports [24119] trunk/www: add pyjwt
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Mon Sep 3 11:57:56 EDT 2018
Revision: 24119
http://svnweb.midnightbsd.org/mports/?rev=24119
Author: laffer1
Date: 2018-09-03 11:57:55 -0400 (Mon, 03 Sep 2018)
Log Message:
-----------
add pyjwt
Modified Paths:
--------------
trunk/www/Makefile
trunk/www/py-autobahn/Makefile
Added Paths:
-----------
trunk/www/py-pyjwt/
trunk/www/py-pyjwt/Makefile
trunk/www/py-pyjwt/distinfo
trunk/www/py-pyjwt/files/
trunk/www/py-pyjwt/files/patch-setup.py
trunk/www/py-pyjwt/pkg-descr
Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile 2018-09-03 15:54:58 UTC (rev 24118)
+++ trunk/www/Makefile 2018-09-03 15:57:55 UTC (rev 24119)
@@ -110,6 +110,7 @@
SUBDIR += py-beaker
SUBDIR += py-html5lib
SUBDIR += py-httplib2
+SUBDIR += py-pyjwt
SUBDIR += py-requests
SUBDIR += qt5-webchannel
SUBDIR += qt5-websockets
Modified: trunk/www/py-autobahn/Makefile
===================================================================
--- trunk/www/py-autobahn/Makefile 2018-09-03 15:54:58 UTC (rev 24118)
+++ trunk/www/py-autobahn/Makefile 2018-09-03 15:57:55 UTC (rev 24119)
@@ -43,10 +43,10 @@
.include <bsd.port.pre.mk>
-.if ${FLAVOR} == python2
+.if ${PYTHON_REL} <= 2999
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6:devel/py-zope.interface \
${PYTHON_PKGNAMEPREFIX}twisted>=12.1:devel/py-twisted
-.elif ${FLAVOR} == python3 && ${PYTHON_REL} <= 3300
+.elif ${PYTHON_REL} <= 3300
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>=3.4.3:devel/py-asyncio
.endif
Added: trunk/www/py-pyjwt/Makefile
===================================================================
--- trunk/www/py-pyjwt/Makefile (rev 0)
+++ trunk/www/py-pyjwt/Makefile 2018-09-03 15:57:55 UTC (rev 24119)
@@ -0,0 +1,35 @@
+# $MidnightBSD$
+
+PORTNAME= pyjwt
+PORTVERSION= 1.4.0
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= PyJWT-${PORTVERSION}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= JSON Web Token implementation in Python
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+# Some tests are skipped without pycrypto, but its not
+# referenced as a requirement anymore.
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography \
+ ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto
+
+USES= python
+USE_PYTHON= distutils concurrent autoplist
+
+OPTIONS_DEFINE= RSASSA
+
+RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support
+RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -c /dev/null -v -rs
+
+.include <bsd.port.mk>
Property changes on: trunk/www/py-pyjwt/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-pyjwt/distinfo
===================================================================
--- trunk/www/py-pyjwt/distinfo (rev 0)
+++ trunk/www/py-pyjwt/distinfo 2018-09-03 15:57:55 UTC (rev 24119)
@@ -0,0 +1,2 @@
+SHA256 (PyJWT-1.4.0.tar.gz) = e1b2386cfad541445b1d43e480b02ca37ec57259fd1a23e79415b57ba5d8a694
+SIZE (PyJWT-1.4.0.tar.gz) = 34613
Property changes on: trunk/www/py-pyjwt/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-pyjwt/files/patch-setup.py
===================================================================
--- trunk/www/py-pyjwt/files/patch-setup.py (rev 0)
+++ trunk/www/py-pyjwt/files/patch-setup.py 2018-09-03 15:57:55 UTC (rev 24119)
@@ -0,0 +1,19 @@
+--- setup.py.orig 2016-02-26 09:43:54 UTC
++++ setup.py
+@@ -31,8 +31,6 @@ if sys.argv[-1] == 'publish':
+
+ tests_require = [
+ 'pytest',
+- 'pytest-cov',
+- 'pytest-runner',
+ ]
+
+ setup(
+@@ -61,7 +59,6 @@ setup(
+ 'Topic :: Utilities',
+ ],
+ test_suite='tests',
+- setup_requires=['pytest-runner'],
+ tests_require=tests_require,
+ extras_require=dict(
+ test=tests_require,
Property changes on: trunk/www/py-pyjwt/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/www/py-pyjwt/pkg-descr
===================================================================
--- trunk/www/py-pyjwt/pkg-descr (rev 0)
+++ trunk/www/py-pyjwt/pkg-descr 2018-09-03 15:57:55 UTC (rev 24119)
@@ -0,0 +1,3 @@
+A Python implementation of JSON Web Tokens.
+
+WWW: https://github.com/progrium/pyjwt
Property changes on: trunk/www/py-pyjwt/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list