git: d62c1c710572 - main - textproc/py-sphinxcontrib-towncrier: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:21:02 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d62c1c7105721d8586493e0dffe9dc40cb4b8d35 commit d62c1c7105721d8586493e0dffe9dc40cb4b8d35 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:05:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:05:34 +0000 textproc/py-sphinxcontrib-towncrier: Convert to USE_PYTHON=pep517 - Remove outdated PYTHON_REL check after lang/python37 removal - Bump PORTREVISION for package change --- textproc/py-sphinxcontrib-towncrier/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/textproc/py-sphinxcontrib-towncrier/Makefile b/textproc/py-sphinxcontrib-towncrier/Makefile index 1cad78f07425..a7fe384aae66 100644 --- a/textproc/py-sphinxcontrib-towncrier/Makefile +++ b/textproc/py-sphinxcontrib-towncrier/Makefile @@ -1,5 +1,6 @@ PORTNAME= sphinxcontrib-towncrier PORTVERSION= 0.3.2a0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,18 +12,16 @@ WWW= https://github.com/sphinx-contrib/sphinxcontrib-towncrier LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.6.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}towncrier>=19.2:textproc/py-towncrier@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 30800 -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4:devel/py-importlib-metadata@${PY_FLAVOR} -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk>