aboutsummaryrefslogtreecommitdiff
path: root/www/py-django-otp/Makefile
blob: 20116894983d99319d7b1d9cef1c47b18862b7ff (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
PORTNAME=	django-otp
PORTVERSION=	1.5.0
CATEGORIES=	www python
MASTER_SITES=	PYPI
DISTNAME=	django_otp-${PORTVERSION}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Pluggable framework for adding two-factor authentication to Django
WWW=		https://github.com/django-otp/django-otp

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}

USES=		python
USE_PYTHON=	autoplist concurrent pep517

NO_ARCH=	yes

OPTIONS_RADIO=	QR
OPTIONS_RADIO_QR=	QRCODE SEGNO
QRCODE_DESC=	QR code support via qrcode module
SEGNO_DESC=	QR code support via segno module

QRCODE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}qrcode>=0:textproc/py-qrcode@${PY_FLAVOR}
SEGNO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}segno>=0:textproc/py-segno@${PY_FLAVOR}

.include <bsd.port.mk>