aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-pymacaroons-pynacl/Makefile
blob: 007ea99d1dff9343884b29985d07f5fa115e6254 (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
29
30
31
32
33
# Created by: Brendan Molloy <brendan+freebsd@bbqsrc.net>
# $FreeBSD$

PORTNAME=   pymacaroons-pynacl
PORTVERSION=    0.9.3
PORTREVISION=   1
DISTVERSIONPREFIX=  v
CATEGORIES= security devel python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Macaroon library for Python

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

BUILD_DEPENDS=  ${PYTHON_PKGNAMEPREFIX}pynacl>=0.3.0:security/py-pynacl@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${FLAVOR}
TEST_DEPENDS=   ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${FLAVOR}

USES=       python
USE_GITHUB= yes
USE_PYTHON= autoplist distutils

GH_ACCOUNT= matrix-org
GH_PROJECT= pymacaroons

do-test:
    @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests)

.include <bsd.port.mk>