git: 47b83bb13751 - main - devel/py-mypy-protobuf: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:27:49 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=47b83bb137515d15070e8d996f41a95447342dfb commit 47b83bb137515d15070e8d996f41a95447342dfb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:44:26 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:46 +0000 devel/py-mypy-protobuf: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-mypy-protobuf/Makefile | 8 ++++---- devel/py-mypy-protobuf/files/setup.py | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/devel/py-mypy-protobuf/Makefile b/devel/py-mypy-protobuf/Makefile index 7249b14ccd62..c0ea5f59fdfd 100644 --- a/devel/py-mypy-protobuf/Makefile +++ b/devel/py-mypy-protobuf/Makefile @@ -1,5 +1,6 @@ PORTNAME= mypy-protobuf PORTVERSION= 3.4.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,16 +11,15 @@ WWW= https://github.com/nipunn1313/mypy-protobuf LICENSE= APACHE20 +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= protobuf>=3.21.8,1:devel/protobuf \ ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21.8,1:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-protobuf>=3.20.4:devel/py-types-protobuf@${PY_FLAVOR} USES= python:3.6+ -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-mypy-protobuf/files/setup.py b/devel/py-mypy-protobuf/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-mypy-protobuf/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()