aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 12:35:09 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-01-30 13:00:22 +0000
commit95dc9ed6609292d11163309d74c8141b5f20d39a (patch)
treec3c7e0356f3720ba2b75b547b18e77cf27d6cced
parentd25dfcd67573088d874b05aedeb6cc72ba81782d (diff)
downloadports-95dc9ed6609292d11163309d74c8141b5f20d39a.tar.gz
ports-95dc9ed6609292d11163309d74c8141b5f20d39a.zip
www/py-django-otp: Update to 1.1.4
- Update WWW - Add LICENSE_FILE - Add missing RUN_DEPENDS - Add NO_ARCH - Take maintainership Changes: https://github.com/django-otp/django-otp/blob/master/CHANGES.rst
-rw-r--r--www/py-django-otp/Makefile17
-rw-r--r--www/py-django-otp/distinfo6
-rw-r--r--www/py-django-otp/pkg-descr11
3 files changed, 19 insertions, 15 deletions
diff --git a/www/py-django-otp/Makefile b/www/py-django-otp/Makefile
index b237a5d9a0f8..79ab627dc9cd 100644
--- a/www/py-django-otp/Makefile
+++ b/www/py-django-otp/Makefile
@@ -1,16 +1,21 @@
PORTNAME= django-otp
-PORTVERSION= 1.0.4
+PORTVERSION= 1.1.4
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Adding two-factor authentication to Django
-WWW= https://bitbucket.org/psagers/django-otp
+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
-USES= python:3.6+
-USE_PYTHON= autoplist distutils
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
.include <bsd.port.mk>
diff --git a/www/py-django-otp/distinfo b/www/py-django-otp/distinfo
index 293ae9b0acf3..705ab682c4da 100644
--- a/www/py-django-otp/distinfo
+++ b/www/py-django-otp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620136499
-SHA256 (django-otp-1.0.4.tar.gz) = 04852c5301befb02d1d8ba4a31d375eb08d7c2cb6fe86b5f840867435ab1309c
-SIZE (django-otp-1.0.4.tar.gz) = 58926
+TIMESTAMP = 1674590036
+SHA256 (django-otp-1.1.4.tar.gz) = 0adead4aa5e34618fc4dba8ea15c71f6b3d520a6197a02a2edd6fa8b5140295c
+SIZE (django-otp-1.1.4.tar.gz) = 68046
diff --git a/www/py-django-otp/pkg-descr b/www/py-django-otp/pkg-descr
index b91fc44f310d..9e6d14ea948c 100644
--- a/www/py-django-otp/pkg-descr
+++ b/www/py-django-otp/pkg-descr
@@ -1,11 +1,10 @@
This project makes it easy to add support for one-time passwords (OTPs) to
Django. It can be integrated at various levels, depending on how much
customization is required. It integrates with django.contrib.auth, although it
-is not a Django authentication backend. The primary target is developers
-wishing to incorporate OTPs into their Django projects as a form of two-factor
+is not a Django authentication backend. The primary target is developers wishing
+to incorporate OTPs into their Django projects as a form of two-factor
authentication.
-This project includes several simple OTP plugins and more are available
-separately. This package also includes an implementation of OATH HOTP and TOTP
-for convenience, as these are standard OTP algorithms used by multiple
-plugins.
+Several simple OTP plugins are included and more are available separately. This
+package also includes an implementation of OATH HOTP and TOTP for convenience,
+as these are standard OTP algorithms used by multiple plugins.