git: d3fe959a360f - main - devel/py-lazy-object-proxy: Remove PY_SETUPTOOLS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:12:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d3fe959a360ff7a578fdbde0aebe3ede1f7ac0c1

commit d3fe959a360ff7a578fdbde0aebe3ede1f7ac0c1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:47:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:05:50 +0000

    devel/py-lazy-object-proxy: Remove PY_SETUPTOOLS
    
    - Update version requirement of BUILD_DEPENDS
    
    py-setuptools should be used rather than PY_SETUPTOOLS
---
 devel/py-lazy-object-proxy/Makefile                   | 4 ++--
 devel/py-lazy-object-proxy/files/patch-pyproject.toml | 6 ++----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/devel/py-lazy-object-proxy/Makefile b/devel/py-lazy-object-proxy/Makefile
index 0c6e7f155d01..34095cdc7bbb 100644
--- a/devel/py-lazy-object-proxy/Makefile
+++ b/devel/py-lazy-object-proxy/Makefile
@@ -11,8 +11,8 @@ WWW=		https://github.com/ionelmc/python-lazy-object-proxy
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6:devel/py-setuptools-scm@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python
diff --git a/devel/py-lazy-object-proxy/files/patch-pyproject.toml b/devel/py-lazy-object-proxy/files/patch-pyproject.toml
index 69bb95ed2026..43ad3a630f14 100644
--- a/devel/py-lazy-object-proxy/files/patch-pyproject.toml
+++ b/devel/py-lazy-object-proxy/files/patch-pyproject.toml
@@ -1,12 +1,10 @@
 --- pyproject.toml.orig	2023-12-13 17:32:08 UTC
 +++ pyproject.toml
-@@ -1,7 +1,7 @@
+@@ -1,6 +1,6 @@ requires = [
  [build-system]
  requires = [
 -    "setuptools>=64",
--    "setuptools_scm>=8",
 +    "setuptools>=61",
-+    "setuptools_scm>=6",
+     "setuptools_scm>=8",
  ]
  build-backend = "setuptools.build_meta"
-