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:
parent
81389bf63e
commit
6e6ef371ef
@ -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
|
||||
|
27
www/py-django-radius/Makefile
Normal file
27
www/py-django-radius/Makefile
Normal 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>
|
3
www/py-django-radius/distinfo
Normal file
3
www/py-django-radius/distinfo
Normal 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
|
11
www/py-django-radius/files/patch-setup.py
Normal file
11
www/py-django-radius/files/patch-setup.py
Normal 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'],
|
||||
)
|
4
www/py-django-radius/pkg-descr
Normal file
4
www/py-django-radius/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user