svn commit: r470944 - head/www/py-django-auth-ldap
Martin Wilke
miwi at FreeBSD.org
Sat May 26 18:40:51 UTC 2018
Author: miwi
Date: Sat May 26 18:40:49 2018
New Revision: 470944
URL: https://svnweb.freebsd.org/changeset/ports/470944
Log:
- Update to 1.5.0
- Switch to django111
- Added NO_ARCH
- Added DOC Options
- Update WWW
PR: 228262
Submitted by: freebsd_ports at k-worx.org
Approved by: maintainer timeout
Sponsored by: iXsystems Inc.
Modified:
head/www/py-django-auth-ldap/Makefile
head/www/py-django-auth-ldap/distinfo
head/www/py-django-auth-ldap/pkg-descr
Modified: head/www/py-django-auth-ldap/Makefile
==============================================================================
--- head/www/py-django-auth-ldap/Makefile Sat May 26 18:37:04 2018 (r470943)
+++ head/www/py-django-auth-ldap/Makefile Sat May 26 18:40:49 2018 (r470944)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= django-auth-ldap
-PORTVERSION= 1.2.7
+PORTVERSION= 1.5.0
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +13,22 @@ COMMENT= LDAP integration for django.contrib.auth
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django18>=1.3.1:www/py-django18@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.11:www/py-django111@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ldap>0:net/py-ldap@${PY_FLAVOR}
-NO_ARCH= yes
USES= python
USE_PYTHON= autoplist distutils
+NO_ARCH= yes
+PORTDOCS= *
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE= DOCS
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
+DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}ldap>0:net/py-ldap@${FLAVOR}
-.else
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyldap>0:net/py-pyldap@${FLAVOR}
-.endif
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/build/sphinx/html && \
+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
+ "! -name .buildinfo -and ! -name objects.inv")
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/www/py-django-auth-ldap/distinfo
==============================================================================
--- head/www/py-django-auth-ldap/distinfo Sat May 26 18:37:04 2018 (r470943)
+++ head/www/py-django-auth-ldap/distinfo Sat May 26 18:40:49 2018 (r470944)
@@ -1,2 +1,3 @@
-SHA256 (django-auth-ldap-1.2.7.tar.gz) = ff6af43d5429fbd918f62c25a07e2bff916b053b46990c1b60e60de63d5f3f80
-SIZE (django-auth-ldap-1.2.7.tar.gz) = 131431
+TIMESTAMP = 1526287019
+SHA256 (django-auth-ldap-1.5.0.tar.gz) = a064f464600bcd7dd5718433d518c6fc34ccb9692f50f673e20c956acc5efab7
+SIZE (django-auth-ldap-1.5.0.tar.gz) = 46881
Modified: head/www/py-django-auth-ldap/pkg-descr
==============================================================================
--- head/www/py-django-auth-ldap/pkg-descr Sat May 26 18:37:04 2018 (r470943)
+++ head/www/py-django-auth-ldap/pkg-descr Sat May 26 18:40:49 2018 (r470944)
@@ -3,4 +3,4 @@ service. Configuration can be as simple as a single di
but there are many rich configuration options for working with users, groups,
and permissions.
-WWW: http://pythonhosted.org/django-auth-ldap/
+WWW: https://github.com/django-auth-ldap/django-auth-ldap
More information about the svn-ports-head
mailing list