diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 07:05:34 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-06-30 07:05:34 +0000 |
commit | d62c1c7105721d8586493e0dffe9dc40cb4b8d35 (patch) | |
tree | c0ab89e01a6ad5bba0a82643881960503c9ee6be | |
parent | 344fe8ade7367d253f25de92c910a64087168565 (diff) | |
download | ports-d62c1c7105721d8586493e0dffe9dc40cb4b8d35.tar.gz ports-d62c1c7105721d8586493e0dffe9dc40cb4b8d35.zip |
textproc/py-sphinxcontrib-towncrier: Convert to USE_PYTHON=pep517
- Remove outdated PYTHON_REL check after lang/python37 removal
- Bump PORTREVISION for package change
-rw-r--r-- | textproc/py-sphinxcontrib-towncrier/Makefile | 15 |
1 files 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> |