git: 9b1657fb942c - main - devel/py-inflect: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:27:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9b1657fb942c92d967ee3a298e93caafb7ec2a8b
commit 9b1657fb942c92d967ee3a298e93caafb7ec2a8b
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:44:05 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:41 +0000
devel/py-inflect: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
---
devel/py-inflect/Makefile | 10 +++++-----
devel/py-inflect/files/setup.py | 3 ---
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/devel/py-inflect/Makefile b/devel/py-inflect/Makefile
index b73363094f07..fc59ec4ae6d9 100644
--- a/devel/py-inflect/Makefile
+++ b/devel/py-inflect/Makefile
@@ -1,5 +1,6 @@
PORTNAME= inflect
PORTVERSION= 6.0.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,15 +12,14 @@ WWW= https://github.com/jaraco/inflect
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.1:devel/py-setuptools_scm@${PY_FLAVOR}
+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}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydantic>=1.9.1:devel/py-pydantic@${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-inflect/files/setup.py b/devel/py-inflect/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/devel/py-inflect/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()