www/py-wagtail-2fa: Add py-wagtail-2fa 1.6.5

This Django app adds two factor authentication to Wagtail. Behind the scenes it
use django-otp which supports Time-based One-Time Passwords (TOTP). This allows
you to use various apps like Authy, Google Authenticator, or 1Password.
This commit is contained in:
Po-Chuan Hsieh 2023-03-22 02:35:26 +08:00
parent 5dfd9de053
commit 395ccc94bf
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View file

@ -1811,6 +1811,7 @@
SUBDIR += py-uvicorn
SUBDIR += py-w3lib
SUBDIR += py-wagtail
SUBDIR += py-wagtail-2fa
SUBDIR += py-waitress
SUBDIR += py-webargs
SUBDIR += py-webassets

View file

@ -0,0 +1,25 @@
PORTNAME= wagtail-2fa
PORTVERSION= 1.6.5
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Two factor authentication for Wagtail
WWW= https://github.com/labd/wagtail-2fa
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-otp>=0.8.1:www/py-django-otp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wagtail>=2.15:www/py-wagtail@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1677770949
SHA256 (wagtail-2fa-1.6.5.tar.gz) = b06e47bd6d9367eed3ca0ac3258f5c0f6b1b61f9213ae9d1fd1739204464b177
SIZE (wagtail-2fa-1.6.5.tar.gz) = 17809

View file

@ -0,0 +1,3 @@
This Django app adds two factor authentication to Wagtail. Behind the scenes it
use django-otp which supports Time-based One-Time Passwords (TOTP). This allows
you to use various apps like Authy, Google Authenticator, or 1Password.