From nobody Sun Feb 12 13:02:00 2023 X-Original-To: dev-commits-ports-all@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 4PF70S5r5Tz3pdDp; Sun, 12 Feb 2023 13:02:00 +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 4PF70S5Qr8z4F6t; Sun, 12 Feb 2023 13:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676206920; 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=ssiuemqq/P5R7a3ZB9CLC/ib0bWGuBxT6AXi4SpTJGI=; b=Jj8u6yX1C3trHaMwJuE2pMCYAZ+mQXHh6VS1oUGBezwnQI2XsauZMbnbL/8xkxzgbo7FNQ Yu+wPH4/6BPtLRSqQyI1h3cPIb3pzTN41kkPV2UXj4oYDXzcFIma+6azGUOOtWvaF90i7t 1yDInFrDRrFP3kA0G9wDeIC2mNMm1fr+JrEBrOHt5MQuvkW1PU/r9JYAMdDZapIIUTZb3D C0qGuA+Gj1v/0BNhpgLQsx6/yRiCOXOeKOko8oB1c/FsiCfETFBDh8KwvngICICbdDsR6Z zfzWJ/CVt5xKAYaFaQPYcX9iNuI0SndHpnD1i4lElChu7EC6aaph1jQdgRnbeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676206920; 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=ssiuemqq/P5R7a3ZB9CLC/ib0bWGuBxT6AXi4SpTJGI=; b=b1a9KnQez5KQ+x/nrcrp+bMZGn5WflwVWzRYZg5uNUzDaDsGQE3Wd8C4Bfv9M9xlrfcfh/ 5oYAF4qIGtFXzNfhGD76eyMpbEEoRQN+84sgR6PKxX4D0c8SnkybfHk61JbycU+6HZlJHp wvpVyA5Twk47TQGs8xNfy/DEmmi4WH25ShBNOlbJqzJgfmRhejXtcKzYhhIQeEpoXDQR8v fON5JevHmGzxidhvEJ2+FJNKYKJHeY/Kwzw0ZdUar85he4WhVCLyITUTUxgTznayTNXCwM iHFyBVA426+PY7C5BfDIN2pyg07u1ZH0FLSTVAjt0zeN8aNedN7IPthSTtalFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676206920; a=rsa-sha256; cv=none; b=vMj5yFklhx2rg6QjUgUAB+gaga7gsPEi1S0rh4ikhvZBO//dKHs/eTdYpb6I9YDXM1dHyP CVh3Nms71H2q55jn38fbwnxPQ0uZJwssEx03cAjsLV6CVttg/HV2krx/HpQDw8/EEhKd1F H/I6CgPr+dEONcr+c/A3rYTMXajZ8VRB4R7ZM2gzG8+Kk4LithBUQi/7g7VkLna52LAX5M QhE4op7N78g3H1dKP9zU09kjsvJJUGnmguh69I817njzfU6cjbtuAqC0lv6tZJ/B+mJEjy KJuGzWi1/ClXIyAoBRgKchAW2MAGOvbZh+Lm7L+v+kKclj06IqyhYuhfgm7SxQ== 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 4PF70S4QstzfQb; Sun, 12 Feb 2023 13:02:00 +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 31CD20qw010851; Sun, 12 Feb 2023 13:02:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CD201k010850; Sun, 12 Feb 2023 13:02:00 GMT (envelope-from git) Date: Sun, 12 Feb 2023 13:02:00 GMT Message-Id: <202302121302.31CD201k010850@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: 3fb91363d0e1 - main - www/py-dj40-django-auth-ldap: Switch to PEP517 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 3fb91363d0e1f4a9a67c2f61767c2d4600972edc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=3fb91363d0e1f4a9a67c2f61767c2d4600972edc commit 3fb91363d0e1f4a9a67c2f61767c2d4600972edc Author: Kai Knoblich AuthorDate: 2023-02-12 12:59:38 +0000 Commit: Kai Knoblich CommitDate: 2023-02-12 13:01:23 +0000 www/py-dj40-django-auth-ldap: Switch to PEP517 * Bump PORTREVISION as the package no longer contains byte-code. --- www/py-dj40-django-auth-ldap/Makefile | 12 ++++++------ www/py-dj40-django-auth-ldap/files/setup.py | 5 ----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/www/py-dj40-django-auth-ldap/Makefile b/www/py-dj40-django-auth-ldap/Makefile index f946503c2e77..79d839331f93 100644 --- a/www/py-dj40-django-auth-ldap/Makefile +++ b/www/py-dj40-django-auth-ldap/Makefile @@ -1,5 +1,6 @@ PORTNAME= django-auth-ldap PORTVERSION= 4.1.0 +PORTREVISION= 1 CATEGORIES= www security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj40- @@ -11,12 +12,13 @@ WWW= https://github.com/django-auth-ldap/django-auth-ldap LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4:devel/py-setuptools_scm@${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}django40>=2.2:www/py-django40@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} @@ -24,11 +26,9 @@ NO_ARCH= yes PORTDOCS= * 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" -# Workaround to make the port still buildable with "distutils" -post-extract: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ +post-build-DOCS-on: + ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${WRKSRC}/build/sphinx/html post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/www/py-dj40-django-auth-ldap/files/setup.py b/www/py-dj40-django-auth-ldap/files/setup.py deleted file mode 100644 index 927cf403e2f6..000000000000 --- a/www/py-dj40-django-auth-ldap/files/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -# Taken from the previous release (= 3.0.0) - -from setuptools import setup - -setup()