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

PORTNAME=	fido2
ehaupt's avatar
ehaupt committed
4
PORTVERSION=	0.9.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} \
grembo's avatar
grembo committed
16
17
		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
		${PYTHON_PKGNAMEPREFIX}uhid-freebsd>=1.2.1:devel/py-uhid-freebsd@${PY_FLAVOR}
sunpoet's avatar
sunpoet committed
18
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
wg's avatar
wg committed
19

20
USES=		python:3.6+
wg's avatar
wg committed
21
USE_PYTHON=	autoplist distutils
sunpoet's avatar
sunpoet committed
22

wg's avatar
wg committed
23
24
NO_ARCH=	yes

grembo's avatar
grembo committed
25
do-test:
ehaupt's avatar
ehaupt committed
26
	@cd ${WRKSRC} && ${PYTHON_CMD} -m unittest discover -v
grembo's avatar
grembo committed
27

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