1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

www/py-django-radius: Add new port

django-radius enables you to authenticate your Django users against one
or many RADIUS servers easily.

WWW: https://github.com/robgolding/django-radius
This commit is contained in:
Kai Knoblich 2021-11-05 09:31:20 +01:00
parent 81389bf63e
commit 6e6ef371ef
5 changed files with 46 additions and 0 deletions

View File

@ -1550,6 +1550,7 @@
SUBDIR += py-django-post_office
SUBDIR += py-django-prometheus
SUBDIR += py-django-pyscss
SUBDIR += py-django-radius
SUBDIR += py-django-ranged-response
SUBDIR += py-django-recaptcha
SUBDIR += py-django-redis

View File

@ -0,0 +1,27 @@
PORTNAME= django-radius
DISTVERSION= 1.5.0
CATEGORIES= www net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Django authentication backend for RADIUS
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyrad>=1.2:net/pyrad@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}future>=0.16.0:devel/py-future@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1614808218
SHA256 (django-radius-1.5.0.tar.gz) = c431aec30f69fd28ebd3ebcdfa561ed4c660de1fac40c4e000f0786efe9272f9
SIZE (django-radius-1.5.0.tar.gz) = 6914

View File

@ -0,0 +1,11 @@
Relax version requirement of devel/py-future
--- setup.py.orig 2021-11-04 18:14:51 UTC
+++ setup.py
@@ -19,5 +19,5 @@ setup(
],
zip_safe=False,
packages=find_packages(),
- install_requires=['pyrad >= 1.2', 'future==0.16.0'],
+ install_requires=['pyrad >= 1.2', 'future>=0.16.0'],
)

View File

@ -0,0 +1,4 @@
django-radius enables you to authenticate your Django users against one or many
RADIUS servers easily.
WWW: https://github.com/robgolding/django-radius