aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-20 14:23:05 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-04-20 14:25:45 +0000
commitb56f19a68f982de873bc39f5fb3adab4d49b8818 (patch)
tree5d59c72760e7bf344bc726d373acd12af7edd52e
parenteda98ee893807f75b5f92f5bce164937579617a5 (diff)
downloadports-b56f19a68f982de873bc39f5fb3adab4d49b8818.tar.gz
ports-b56f19a68f982de873bc39f5fb3adab4d49b8818.zip
www/py-django-otp: Update to 1.5.0
-rw-r--r--www/py-django-otp/Makefile10
-rw-r--r--www/py-django-otp/distinfo6
2 files changed, 12 insertions, 4 deletions
diff --git a/www/py-django-otp/Makefile b/www/py-django-otp/Makefile
index a17e9ab0db81..20116894983d 100644
--- a/www/py-django-otp/Makefile
+++ b/www/py-django-otp/Makefile
@@ -1,5 +1,5 @@
PORTNAME= django-otp
-PORTVERSION= 1.4.1
+PORTVERSION= 1.5.0
CATEGORIES= www python
MASTER_SITES= PYPI
DISTNAME= django_otp-${PORTVERSION}
@@ -20,4 +20,12 @@ 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>
diff --git a/www/py-django-otp/distinfo b/www/py-django-otp/distinfo
index 2d70349ccc2e..9e7b4a1390c7 100644
--- a/www/py-django-otp/distinfo
+++ b/www/py-django-otp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1712886466
-SHA256 (django_otp-1.4.1.tar.gz) = 0855ec5d9ff9c04e6e6b5ba041470329dc0479d254bf19fa2d99f2ff72c312eb
-SIZE (django_otp-1.4.1.tar.gz) = 71847
+TIMESTAMP = 1713528556
+SHA256 (django_otp-1.5.0.tar.gz) = e7142139f1e9686be5f396669a3d3d61178cd9b3e9de9de5933888668908b46b
+SIZE (django_otp-1.5.0.tar.gz) = 72265