aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-libnacl/Makefile
blob: 643f583adbb495d35db6b58aed68d7caf82729c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libnacl
PORTVERSION=    1.4.4
PORTREVISION=   1
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:security/libsodium

USES=       python
USE_PYTHON= autoplist distutils

NO_ARCH=    yes

do-test:
    ${TOUCH} ${WRKSRC}/tests/__init__.py
    @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>