summaryrefslogtreecommitdiff
path: root/misc/py-ezc3d
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-ezc3d')
-rw-r--r--misc/py-ezc3d/Makefile7
-rw-r--r--misc/py-ezc3d/distinfo6
-rw-r--r--misc/py-ezc3d/files/patch-pyproject.toml34
3 files changed, 41 insertions, 6 deletions
diff --git a/misc/py-ezc3d/Makefile b/misc/py-ezc3d/Makefile
index f726e1cd4b87..ff6283c658be 100644
--- a/misc/py-ezc3d/Makefile
+++ b/misc/py-ezc3d/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ezc3d
DISTVERSIONPREFIX= Release_
-DISTVERSION= 1.5.19
+DISTVERSION= 1.6.3
CATEGORIES= misc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,8 @@ WWW= https://github.com/pyomeca/ezc3d
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYNUMPY} \
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scikit-build>0:devel/py-scikit-build@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
cmake:devel/cmake-core \
@@ -19,7 +20,7 @@ BUILD_DEPENDS= ${PYNUMPY} \
RUN_DEPENDS= ${PYNUMPY}
USES= python
-USE_PYTHON= distutils autoplist pytest # autoplist is broken due to https://github.com/pyomeca/ezc3d/issues/258 ; 3 tests fail, see https://github.com/pyomeca/ezc3d/issues/291
+USE_PYTHON= pep517 autoplist pytest # autoplist is broken due to https://github.com/pyomeca/ezc3d/issues/258 ; 3 tests fail, see https://github.com/pyomeca/ezc3d/issues/291
USE_GITHUB= yes
GH_ACCOUNT= pyomeca
diff --git a/misc/py-ezc3d/distinfo b/misc/py-ezc3d/distinfo
index 1d7ff6d3d592..4d2bd441934f 100644
--- a/misc/py-ezc3d/distinfo
+++ b/misc/py-ezc3d/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1750226884
-SHA256 (pyomeca-ezc3d-Release_1.5.19_GH0.tar.gz) = e2d9ce20c13e0f2167378763b4c76447fce943f2f2ccbb2a9e985835283a622c
-SIZE (pyomeca-ezc3d-Release_1.5.19_GH0.tar.gz) = 954560
+TIMESTAMP = 1764447621
+SHA256 (pyomeca-ezc3d-Release_1.6.3_GH0.tar.gz) = 49f297b1046214771b5a4b2037621642c7bb8a454ca3976a7f5cacb222670af3
+SIZE (pyomeca-ezc3d-Release_1.6.3_GH0.tar.gz) = 943755
SHA256 (google-googletest-3880b13_GH0.tar.gz) = ea3d403a3de3ab084841ec97efa440fb45d5f2fbe4eb09a22ccb9643a6af11ba
SIZE (google-googletest-3880b13_GH0.tar.gz) = 962793
diff --git a/misc/py-ezc3d/files/patch-pyproject.toml b/misc/py-ezc3d/files/patch-pyproject.toml
new file mode 100644
index 000000000000..f9ae9fdf9b0e
--- /dev/null
+++ b/misc/py-ezc3d/files/patch-pyproject.toml
@@ -0,0 +1,34 @@
+--- pyproject.toml.orig 2025-11-29 13:01:05.743721000 -0800
++++ pyproject.toml 2025-11-29 13:01:10.079226000 -0800
+@@ -1,30 +1,11 @@
+ [build-system]
+ requires = [
+- "setuptools>=61.0",
++ "setuptools",
+ "wheel",
+ "scikit-build",
+- "cmake",
+- "ninja",
+- "swig",
+ "numpy",
+ ]
+ build-backend = "setuptools.build_meta"
+
+-[project]
+-name = "ezc3d"
+-dynamic = ["version"]
+-dependencies = [
+- "numpy",
+-]
+-description = "Easy to use C3D reader/writer for C++, Python, and Matlab"
+-readme = "README.md" # This links to your README file
+-authors = [
+- {name = "Michaud, Benjamin"},
+- {name = "Begon, Mickaƫl"}
+-]
+-license-files = ["LICENSE"]
+-urls = { "Homepage" = "https://github.com/pyomeca/ezc3d" }
+-requires-python = ">=3.10"
+-
+ [tool.cibuildwheel]
+ build-frontend = "build"