From nobody Fri Nov 05 08:37:16 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F3D4D183651B; Fri, 5 Nov 2021 08:37:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hlv591yLJz4TDg; Fri, 5 Nov 2021 08:37:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E0C2F14740; Fri, 5 Nov 2021 08:37:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A58bGGo024347; Fri, 5 Nov 2021 08:37:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A58bGsV024346; Fri, 5 Nov 2021 08:37:16 GMT (envelope-from git) Date: Fri, 5 Nov 2021 08:37:16 GMT Message-Id: <202111050837.1A58bGsV024346@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: 6e6ef371ef24 - main - www/py-django-radius: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6e6ef371ef242201d0273bdfe84f9c27a2542cbe Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=6e6ef371ef242201d0273bdfe84f9c27a2542cbe commit 6e6ef371ef242201d0273bdfe84f9c27a2542cbe Author: Kai Knoblich AuthorDate: 2021-11-05 08:31:20 +0000 Commit: Kai Knoblich CommitDate: 2021-11-05 08:35:57 +0000 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 --- www/Makefile | 1 + www/py-django-radius/Makefile | 27 +++++++++++++++++++++++++++ www/py-django-radius/distinfo | 3 +++ www/py-django-radius/files/patch-setup.py | 11 +++++++++++ www/py-django-radius/pkg-descr | 4 ++++ 5 files changed, 46 insertions(+) diff --git a/www/Makefile b/www/Makefile index cd55207cccd0..b54a27756235 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/py-django-radius/Makefile b/www/py-django-radius/Makefile new file mode 100644 index 000000000000..f46b3e9947d0 --- /dev/null +++ b/www/py-django-radius/Makefile @@ -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 diff --git a/www/py-django-radius/distinfo b/www/py-django-radius/distinfo new file mode 100644 index 000000000000..bc61184fec86 --- /dev/null +++ b/www/py-django-radius/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1614808218 +SHA256 (django-radius-1.5.0.tar.gz) = c431aec30f69fd28ebd3ebcdfa561ed4c660de1fac40c4e000f0786efe9272f9 +SIZE (django-radius-1.5.0.tar.gz) = 6914 diff --git a/www/py-django-radius/files/patch-setup.py b/www/py-django-radius/files/patch-setup.py new file mode 100644 index 000000000000..95d0016e65c3 --- /dev/null +++ b/www/py-django-radius/files/patch-setup.py @@ -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'], + ) diff --git a/www/py-django-radius/pkg-descr b/www/py-django-radius/pkg-descr new file mode 100644 index 000000000000..ebb9abf681bc --- /dev/null +++ b/www/py-django-radius/pkg-descr @@ -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