Date: Sat, 8 Jan 2022 13:17:21 GMT From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 22de57b9f1d8 - main - www/py-dj32-django-auth-ldap: Update to 4.0.0 Message-ID: <202201081317.208DHL2p027994@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=22de57b9f1d8d88c6a86fda71446614ea7f85757 commit 22de57b9f1d8d88c6a86fda71446614ea7f85757 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2022-01-08 13:11:34 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2022-01-08 13:16:04 +0000 www/py-dj32-django-auth-ldap: Update to 4.0.0 * Python 3.6 is now gone from the Ports so remove the cruft that was required for it. * Add a workaround to make the port still buildable with Python's distutils by using the "setup.py" from the previous release. Changelog: https://github.com/django-auth-ldap/django-auth-ldap/releases/tag/4.0.0 MFH: 2022Q1 --- www/py-dj32-django-auth-ldap/Makefile | 15 ++++++--------- www/py-dj32-django-auth-ldap/distinfo | 6 +++--- www/py-dj32-django-auth-ldap/files/setup.py | 5 +++++ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/www/py-dj32-django-auth-ldap/Makefile b/www/py-dj32-django-auth-ldap/Makefile index fa292a2b199e..3e332588895f 100644 --- a/www/py-dj32-django-auth-ldap/Makefile +++ b/www/py-dj32-django-auth-ldap/Makefile @@ -1,5 +1,5 @@ PORTNAME= django-auth-ldap -PORTVERSION= 3.0.0 +PORTVERSION= 4.0.0 CATEGORIES= www security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj32- @@ -10,6 +10,7 @@ COMMENT= LDAP integration for django.contrib.auth LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} @@ -25,13 +26,9 @@ 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} < 30700 -USE_LOCALE= en_US.UTF-8 -.endif +# Workaround to make the port still buildable with "distutils" +post-extract: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @@ -39,4 +36,4 @@ post-install-DOCS-on: ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/www/py-dj32-django-auth-ldap/distinfo b/www/py-dj32-django-auth-ldap/distinfo index 9757a29522ad..c9ce77fde256 100644 --- a/www/py-dj32-django-auth-ldap/distinfo +++ b/www/py-dj32-django-auth-ldap/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1627743489 -SHA256 (django-auth-ldap-3.0.0.tar.gz) = 1f2d5c562d9ba9a5e9a64099ae9798e1a63840a11afe4d1c4a9c74121f066eaa -SIZE (django-auth-ldap-3.0.0.tar.gz) = 52381 +TIMESTAMP = 1641496154 +SHA256 (django-auth-ldap-4.0.0.tar.gz) = 276f79e624ce083ce13f161387f65ff1c0efe83ef8a42f2b9830d43317b15239 +SIZE (django-auth-ldap-4.0.0.tar.gz) = 52648 diff --git a/www/py-dj32-django-auth-ldap/files/setup.py b/www/py-dj32-django-auth-ldap/files/setup.py new file mode 100644 index 000000000000..927cf403e2f6 --- /dev/null +++ b/www/py-dj32-django-auth-ldap/files/setup.py @@ -0,0 +1,5 @@ +# Taken from the previous release (= 3.0.0) + +from setuptools import setup + +setup()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201081317.208DHL2p027994>