git: b2e7eba893ea - main - devel/scons: Update to 4.5.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:48:09 UTC
The branch main has been updated by sunpoet:

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

commit b2e7eba893ea11b5d2979f44608a93f380ab838f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 17:40:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:44:56 +0000

    devel/scons: Update to 4.5.2
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://scons.org/tag/releases.html
                    https://github.com/SCons/scons/blob/master/CHANGES.txt
    PR:             274524
    Exp-run by:     antoine
---
 devel/scons/Makefile              |  7 +++++--
 devel/scons/distinfo              |  4 ++--
 devel/scons/files/patch-setup.cfg | 13 ++++++++++---
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/devel/scons/Makefile b/devel/scons/Makefile
index 1760c3157ec0..7070c057bb27 100644
--- a/devel/scons/Makefile
+++ b/devel/scons/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	scons
-PORTVERSION=	4.4.0
+PORTVERSION=	4.5.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMESUFFIX=	${PYTHON_PKGNAMESUFFIX}
@@ -13,8 +13,11 @@ WWW=		https://scons.org/ \
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/scons/distinfo b/devel/scons/distinfo
index 109c3d3b5ca4..9d8fc257d266 100644
--- a/devel/scons/distinfo
+++ b/devel/scons/distinfo
@@ -1,3 +1,3 @@
 TIMESTAMP = 1660576591
-SHA256 (SCons-4.4.0.tar.gz) = 7703c4e9d2200b4854a31800c1dbd4587e1fa86e75f58795c740bcfa7eca7eaa
-SIZE (SCons-4.4.0.tar.gz) = 3096859
+SHA256 (SCons-4.5.2.tar.gz) = 813360b2bce476bc9cc12a0f3a22d46ce520796b352557202cb07d3e402f5458
+SIZE (SCons-4.5.2.tar.gz) = 3194717
diff --git a/devel/scons/files/patch-setup.cfg b/devel/scons/files/patch-setup.cfg
index 7242b4ffd724..6322ead05327 100644
--- a/devel/scons/files/patch-setup.cfg
+++ b/devel/scons/files/patch-setup.cfg
@@ -1,7 +1,14 @@
---- setup.cfg.orig	2021-05-28 17:56:43 UTC
+--- setup.cfg.orig	2023-03-21 16:18:43 UTC
 +++ setup.cfg
-@@ -56,7 +56,7 @@ console_scripts = 
- scons.tool.docbook = *.*
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = SCons
++name = scons
+ license = MIT
+ author = William Deegan
+ author_email = bill@baddogconsulting.com
+@@ -60,7 +60,7 @@ console_scripts = 
+ SCons.Tool.docbook = *.*
  
  [options.data_files]
 -. = scons.1