git: abc79c33b6ac - main - devel/py-backports.entry-points-selectable: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:26:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=abc79c33b6acadba6e28994ac1843cda13c1388c commit abc79c33b6acadba6e28994ac1843cda13c1388c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-03-21 18:42:34 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-03-21 19:20:32 +0000 devel/py-backports.entry-points-selectable: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- devel/py-backports.entry-points-selectable/Makefile | 10 ++++++---- devel/py-backports.entry-points-selectable/files/setup.py | 3 --- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/devel/py-backports.entry-points-selectable/Makefile b/devel/py-backports.entry-points-selectable/Makefile index 970cd5194308..423f6d196d4f 100644 --- a/devel/py-backports.entry-points-selectable/Makefile +++ b/devel/py-backports.entry-points-selectable/Makefile @@ -1,5 +1,6 @@ PORTNAME= backports.entry-points-selectable PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,8 +13,12 @@ WWW= https://github.com/jaraco/backports.entry_points_selectable LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -23,7 +28,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.post.mk> diff --git a/devel/py-backports.entry-points-selectable/files/setup.py b/devel/py-backports.entry-points-selectable/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/devel/py-backports.entry-points-selectable/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup()