freebsd-ports/security/py-libnacl/Makefile
Kubilay Kocak 5f31c61931 security/py-libnacl: Update to 1.4.3
- Update to 1.4.3
- Patch setup.py so test command is supported
- Add regression-test target

Changes:

  https://libnacl.readthedocs.org/en/latest/topics/releases/1.4.3.html

Based on:

PR:		200830
Submitted by:	Christer Edwards <christer dot edwards gmail com>
2015-06-25 05:48:02 +00:00

25 lines
587 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= libnacl
PORTVERSION= 1.4.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Python bindings for libsodium/tweetnacl based on ctypes
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libsodium.so:${PORTSDIR}/security/libsodium
USES= python
USE_PYTHON= autoplist distutils
regression-test: build
${TOUCH} ${WRKSRC}/tests/__init__.py
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>