From nobody Sun Feb 12 13:01:59 2023 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 4PF70R4lkLz3pN9p; Sun, 12 Feb 2023 13:01:59 +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 4PF70R4Lkxz4F6J; Sun, 12 Feb 2023 13:01:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676206919; 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=eSd/GIXi03UcbTeQMF+CWV0HzwO61HcQNJDMtHoCsGc=; b=VW/y8WkcsVNUDx+iHNCcqagf0K3g19IVqLbtMSPe/6xopDFkvg63FKBKlb1gdujvJ+R5hg qhzHG1eHgwKSxWoPKpivoKtvcGx4K8oiNYB+6ElF50XD5dsqaZ7J+jO1XEgYM9H3erJS+N HFe061JmJEyQ6VKcSV4edTf4nVi1/AFsg6QaXKk+uxqPSyPfBpqWrx2hqrsZLH1uKjAt2x 8Q8SpC9H1IjIBLMiyTdWnaE1tcN2s6lSMiFidCU2LCCOvABcShJGFnpRQC3I3SvnnNMnUn eRRmky5r2E/TR9CVxbj5kI6f2npsaw6MuZfEeO0rIuQKRJggxLo2CaD2GHKNPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676206919; 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=eSd/GIXi03UcbTeQMF+CWV0HzwO61HcQNJDMtHoCsGc=; b=K6nuJfame1isuVRy4JxpFNOa+vGEGAlKyQVIwcBkEV2HwMPOZwp9d2f8BwFXX8R9yel4jM iiBhUmXmOjyh02QytL82iMVVRHfhYGNZLQFNEfXdVX0LCFpQRcJL3DrJhIhKw8aXRtpJ7D XugzT5Cti9eAK4zomhV9Klgwn7mocYUTPVSH6u9rzXf9221BHHYwnEy8ehp2eld0lN6a8G dA85bNdv4S6WmElxlQIs8QcHlDL9GEm/osVZT1Nw6ccWP+Pd5GRl6bIB+e0HQi3tyKoV+9 7bPfCZRXwFu+IETrSMP6IjMO3/DKSVYsEI3DMgW4symtpqNzn3w1Hi7LdJNaZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676206919; a=rsa-sha256; cv=none; b=ZqsQFVIbO/URU/0cOlAoy5TbHRcjYpYQ+zobGnabW714rDx09k613KhoEjwci7VwPZC9zf wZ6uya2z9mNC0HcwWkd53/rBaFdIVyZgfNVASaXOuDPHSNcUDixK3erXueeO2g/fHhLbat RwPwI6EQ4lWfkh7U8PbydR/o7/o9O7hGUG7G7yu0U5dlvY7ebBY18Knu6Pe+8MlSEvn9Et NYV6Abf371d/uvCfbqSfWwIiBYJ0ulpbZ+SCtzPSvo7Gx9a1KedP722+/69foeWf69f2rZ WdUAR70iqfT9RnF0JVdaM5J8TQp0pzCRqAkjKMxfYeX30w61WdL5B4maAPRa5w== 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 4PF70R3Ks4zfw0; Sun, 12 Feb 2023 13:01:59 +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 31CD1xTj010827; Sun, 12 Feb 2023 13:01:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CD1x8V010826; Sun, 12 Feb 2023 13:01:59 GMT (envelope-from git) Date: Sun, 12 Feb 2023 13:01:59 GMT Message-Id: <202302121301.31CD1x8V010826@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: da141b603d3b - main - www/py-django-auth-ldap: Switch to PEP517 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: da141b603d3b7c402afa55ba7cb70683b9b4cbf1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=da141b603d3b7c402afa55ba7cb70683b9b4cbf1 commit da141b603d3b7c402afa55ba7cb70683b9b4cbf1 Author: Kai Knoblich AuthorDate: 2023-02-12 12:58:26 +0000 Commit: Kai Knoblich CommitDate: 2023-02-12 13:01:23 +0000 www/py-django-auth-ldap: Switch to PEP517 * Bump PORTREVISION as the package no longer contains byte-code. --- www/py-django-auth-ldap/Makefile | 12 ++++++------ www/py-django-auth-ldap/files/setup.py | 5 ----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/www/py-django-auth-ldap/Makefile b/www/py-django-auth-ldap/Makefile index aa4568ebd03a..b4387e284478 100644 --- a/www/py-django-auth-ldap/Makefile +++ b/www/py-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} @@ -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}django32>=2.2:www/py-django32@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}ldap>=3.1:net/py-ldap@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes PORTDOCS= * @@ -24,11 +26,9 @@ CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} 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-django-auth-ldap/files/setup.py b/www/py-django-auth-ldap/files/setup.py deleted file mode 100644 index 927cf403e2f6..000000000000 --- a/www/py-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()