Makefile 817 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} \
grembo's avatar
grembo committed
16
17
18
19
		${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
20

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

wg's avatar
wg committed
24
25
NO_ARCH=	yes

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

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