svn commit: r502577 - in head/www: . py-dj21-django-auth-ldap py-dj22-django-auth-ldap py-django-auth-ldap
Kai Knoblich
kai at FreeBSD.org
Sat May 25 14:20:51 UTC 2019
Author: kai
Date: Sat May 25 14:20:49 2019
New Revision: 502577
URL: https://svnweb.freebsd.org/changeset/ports/502577
Log:
New port: www/py-dj22-django-auth-ldap
Repo-copy www/py-django-auth-ldap and assign it to Django 2.2 to enable LDAP
authentication with net-mgmt/netbox that has been switched to Django 2.2 in
r502550 .
Also limit the port to Python 3.5+ as Django 2.2 requires it as minimum
dependency and update all related CONFLICTS_INSTALL entries.
Added:
head/www/py-dj22-django-auth-ldap/
- copied from r502549, head/www/py-django-auth-ldap/
Modified:
head/www/Makefile
head/www/py-dj21-django-auth-ldap/Makefile
head/www/py-dj22-django-auth-ldap/Makefile
head/www/py-django-auth-ldap/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sat May 25 14:13:01 2019 (r502576)
+++ head/www/Makefile Sat May 25 14:20:49 2019 (r502577)
@@ -1483,6 +1483,7 @@
SUBDIR += py-dj21-djangoql
SUBDIR += py-dj21-djangorestframework
SUBDIR += py-dj21-drf-yasg
+ SUBDIR += py-dj22-django-auth-ldap
SUBDIR += py-dj22-django-cors-headers
SUBDIR += py-dj22-django-debug-toolbar
SUBDIR += py-dj22-django-filter
Modified: head/www/py-dj21-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-dj21-django-auth-ldap/Makefile Sat May 25 14:13:01 2019 (r502576)
+++ head/www/py-dj21-django-auth-ldap/Makefile Sat May 25 14:20:49 2019 (r502577)
@@ -21,7 +21,8 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-auth-ldap
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-auth-ldap \
+ ${PYTHON_PKGNAMEPREFIX}dj22-django-auth-ldap
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
Modified: head/www/py-dj22-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-django-auth-ldap/Makefile Sat May 25 10:06:31 2019 (r502549)
+++ head/www/py-dj22-django-auth-ldap/Makefile Sat May 25 14:20:49 2019 (r502577)
@@ -5,23 +5,24 @@ PORTNAME= django-auth-ldap
PORTVERSION= 1.7.0
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj22-
-MAINTAINER= avk at vl.ru
+MAINTAINER= kai at FreeBSD.org
COMMENT= LDAP integration for django.contrib.auth
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR}
-USES= python
+USES= python:3.5+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-auth-ldap
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}django-auth-ldap \
+ ${PYTHON_PKGNAMEPREFIX}dj21-django-auth-ldap
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
Modified: head/www/py-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-django-auth-ldap/Makefile Sat May 25 14:13:01 2019 (r502576)
+++ head/www/py-django-auth-ldap/Makefile Sat May 25 14:20:49 2019 (r502577)
@@ -21,7 +21,8 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-auth-ldap
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-django-auth-ldap \
+ ${PYTHON_PKGNAMEPREFIX}dj22-django-auth-ldap
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
More information about the svn-ports-all
mailing list