git: 5bcf01937c26 - main - devel/py-etuples: update 0.3.9 → 0.3.10

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 15 Jul 2025 06:50:55 UTC
The branch main has been updated by yuri:

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

commit 5bcf01937c26828c0a0c2105778566ae78a78e1b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-07-15 05:58:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-07-15 06:50:49 +0000

    devel/py-etuples: update 0.3.9 → 0.3.10
    
    Reported by:    portscout
---
 devel/py-etuples/Makefile                   | 10 +++++++---
 devel/py-etuples/distinfo                   |  6 +++---
 devel/py-etuples/files/patch-pyproject.toml | 17 +++++++++++++++++
 3 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/devel/py-etuples/Makefile b/devel/py-etuples/Makefile
index d690d1ebe48d..6ed180e896c0 100644
--- a/devel/py-etuples/Makefile
+++ b/devel/py-etuples/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	etuples
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.3.9
-PORTREVISION=	1
+DISTVERSION=	0.3.10
 #MASTER_SITES=	PYPI # no tests
 CATEGORIES=	devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,16 +12,21 @@ WWW=		https://github.com/pythological/etuples
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cons>0:devel/py-cons@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}multipledispatch>0:devel/py-multipledispatch@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist pytest # tests fail: TypeError: Tried to dispatch on non-type, see https://github.com/pythological/etuples/issues/24
+USE_PYTHON=	pep517 autoplist pytest # tests fail: TypeError: Tried to dispatch on non-type, see https://github.com/pythological/etuples/issues/24
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pythological
 GH_PROJECT=	etuples
 
+MAKE_ENV=	SETUPTOOLS_SCM_PRETEND_VERSION="${PORTVERSION}"
+
 NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/devel/py-etuples/distinfo b/devel/py-etuples/distinfo
index aee8fe154e57..7ba4dfde4466 100644
--- a/devel/py-etuples/distinfo
+++ b/devel/py-etuples/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687310534
-SHA256 (pythological-etuples-v0.3.9_GH0.tar.gz) = 9ccca3515b7bf7d3ad64b9e6cd84e116cb14b4ec05ec9eeda488c1d757a75dc4
-SIZE (pythological-etuples-v0.3.9_GH0.tar.gz) = 45310
+TIMESTAMP = 1752557374
+SHA256 (pythological-etuples-v0.3.10_GH0.tar.gz) = 2881688cf19d378c32f21b66c1a92e1f20088403b8a4e115f0f0d740b929b21e
+SIZE (pythological-etuples-v0.3.10_GH0.tar.gz) = 22424
diff --git a/devel/py-etuples/files/patch-pyproject.toml b/devel/py-etuples/files/patch-pyproject.toml
new file mode 100644
index 000000000000..88fa87bc24d1
--- /dev/null
+++ b/devel/py-etuples/files/patch-pyproject.toml
@@ -0,0 +1,17 @@
+--- pyproject.toml.orig	2025-07-14 18:47:57 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=80.0.0", "setuptools-scm"]
++requires = ["setuptools", "setuptools-scm"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -13,7 +13,6 @@ requires-python = ">=3.9"
+ ]
+ readme = "README.md"
+ requires-python = ">=3.9"
+-license = "Apache-2.0"
+ classifiers = [
+     "Development Status :: 4 - Beta",
+     "Intended Audience :: Science/Research",