summaryrefslogtreecommitdiff
path: root/devel/py-etuples
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-etuples')
-rw-r--r--devel/py-etuples/Makefile10
-rw-r--r--devel/py-etuples/distinfo6
-rw-r--r--devel/py-etuples/files/patch-pyproject.toml17
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",