svn commit: r496828 - in head/www: . py-dj21-django-auth-ldap py-django-auth-ldap
Kai Knoblich
kai at FreeBSD.org
Mon Mar 25 15:55:33 UTC 2019
Author: kai
Date: Mon Mar 25 15:55:31 2019
New Revision: 496828
URL: https://svnweb.freebsd.org/changeset/ports/496828
Log:
New port: www/py-dj21-django-auth-ldap
Repo-copy www/py-django-auth-ldap and assign it to Django 2.1 to enable LDAP
authentication with net-mgmt/netbox that has been switched to Django 2.1
recently.
Also limit the port to Python 3.5+ as Django 2.1 requires it as minimum
dependency and to save some overhead in the building infrastructure.
Reported by: Thomas Kurschel (via private email)
Approved by: miwi (mentor)
Differential Revision: https://reviews.freebsd.org/D19576
Added:
head/www/py-dj21-django-auth-ldap/
- copied from r496827, head/www/py-django-auth-ldap/
Modified:
head/www/Makefile
head/www/py-dj21-django-auth-ldap/Makefile
head/www/py-django-auth-ldap/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Mon Mar 25 14:57:41 2019 (r496827)
+++ head/www/Makefile Mon Mar 25 15:55:31 2019 (r496828)
@@ -1508,6 +1508,7 @@
SUBDIR += py-cssselect
SUBDIR += py-cssutils
SUBDIR += py-ddgr
+ SUBDIR += py-dj21-django-auth-ldap
SUBDIR += py-dj21-django-cors-headers
SUBDIR += py-dj21-django-crispy-forms
SUBDIR += py-dj21-django-debug-toolbar
Modified: head/www/py-dj21-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-django-auth-ldap/Makefile Mon Mar 25 14:57:41 2019 (r496827)
+++ head/www/py-dj21-django-auth-ldap/Makefile Mon Mar 25 15:55:31 2019 (r496828)
@@ -5,22 +5,23 @@ PORTNAME= django-auth-ldap
PORTVERSION= 1.7.0
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj21-
-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}django21>=1.11:www/py-django21@${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}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 Mon Mar 25 14:57:41 2019 (r496827)
+++ head/www/py-django-auth-ldap/Makefile Mon Mar 25 15:55:31 2019 (r496828)
@@ -21,6 +21,7 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= *
+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}dj21-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