Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 18:59:23 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408643 - head/www/py-django-auth-ldap
Message-ID:  <201602101859.u1AIxNHw051402@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Feb 10 18:59:23 2016
New Revision: 408643
URL: https://svnweb.freebsd.org/changeset/ports/408643

Log:
  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)

Modified:
  head/www/py-django-auth-ldap/Makefile
  head/www/py-django-auth-ldap/distinfo

Modified: head/www/py-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-django-auth-ldap/Makefile	Wed Feb 10 18:41:02 2016	(r408642)
+++ head/www/py-django-auth-ldap/Makefile	Wed Feb 10 18:59:23 2016	(r408643)
@@ -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>

Modified: head/www/py-django-auth-ldap/distinfo
==============================================================================
--- head/www/py-django-auth-ldap/distinfo	Wed Feb 10 18:41:02 2016	(r408642)
+++ head/www/py-django-auth-ldap/distinfo	Wed Feb 10 18:59:23 2016	(r408643)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602101859.u1AIxNHw051402>