From nobody Sat Jan 8 13:17:21 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 E14AC1943FE0; Sat, 8 Jan 2022 13:17:23 +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 4JWLGp0mXDz3pJL; Sat, 8 Jan 2022 13:17:22 +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 C268B1F70F; Sat, 8 Jan 2022 13:17:21 +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 208DHLdA027995; Sat, 8 Jan 2022 13:17:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 208DHL2p027994; Sat, 8 Jan 2022 13:17:21 GMT (envelope-from git) Date: Sat, 8 Jan 2022 13:17:21 GMT Message-Id: <202201081317.208DHL2p027994@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: 22de57b9f1d8 - main - www/py-dj32-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: 22de57b9f1d8d88c6a86fda71446614ea7f85757 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641647842; 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=rbB2NpDusBCq5W4VBYEpmAA2THj+Alol3VZxomDT/zo=; b=af+H1PTpz89zbsL5Oy0hqHAJTjYxQ8+0hnHcikaHbWdDcD3foenAMYFYWM9SIgJGFoWXtp Lh1z/UDFBTyNjUWKy2XJ+NIRJ+eMMjmcO974xcLjz5KgxSQ89Gh/nEgiWVh6asiLA8xdaR Gkp1JMThSIac8ikrihipfSa+nkKjS/cDRt2DlvM1C7VOtZxR95Hg4aKxxLPlpiHHSeHe1z X4Pi873dxvOexyBvVVrxNmPLoOOipop3y9UgFwxqHzb2Hv2E0Xo2WUKh77Bmb9PyaTS6d2 u1kvUzqXBk0h4yBvYnTRtXknrODh92SuEeO+jxd2BVPndfx4qG9uDI6ncHVCyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641647842; a=rsa-sha256; cv=none; b=HKOndiDANzJ4c34SymBOjCwI8f2k4Tie7MyaJLgY7vwEG2lcB+Z2EuR8+sJwhzrTr2G7OL 4CYQ32JDE65Cjq/59hta9u/cCkcjp/2Xu4hurI19hsMc0HUsEo9GvXtf1CMMRisqr6A049 CcPAlxe59oLTGAA7n9EzVAV9B7CjDVadt7mH2hE6VzTqICwthvq3zjAPR6YI+HZ3Ka9A4k e/vgXSuHhfzdMwu9pn33apF7k2XxaWyPZCRMNYE/qc9zF8aAC6mr75nzt3/gpPtNHxOuPT sIEFVwt0Ixp2twI4nfqCBPIKOfibxdDsWpQ0xwAgXYjYX9MIwgxOslNU9QW/6g== 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=22de57b9f1d8d88c6a86fda71446614ea7f85757 commit 22de57b9f1d8d88c6a86fda71446614ea7f85757 Author: Kai Knoblich AuthorDate: 2022-01-08 13:11:34 +0000 Commit: Kai Knoblich 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 - -# 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 +.include 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()