git: 395ccc94bf81 - main - www/py-wagtail-2fa: Add py-wagtail-2fa 1.6.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:24:01 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=395ccc94bf81f62aa768c175ea337c2aff3d82fd commit 395ccc94bf81f62aa768c175ea337c2aff3d82fd Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:35:26 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:19:54 +0000 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. --- www/Makefile | 1 + www/py-wagtail-2fa/Makefile | 25 +++++++++++++++++++++++++ www/py-wagtail-2fa/distinfo | 3 +++ www/py-wagtail-2fa/pkg-descr | 3 +++ 4 files changed, 32 insertions(+) diff --git a/www/Makefile b/www/Makefile index 230d8862b46d..3639dbbc9077 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-wagtail-2fa/Makefile b/www/py-wagtail-2fa/Makefile new file mode 100644 index 000000000000..ac19cc7308bd --- /dev/null +++ b/www/py-wagtail-2fa/Makefile @@ -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> diff --git a/www/py-wagtail-2fa/distinfo b/www/py-wagtail-2fa/distinfo new file mode 100644 index 000000000000..f837f01dca3a --- /dev/null +++ b/www/py-wagtail-2fa/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677770949 +SHA256 (wagtail-2fa-1.6.5.tar.gz) = b06e47bd6d9367eed3ca0ac3258f5c0f6b1b61f9213ae9d1fd1739204464b177 +SIZE (wagtail-2fa-1.6.5.tar.gz) = 17809 diff --git a/www/py-wagtail-2fa/pkg-descr b/www/py-wagtail-2fa/pkg-descr new file mode 100644 index 000000000000..5b0b12a9dc43 --- /dev/null +++ b/www/py-wagtail-2fa/pkg-descr @@ -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.