aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2016-02-11 02:59:23 +0800
committerrm <rm@FreeBSD.org>2016-02-11 02:59:23 +0800
commit53500da4db7103ca23674d8df0c44417e1621164 (patch)
tree3c17b55e0e3783dae6a4edf91ecd61e1f3c865e6 /www
parentc6e942644faadd2cab4683da90bdd0cf0d02b33c (diff)
downloadfreebsd-ports-gnome-53500da4db7103ca23674d8df0c44417e1621164.tar.gz
freebsd-ports-gnome-53500da4db7103ca23674d8df0c44417e1621164.tar.zst
freebsd-ports-gnome-53500da4db7103ca23674d8df0c44417e1621164.zip
www/py-django-auth-ldap: update to 1.2.7
- update to 1.2.7: this release adds support for python3 via pyldap. - add LICENSE_FILE and NO_ARCH PR: 206605 Approved by: maintainer timeout (16 days)
Diffstat (limited to 'www')
-rw-r--r--www/py-django-auth-ldap/Makefile20
-rw-r--r--www/py-django-auth-ldap/distinfo4
2 files changed, 16 insertions, 8 deletions
diff --git a/www/py-django-auth-ldap/Makefile b/www/py-django-auth-ldap/Makefile
index 66c7d9677bca..ad1395091b67 100644
--- a/www/py-django-auth-ldap/Makefile
+++ b/www/py-django-auth-ldap/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= django-auth-ldap
-PORTVERSION= 1.1.7
-PORTREVISION= 2
+PORTVERSION= 1.2.7
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,20 @@ MAINTAINER= avk@vl.ru
COMMENT= LDAP integration for django.contrib.auth
LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:${PORTSDIR}/www/py-django18 \
- ${PYTHON_PKGNAMEPREFIX}ldap>=2.0:${PORTSDIR}/net/py-ldap
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:${PORTSDIR}/www/py-django18
-USES= python:2
+NO_ARCH= yes
+USES= python
USE_PYTHON= autoplist distutils
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3000
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ldap>0:${PORTSDIR}/net/py-ldap
+.else
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyldap>0:${PORTSDIR}/net/py-pyldap
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/py-django-auth-ldap/distinfo b/www/py-django-auth-ldap/distinfo
index 9886daa84839..c80b9603ae06 100644
--- a/www/py-django-auth-ldap/distinfo
+++ b/www/py-django-auth-ldap/distinfo
@@ -1,2 +1,2 @@
-SHA256 (django-auth-ldap-1.1.7.tar.gz) = d4817ce758be27cbc687d83958d0109cdb2b7dbc696da661bd66c9975cb14b61
-SIZE (django-auth-ldap-1.1.7.tar.gz) = 127186
+SHA256 (django-auth-ldap-1.2.7.tar.gz) = ff6af43d5429fbd918f62c25a07e2bff916b053b46990c1b60e60de63d5f3f80
+SIZE (django-auth-ldap-1.2.7.tar.gz) = 131431