1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/security/py-securesystemslib/Makefile
Kubilay Kocak 1b81a2a300 [NEW PORT] security/py-securesystemslib: Cryptographic and general-purpose routines
securesystemslib supports public-key and general-purpose cryptography,
such as ECDSA, Ed25519, RSA, SHA256, SHA512, etc. Most of the
cryptographic operations are performed by the cryptography and PyNaCl
libraries, but verification of Ed25519 signatures can be done in pure
Python.

WWW: https://github.com/secure-systems-lab/securesystemslib

[1] https://github.com/secure-systems-lab/securesystemslib/issues/166
[2] https://github.com/secure-systems-lab/securesystemslib/issues/167
2019-05-14 09:25:30 +00:00

34 lines
919 B
Makefile

# $FreeBSD$
PORTNAME= securesystemslib
PORTVERSION= 0.11.3
DISTVERSIONPREFIX=v
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Cryptographic and general-purpose routines
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.11.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>=2.2.2:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colorama>=0.3.9:devel/py-colorama@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pynacl>1.2.0:security/py-pynacl@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_GITHUB= yes # tests/LICENSE not included in PyPI sdist
USE_PYTHON= autoplist distutils
GH_ACCOUNT= secure-systems-lab
GH_TAGNAME= 124bb05d
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs tests
.include <bsd.port.mk>