aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Gallamore <ultima@FreeBSD.org>2023-12-04 14:48:29 +0000
committerRichard Gallamore <ultima@FreeBSD.org>2023-12-04 14:50:04 +0000
commitd8312662f40ca43e370b3b0cc1c8ddc86eb46f41 (patch)
treedd3037a08cdde73aa7383354410526e130b4201c
parent57a11a93dad3b2f74f2f77ea4226d43476298d85 (diff)
downloadports-d8312662f40ca43e370b3b0cc1c8ddc86eb46f41.tar.gz
ports-d8312662f40ca43e370b3b0cc1c8ddc86eb46f41.zip
www/py-djangosaml2: New port
A Django application that builds a Fully Compliant SAML2 Service Provider on top of PySAML2 library. Djangosaml2 protects your project with a SAML2 SSO Authentication.
-rw-r--r--www/Makefile1
-rw-r--r--www/py-djangosaml2/Makefile22
-rw-r--r--www/py-djangosaml2/distinfo3
-rw-r--r--www/py-djangosaml2/pkg-descr4
4 files changed, 30 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a5e566896db7..bfe0a55fd042 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1633,6 +1633,7 @@
SUBDIR += py-djangorestframework-csv
SUBDIR += py-djangorestframework-filters
SUBDIR += py-djangorestframework-xml
+ SUBDIR += py-djangosaml2
SUBDIR += py-draftjs-exporter
SUBDIR += py-drf-spectacular
SUBDIR += py-drf-spectacular-sidecar
diff --git a/www/py-djangosaml2/Makefile b/www/py-djangosaml2/Makefile
new file mode 100644
index 000000000000..acd5e72b5d2a
--- /dev/null
+++ b/www/py-djangosaml2/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= djangosaml2
+PORTVERSION= 1.8.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ultima@FreeBSD.org
+COMMENT= Pysaml2 integration for Django
+WWW= https://github.com/IdentityPython/djangosaml2
+
+LICENSE= APACHE20
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pysaml2>=6.5.1:security/py-pysaml2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.4.1:devel/py-defusedxml@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-djangosaml2/distinfo b/www/py-djangosaml2/distinfo
new file mode 100644
index 000000000000..37de561aee22
--- /dev/null
+++ b/www/py-djangosaml2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701157824
+SHA256 (djangosaml2-1.8.0.tar.gz) = e1e9997da129b8e76440ca908d72e9503f35da43558f738252a1861f5a3c9427
+SIZE (djangosaml2-1.8.0.tar.gz) = 56182
diff --git a/www/py-djangosaml2/pkg-descr b/www/py-djangosaml2/pkg-descr
new file mode 100644
index 000000000000..343274aa3bc1
--- /dev/null
+++ b/www/py-djangosaml2/pkg-descr
@@ -0,0 +1,4 @@
+A Django application that builds a Fully Compliant
+SAML2 Service Provider on top of PySAML2 library.
+Djangosaml2 protects your project with a SAML2 SSO
+Authentication.