From nobody Sat Jan 08 13:17:18 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 084771943DCB; Sat, 8 Jan 2022 13:17:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JWLGk3ZLkz3pPq; Sat, 8 Jan 2022 13:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50A431F4CC; Sat, 8 Jan 2022 13:17:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 208DHIaM027921; Sat, 8 Jan 2022 13:17:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 208DHIEr027920; Sat, 8 Jan 2022 13:17:18 GMT (envelope-from git) Date: Sat, 8 Jan 2022 13:17:18 GMT Message-Id: <202201081317.208DHIEr027920@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: ea65e53e2476 - main - www/py-django-auth-ldap: Update to 4.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ea65e53e24760311cacaa8d62a0daf0333e89123 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641647838; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DCLMAxE/1qHV3V1age++vBMBPDEI3xAAAyXI5+9xp2E=; b=FKsGJlBmdkF41FsL5pffe9DPYXaeg3AUnWZj53KLVrsbvZhJ1S5/vrc9sBxIBSZ0eH6Xnk JckpUShh/6rd0gZ4hAzJuIDzta+XemKANI8vlOOhB2CaMzZhNIjKCfNea9JIJnrFMaKawK +jOG1bfZmWtZEnIkvhHAw9+55TUdnKKizz5pa4po+sVtaD64DdACjqtb8X/bodJJFbIi5U R8VkhGij54uV82RkDDxeqngaVN3tBaBTJDfek5t4C3SWRK15dKQULAFGPpzFGQWLwLclIE 2WOmKbk0ZJHOunxebAPkIDU+UwaBhm+KXThKyD1eC9rvojJkt3IvHnPwXYU9KA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641647838; a=rsa-sha256; cv=none; b=uQzF+egymUF5l0MKKEJk1SLQQYigRyfj4Q4094SL35hscEL7W/oGZZH1e0f56uk3gQNOoH TwI+73KSgk4TDDeAR6E232E0piLqy0aLJQ1wREI/vltHdRo2QmRAveX9CMv2ttPZ2iPWGv 4BvCnv4Zrrpf3z6iizm+jGmfzDGRUBYUfpi6OfxszZ+QCiMexKbXJUHqtWq+zaPtOYXIoN aOgg0oLE7FB+KmBbRrqVpd4BpRze/fpn9Oahzd9K2Y6YIrHIbbLvYgGN1ZkMHqy32c+FUC nRgD2qrO/GBTY24MFz4Dp3w4JsYfqMI9GfytFR2hOc/UGZhIZHpPkYd82QegXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ea65e53e24760311cacaa8d62a0daf0333e89123 commit ea65e53e24760311cacaa8d62a0daf0333e89123 Author: Kai Knoblich AuthorDate: 2022-01-08 13:06:25 +0000 Commit: Kai Knoblich CommitDate: 2022-01-08 13:16:03 +0000 www/py-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-django-auth-ldap/Makefile | 15 ++++++--------- www/py-django-auth-ldap/distinfo | 6 +++--- www/py-django-auth-ldap/files/setup.py | 5 +++++ 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/www/py-django-auth-ldap/Makefile b/www/py-django-auth-ldap/Makefile index 81efdeaf745c..85b956667648 100644 --- a/www/py-django-auth-ldap/Makefile +++ b/www/py-django-auth-ldap/Makefile @@ -1,7 +1,7 @@ # Created by: Alexander Kriventsov PORTNAME= django-auth-ldap -PORTVERSION= 3.0.0 +PORTVERSION= 4.0.0 CATEGORIES= www security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,6 +12,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}django22>=2.2:www/py-django22@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} @@ -27,13 +28,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 - -# 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} @@ -41,4 +38,4 @@ post-install-DOCS-on: ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ "! -name .buildinfo -and ! -name objects.inv") -.include +.include diff --git a/www/py-django-auth-ldap/distinfo b/www/py-django-auth-ldap/distinfo index 9757a29522ad..c9ce77fde256 100644 --- a/www/py-django-auth-ldap/distinfo +++ b/www/py-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-django-auth-ldap/files/setup.py b/www/py-django-auth-ldap/files/setup.py new file mode 100644 index 000000000000..927cf403e2f6 --- /dev/null +++ b/www/py-django-auth-ldap/files/setup.py @@ -0,0 +1,5 @@ +# Taken from the previous release (= 3.0.0) + +from setuptools import setup + +setup()