mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
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)
This commit is contained in:
parent
3033501e58
commit
84cfc95eee
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545117
@ -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
|
||||
|
||||
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}
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user