aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2021-04-15 09:01:48 +0000
committerKai Knoblich <kai@FreeBSD.org>2021-04-15 09:27:23 +0000
commit0752833b30d47ecce753eddee0a91c670b05175f (patch)
tree1a6b286c62f70cccfccc3695f8a10972e6d94407
parent853208cd6b6d9d0fab804e8655452378c93ce19c (diff)
downloadports-0752833b30d47ecce753eddee0a91c670b05175f.tar.gz
ports-0752833b30d47ecce753eddee0a91c670b05175f.zip
www/py-dj31-django-auth-ldap: Update to 2.4.0
-rw-r--r--www/py-dj31-django-auth-ldap/Makefile12
-rw-r--r--www/py-dj31-django-auth-ldap/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/www/py-dj31-django-auth-ldap/Makefile b/www/py-dj31-django-auth-ldap/Makefile
index 3556fd64114c..75c78e02e9e8 100644
--- a/www/py-dj31-django-auth-ldap/Makefile
+++ b/www/py-dj31-django-auth-ldap/Makefile
@@ -1,7 +1,7 @@
# Created by: Alexander Kriventsov <avk@vl.ru>
PORTNAME= django-auth-ldap
-PORTVERSION= 2.3.0
+PORTVERSION= 2.4.0
CATEGORIES= www security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj31-
@@ -28,10 +28,18 @@ OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
+.include <bsd.port.pre.mk>
+
+# Set a locale to avoid build/configure errors. The UTF-8 mode is enabled by
+# default when the locale is C since Python 3.7.
+.if ${PYTHON_REL} < 3700
+USE_LOCALE= en_US.UTF-8
+.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.mk>
+.include <bsd.port.post.mk>
diff --git a/www/py-dj31-django-auth-ldap/distinfo b/www/py-dj31-django-auth-ldap/distinfo
index 15a161187d69..3ad4959b7520 100644
--- a/www/py-dj31-django-auth-ldap/distinfo
+++ b/www/py-dj31-django-auth-ldap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1614512795
-SHA256 (django-auth-ldap-2.3.0.tar.gz) = 5894317122a086c9955ed366562869a81459cf6b663636b152857bb5d3a0a3b7
-SIZE (django-auth-ldap-2.3.0.tar.gz) = 53383
+TIMESTAMP = 1617818253
+SHA256 (django-auth-ldap-2.4.0.tar.gz) = 60fcbfc3141c99c3c49d3ccd7311a3992a231c319d94b6d2c143968f63676676
+SIZE (django-auth-ldap-2.4.0.tar.gz) = 53523