ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/www/py-pyjwt/Makefile
Revision: 24119
Committed: Mon Sep 3 15:57:55 2018 UTC (5 years, 8 months ago) by laffer1
Content type: text/plain
File size: 910 byte(s)
Log Message:
add pyjwt

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= pyjwt
4 PORTVERSION= 1.4.0
5 CATEGORIES= www python
6 MASTER_SITES= CHEESESHOP
7 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
8 DISTNAME= PyJWT-${PORTVERSION}
9
10 MAINTAINER= ports@MidnightBSD.org
11 COMMENT= JSON Web Token implementation in Python
12
13 LICENSE= mit
14 LICENSE_FILE= ${WRKSRC}/LICENSE
15
16 # Some tests are skipped without pycrypto, but its not
17 # referenced as a requirement anymore.
18 TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest \
19 ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography \
20 ${PYTHON_PKGNAMEPREFIX}pycrypto>=0:security/py-pycrypto
21
22 USES= python
23 USE_PYTHON= distutils concurrent autoplist
24
25 OPTIONS_DEFINE= RSASSA
26
27 RSASSA_DESC= RSASSA-PKCS1 v1.5 signature support
28 RSASSA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography
29
30 NO_ARCH= yes
31
32 do-test:
33 @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -c /dev/null -v -rs
34
35 .include <bsd.port.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain