www/py-dj42-django-otp: Add py-dj42-django-otp 1.3.0 (copied from py-django-otp)
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 authentication. 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.
This commit is contained in:
parent
34c201e051
commit
109459581b
4 changed files with 37 additions and 0 deletions
|
@ -1510,6 +1510,7 @@
|
|||
SUBDIR += py-dj42-django-modelcluster
|
||||
SUBDIR += py-dj42-django-mptt
|
||||
SUBDIR += py-dj42-django-multiselectfield
|
||||
SUBDIR += py-dj42-django-otp
|
||||
SUBDIR += py-dj42-django-prometheus
|
||||
SUBDIR += py-dj42-django-redis
|
||||
SUBDIR += py-dj42-django-rich
|
||||
|
|
23
www/py-dj42-django-otp/Makefile
Normal file
23
www/py-dj42-django-otp/Makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
PORTNAME= django-otp
|
||||
PORTVERSION= 1.3.0
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= PYPI
|
||||
DISTNAME= django_otp-${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
|
||||
|
||||
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}django42>=3.2:www/py-django42@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/py-dj42-django-otp/distinfo
Normal file
3
www/py-dj42-django-otp/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1709390338
|
||||
SHA256 (django_otp-1.3.0.tar.gz) = 8f4156a3c14ce2aaa31379385eadf388925cd50fc4b5d20a3b944f454c98ff7c
|
||||
SIZE (django_otp-1.3.0.tar.gz) = 69013
|
10
www/py-dj42-django-otp/pkg-descr
Normal file
10
www/py-dj42-django-otp/pkg-descr
Normal file
|
@ -0,0 +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
|
||||
authentication.
|
||||
|
||||
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.
|
Loading…
Reference in a new issue