Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2024 14:27:31 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b56f19a68f98 - main - www/py-django-otp: Update to 1.5.0
Message-ID:  <202404201427.43KERVLq008549@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b56f19a68f982de873bc39f5fb3adab4d49b8818

commit b56f19a68f982de873bc39f5fb3adab4d49b8818
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:23:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:45 +0000

    www/py-django-otp: Update to 1.5.0
    
    - Add QRCODE and SEGNO options
    
    Changes:        https://github.com/django-otp/django-otp/blob/master/CHANGES.rst
---
 www/py-django-otp/Makefile | 10 +++++++++-
 www/py-django-otp/distinfo |  6 +++---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201427.43KERVLq008549>