Makefile 829 Bytes
Newer Older
wg's avatar
wg committed
1
2
3
# $FreeBSD$

PORTNAME=	fido2
sunpoet's avatar
sunpoet committed
4
PORTVERSION=	0.8.1
wg's avatar
wg committed
5
6
7
8
9
10
11
12
CATEGORIES=	security python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	python@FreeBSD.org
COMMENT=	Provides library functionality for FIDO 2.0

LICENSE=	BSD2CLAUSE
sunpoet's avatar
sunpoet committed
13
14
LICENSE_FILE=	${WRKSRC}/COPYING

sunpoet's avatar
sunpoet committed
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cryptography>=1.5:security/py-cryptography@${PY_FLAVOR} \
sunpoet's avatar
sunpoet committed
16
		${PY_ENUM34} \
grembo's avatar
grembo committed
17
18
19
20
		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}uhid-freebsd>=1.2.1:devel/py-uhid-freebsd@${PY_FLAVOR}
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}pycodestyle>0:devel/py-pycodestyle@${PY_FLAVOR}
wg's avatar
wg committed
21
22
23

USES=		python
USE_PYTHON=	autoplist distutils
sunpoet's avatar
sunpoet committed
24

wg's avatar
wg committed
25
26
NO_ARCH=	yes

grembo's avatar
grembo committed
27
28
29
do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

wg's avatar
wg committed
30
.include <bsd.port.mk>