git: b8c2f1734736 - main - textproc/py-ini2toml: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:20:45 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8c2f1734736a8d4508c5f94a05fc2a5ac371f4b commit b8c2f1734736a8d4508c5f94a05fc2a5ac371f4b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:04:55 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:04:55 +0000 textproc/py-ini2toml: Convert to USE_PYTHON=pep517 - Remove outdated PYTHON_REL check after lang/python37 removal - Bump PORTREVISION for package change --- textproc/py-ini2toml/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/textproc/py-ini2toml/Makefile b/textproc/py-ini2toml/Makefile index 6bf80c961973..3c5d059bf666 100644 --- a/textproc/py-ini2toml/Makefile +++ b/textproc/py-ini2toml/Makefile @@ -1,5 +1,6 @@ PORTNAME= ini2toml PORTVERSION= 0.12 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,10 +12,13 @@ WWW= https://github.com/abravalheri/ini2toml LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.1.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=5:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=20.7:devel/py-packaging@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -27,10 +31,4 @@ FULL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}configupdater>=3.0.1<4:devel/py-configu ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.10.0<2:textproc/py-tomlkit@${PY_FLAVOR} LITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomli-w>=0.4.0<2:textproc/py-tomli-w@${PY_FLAVOR} -.include <bsd.port.pre.mk> - -.if ${PYTHON_REL} < 30800 && (${PORT_OPTIONS:MFULL} || ${PORT_OPTIONS:MLITE}) -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk>