git: da141b603d3b - main - www/py-django-auth-ldap: Switch to PEP517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Feb 2023 13:01:59 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=da141b603d3b7c402afa55ba7cb70683b9b4cbf1 commit da141b603d3b7c402afa55ba7cb70683b9b4cbf1 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-02-12 12:58:26 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> 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()