aboutsummaryrefslogtreecommitdiff
path: root/security/py-ecdsa
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-08-16 13:58:39 +0000
committerSteve Wills <swills@FreeBSD.org>2020-08-16 13:58:39 +0000
commit84cfc95eeee58ab7c0143ddc84e2cc3a7a761e71 (patch)
tree0fde08678ac307eae14c04d26b675c480dca2036 /security/py-ecdsa
parent3033501e58e63f1454aadc12af29ab2852fbf95a (diff)
downloadports-84cfc95eeee58ab7c0143ddc84e2cc3a7a761e71.tar.gz
ports-84cfc95eeee58ab7c0143ddc84e2cc3a7a761e71.zip
security/py-ecdsa: update to 0.15
While here, add optional dependency on gmp or gmp2 for faster arithmetic PR: 247823 Reported by: ehaupt Approved by: koobs (maintainer)
Notes
Notes: svn path=/head/; revision=545117
Diffstat (limited to 'security/py-ecdsa')
-rw-r--r--security/py-ecdsa/Makefile17
-rw-r--r--security/py-ecdsa/distinfo6
2 files changed, 16 insertions, 7 deletions
diff --git a/security/py-ecdsa/Makefile b/security/py-ecdsa/Makefile
index 0ae6830ed099..5c8302200e79 100644
--- a/security/py-ecdsa/Makefile
+++ b/security/py-ecdsa/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= ecdsa
-PORTVERSION= 0.13.3
+PORTVERSION= 0.15
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,12 +13,21 @@ COMMENT= ECDSA cryptographic signature library (pure python)
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
+
USES= python
USE_PYTHON= distutils autoplist
-NO_ARCH= yes
+OPTIONS_RADIO= FASTER
+OPTIONS_RADIO_FASTER= GMPY GMPY2
+OPTIONS_DEFAULT= GMPY2
+
+GMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy>=0:math/py-gmpy@${PY_FLAVOR}
+GMPY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gmpy2>=0:math/py-gmpy2@${PY_FLAVOR}
-do-test:
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
+
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/security/py-ecdsa/distinfo b/security/py-ecdsa/distinfo
index 0d58db019d2a..a10a699949c3 100644
--- a/security/py-ecdsa/distinfo
+++ b/security/py-ecdsa/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1597535431
-SHA256 (ecdsa-0.13.3.tar.gz) = 163c80b064a763ea733870feb96f9dd9b92216cfcacd374837af18e4e8ec3d4d
-SIZE (ecdsa-0.13.3.tar.gz) = 60477
+TIMESTAMP = 1595417334
+SHA256 (ecdsa-0.15.tar.gz) = 8f12ac317f8a1318efa75757ef0a651abe12e51fc1af8838fb91079445227277
+SIZE (ecdsa-0.15.tar.gz) = 122119