git: a46b99addfda - main - devel/py-path: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:28:20 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a46b99addfda8ebd8d3f29436f24c37402808119
commit a46b99addfda8ebd8d3f29436f24c37402808119
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:44:53 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:54 +0000
devel/py-path: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
---
devel/py-path/Makefile | 10 +++++-----
devel/py-path/files/setup.py | 3 ---
2 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/devel/py-path/Makefile b/devel/py-path/Makefile
index 275eb01c919f..ccdf57ef7f66 100644
--- a/devel/py-path/Makefile
+++ b/devel/py-path/Makefile
@@ -1,5 +1,6 @@
PORTNAME= path
PORTVERSION= 16.6.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,14 +12,13 @@ WWW= https://github.com/jaraco/path
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}
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-path/files/setup.py b/devel/py-path/files/setup.py
deleted file mode 100644
index 606849326a40..000000000000
--- a/devel/py-path/files/setup.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from setuptools import setup
-
-setup()