git: f547f5fae169 - main - devel/py-pyproject-metadata: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:28:41 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=f547f5fae1695808438c53c26c589856e2784412 commit f547f5fae1695808438c53c26c589856e2784412 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:45:13 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:59 +0000 devel/py-pyproject-metadata: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-pyproject-metadata/Makefile | 8 ++++---- devel/py-pyproject-metadata/files/setup.py | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/devel/py-pyproject-metadata/Makefile b/devel/py-pyproject-metadata/Makefile index 173191833189..69a3a9cb4ea9 100644 --- a/devel/py-pyproject-metadata/Makefile +++ b/devel/py-pyproject-metadata/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyproject-metadata PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,14 +12,13 @@ WWW= https://github.com/FFY00/python-pyproject-metadata LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=22.0:devel/py-packaging@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.mk> diff --git a/devel/py-pyproject-metadata/files/setup.py b/devel/py-pyproject-metadata/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-pyproject-metadata/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()