From 712d2690cf8322c0b15cf67626400240ded7ace8 Mon Sep 17 00:00:00 2001 From: Kai Knoblich Date: Sun, 28 Feb 2021 17:16:29 +0000 Subject: [PATCH] www/py-django-auth-ldap: Update to 2.3.0 Changelog: https://github.com/django-auth-ldap/django-auth-ldap/blob/2.3.0/CHANGES --- www/py-django-auth-ldap/Makefile | 8 ++++--- www/py-django-auth-ldap/distinfo | 6 ++--- .../files/patch-docs_conf.py | 22 +++++++++++++++++++ 3 files changed, 30 insertions(+), 6 deletions(-) create mode 100644 www/py-django-auth-ldap/files/patch-docs_conf.py diff --git a/www/py-django-auth-ldap/Makefile b/www/py-django-auth-ldap/Makefile index 4498188f24a7..bb75407b9821 100644 --- a/www/py-django-auth-ldap/Makefile +++ b/www/py-django-auth-ldap/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= django-auth-ldap -PORTVERSION= 2.2.0 +PORTVERSION= 2.3.0 CATEGORIES= www security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,10 +13,12 @@ COMMENT= LDAP integration for django.contrib.auth LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=1.11:www/py-django22@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django22>=2.2:www/py-django22@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} -USES= python:3.5+ +USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes diff --git a/www/py-django-auth-ldap/distinfo b/www/py-django-auth-ldap/distinfo index 4fa1cf4920fe..15a161187d69 100644 --- a/www/py-django-auth-ldap/distinfo +++ b/www/py-django-auth-ldap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1604229069 -SHA256 (django-auth-ldap-2.2.0.tar.gz) = 11af1773b08613339d2c3a0cec1308a4d563518f17b1719c3759994d0b4d04bf -SIZE (django-auth-ldap-2.2.0.tar.gz) = 53148 +TIMESTAMP = 1614512795 +SHA256 (django-auth-ldap-2.3.0.tar.gz) = 5894317122a086c9955ed366562869a81459cf6b663636b152857bb5d3a0a3b7 +SIZE (django-auth-ldap-2.3.0.tar.gz) = 53383 diff --git a/www/py-django-auth-ldap/files/patch-docs_conf.py b/www/py-django-auth-ldap/files/patch-docs_conf.py new file mode 100644 index 000000000000..8ab329172ad8 --- /dev/null +++ b/www/py-django-auth-ldap/files/patch-docs_conf.py @@ -0,0 +1,22 @@ +Avoid the download of various intersphinx inventories during build. Only two +intersphinx mappings are used and the documentation can be built/used without +them. + +--- docs/conf.py.orig 2021-02-28 15:46:24 UTC ++++ docs/conf.py +@@ -186,15 +186,3 @@ texinfo_documents = [ + + + # -- Extension configuration ------------------------------------------------- +- +-# -- Options for intersphinx extension --------------------------------------- +- +-intersphinx_mapping = { +- "python": ("https://docs.python.org/3/", None), +- "django": ( +- "https://docs.djangoproject.com/en/stable/", +- "https://docs.djangoproject.com/en/stable/_objects/", +- ), +- "pythonldap": ("https://python-ldap.readthedocs.io/en/latest/", None), +- "tox": ("https://tox.readthedocs.io/en/latest/", None), +-}