summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/py-blis/Makefile3
-rw-r--r--math/py-blis/files/patch-pyproject.toml11
-rw-r--r--math/py-blis/files/patch-setup.py6
-rw-r--r--math/py-pyreadstat/Makefile3
-rw-r--r--math/py-pyreadstat/files/patch-setup.py14
-rw-r--r--math/vtk9/Makefile3
-rw-r--r--math/vtk9/Makefile.version2
-rw-r--r--math/vtk9/distinfo6
-rw-r--r--math/vtk9/files/patch-ThirdParty_cgns_vtkcgns_src_adfh_ADFH.c13
-rw-r--r--math/vtk9/files/patch-ThirdParty_diy2_vtkdiy2_include_vtkdiy2_fmt_format.h18
-rw-r--r--math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop.c14
-rw-r--r--math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop__names.c14
-rw-r--r--math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glew.c10
-rw-r--r--math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glewinfo.c10
-rw-r--r--math/vtk9/files/patch-Utilities_octree_octree_octree__node.txx11
15 files changed, 11 insertions, 127 deletions
diff --git a/math/py-blis/Makefile b/math/py-blis/Makefile
index a8040e41539c..153586695a61 100644
--- a/math/py-blis/Makefile
+++ b/math/py-blis/Makefile
@@ -1,5 +1,6 @@
PORTNAME= blis
PORTVERSION= 1.3.0
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI \
https://github.com/explosion/cython-blis/releases/download/release-v${PORTVERSION}/
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.3,1<3.0.0,1:math/py-numpy@${PY
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent cython3 pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/math/py-blis/files/patch-pyproject.toml b/math/py-blis/files/patch-pyproject.toml
deleted file mode 100644
index 6e108948eb19..000000000000
--- a/math/py-blis/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- pyproject.toml.orig 2025-04-03 12:23:45 UTC
-+++ pyproject.toml
-@@ -1,7 +1,7 @@ requires = [
- [build-system]
- requires = [
- "setuptools",
-- "cython>=3.0,<4.0",
-+ "cython>=0,<4.0",
- "numpy>=1.19.3,<3.0.0"
- ]
- build-backend = "setuptools.build_meta"
diff --git a/math/py-blis/files/patch-setup.py b/math/py-blis/files/patch-setup.py
index 7f66284b12b2..ebd4020cd70d 100644
--- a/math/py-blis/files/patch-setup.py
+++ b/math/py-blis/files/patch-setup.py
@@ -1,12 +1,10 @@
--- setup.py.orig 2025-04-03 12:23:45 UTC
+++ setup.py
-@@ -302,8 +302,8 @@ setup(
-
+@@ -303,7 +303,7 @@ setup(
setup(
setup_requires=[
-- "cython>=3.0,<4.0",
+ "cython>=3.0,<4.0",
- "numpy>=2.0.0,<3.0.0",
-+ "cython>=0,<4.0",
+ "numpy>=1.19.0,<3.0.0",
],
install_requires=[
diff --git a/math/py-pyreadstat/Makefile b/math/py-pyreadstat/Makefile
index a4fc50048746..28702f0c4c52 100644
--- a/math/py-pyreadstat/Makefile
+++ b/math/py-pyreadstat/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyreadstat
PORTVERSION= 1.2.9
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0,1:math/py-pandas@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent cython3 pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/math/py-pyreadstat/files/patch-setup.py b/math/py-pyreadstat/files/patch-setup.py
deleted file mode 100644
index ee04a6d9cc21..000000000000
--- a/math/py-pyreadstat/files/patch-setup.py
+++ /dev/null
@@ -1,14 +0,0 @@
---- setup.py.orig 2024-10-18 20:21:39 UTC
-+++ setup.py
-@@ -26,11 +26,6 @@ if PY_MAJOR_VERSION < 3 and os.name == 'nt':
- if PY_MAJOR_VERSION < 3 and os.name == 'nt':
- raise Exception("Python 2 is not supported on Windows.")
-
--cyver = int(Cython.__version__.split(".")[0])
--if cyver < 3:
-- msg = "Cython version 3 or newer required"
-- raise Exception(msg)
--
- ext = '.pyx'
-
-
diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile
index 85979ec768e3..41087e74f8e4 100644
--- a/math/vtk9/Makefile
+++ b/math/vtk9/Makefile
@@ -1,6 +1,5 @@
PORTNAME= vtk
-DISTVERSION= 9.2.6
-PORTREVISION= 6
+DISTVERSION= 9.5.0
CATEGORIES= math graphics
MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/
PKGNAMESUFFIX= 9
diff --git a/math/vtk9/Makefile.version b/math/vtk9/Makefile.version
index 66ceb4b6ed8f..0704e0637ff9 100644
--- a/math/vtk9/Makefile.version
+++ b/math/vtk9/Makefile.version
@@ -1,3 +1,3 @@
# this file is provided for VTK users
-VTK_VER=9.2
+VTK_VER=9.5
diff --git a/math/vtk9/distinfo b/math/vtk9/distinfo
index c73d546ac962..89bd22215236 100644
--- a/math/vtk9/distinfo
+++ b/math/vtk9/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1687488293
-SHA256 (VTK-9.2.6.tar.gz) = 06fc8d49c4e56f498c40fcb38a563ed8d4ec31358d0101e8988f0bb4d539dd12
-SIZE (VTK-9.2.6.tar.gz) = 53810904
+TIMESTAMP = 1750828031
+SHA256 (VTK-9.5.0.tar.gz) = 04ae86246b9557c6b61afbc534a6df099244fbc8f3937f82e6bc0570953af87d
+SIZE (VTK-9.5.0.tar.gz) = 50172790
diff --git a/math/vtk9/files/patch-ThirdParty_cgns_vtkcgns_src_adfh_ADFH.c b/math/vtk9/files/patch-ThirdParty_cgns_vtkcgns_src_adfh_ADFH.c
deleted file mode 100644
index 908a0098eced..000000000000
--- a/math/vtk9/files/patch-ThirdParty_cgns_vtkcgns_src_adfh_ADFH.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- ThirdParty/cgns/vtkcgns/src/adfh/ADFH.c.orig 2022-10-02 11:37:19 UTC
-+++ ThirdParty/cgns/vtkcgns/src/adfh/ADFH.c
-@@ -287,6 +287,10 @@ if (mta_root == NULL){set_error(ADFH_ERR_ROOTNULL, err
- #define CMP_OINFO(r,n) ((r)->fileno==(n)->fileno && \
- (r)->addr==(n)->addr && (r)->addr != HADDR_UNDEF)
-
-+#if H5_VERSION_GE(1,12,0)
-+#undef H5L_info_t
-+#define H5L_info_t H5L_info2_t
-+#endif
-
- static herr_t gfind_by_name(hid_t, const char *, const H5L_info_t*, void *);
- static herr_t find_by_name(hid_t, const char *, const H5A_info_t*, void *);
diff --git a/math/vtk9/files/patch-ThirdParty_diy2_vtkdiy2_include_vtkdiy2_fmt_format.h b/math/vtk9/files/patch-ThirdParty_diy2_vtkdiy2_include_vtkdiy2_fmt_format.h
deleted file mode 100644
index eb9c13efbe2f..000000000000
--- a/math/vtk9/files/patch-ThirdParty_diy2_vtkdiy2_include_vtkdiy2_fmt_format.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/format.h.orig 2023-02-15 04:03:53 UTC
-+++ ThirdParty/diy2/vtkdiy2/include/vtkdiy2/fmt/format.h
-@@ -480,6 +480,7 @@ void buffer<T>::append(const U* begin, const U* end) {
- }
- } // namespace internal
-
-+#ifdef __cpp_char8_t
- // A UTF-8 string view.
- class u8string_view : public basic_string_view<char8_t> {
- public:
-@@ -497,6 +498,7 @@ inline u8string_view operator"" _u(const char* s, std:
- }
- } // namespace literals
- #endif
-+#endif // __cpp_char8_t
-
- // The number of characters to store in the basic_memory_buffer object itself
- // to avoid dynamic memory allocation.
diff --git a/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop.c b/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop.c
deleted file mode 100644
index eb29a277f139..000000000000
--- a/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop.c
+++ /dev/null
@@ -1,14 +0,0 @@
-- fix build with science/netcdf 4.9.3
-- see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284680
-
---- ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c.orig 2025-02-10 02:00:23 UTC
-+++ ThirdParty/exodusII/vtkexodusII/src/ex_put_prop.c
-@@ -243,7 +243,7 @@ int ex_put_prop(int exoid, ex_entity_type obj_type, ex
- vals[0] = 0; /* fill value */
- /* create attribute to cause variable to fill with zeros per routine spec
- */
-- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1, vals)) != NC_NOERR) {
-+ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type, 1, vals)) != NC_NOERR) {
- snprintf(errmsg, MAX_ERR_LENGTH,
- "ERROR: failed to create property name fill attribute in file id %d", exoid);
- ex_err_fn(exoid, __func__, errmsg, status);
diff --git a/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop__names.c b/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop__names.c
deleted file mode 100644
index 335822e40906..000000000000
--- a/math/vtk9/files/patch-ThirdParty_exodusII_vtkexodusII_src_ex__put__prop__names.c
+++ /dev/null
@@ -1,14 +0,0 @@
-- fix build with science/netcdf 4.9.3
-- see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284680
-
---- ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c.orig 2025-02-10 02:01:23 UTC
-+++ ThirdParty/exodusII/vtkexodusII/src/ex_put_prop_names.c
-@@ -172,7 +172,7 @@ int ex_put_prop_names(int exoid, ex_entity_type obj_ty
-
- /* create attribute to cause variable to fill with zeros per routine spec
- */
-- if ((status = nc_put_att_longlong(exoid, propid, _FillValue, int_type, 1, vals)) != NC_NOERR) {
-+ if ((status = nc_put_att_longlong(exoid, propid, NC_FillValue, int_type, 1, vals)) != NC_NOERR) {
- snprintf(errmsg, MAX_ERR_LENGTH,
- "ERROR: failed to create property name fill attribute in file id %d", exoid);
- ex_err_fn(exoid, __func__, errmsg, status);
diff --git a/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glew.c b/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glew.c
deleted file mode 100644
index 65889826bdd6..000000000000
--- a/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glew.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ThirdParty/glew/vtkglew/src/glew.c.orig 2024-02-21 22:29:42 UTC
-+++ ThirdParty/glew/vtkglew/src/glew.c
-@@ -38,6 +38,7 @@
-
- #if defined(GLEW_OSMESA)
- # define GLAPI extern
-+# define APIENTRY __stdcall
- # include <GL/osmesa.h>
- #elif defined(GLEW_EGL)
- # include <GL/eglew.h>
diff --git a/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glewinfo.c b/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glewinfo.c
deleted file mode 100644
index 0ea9659d6ec5..000000000000
--- a/math/vtk9/files/patch-ThirdParty_glew_vtkglew_src_glewinfo.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- ThirdParty/glew/vtkglew/src/glewinfo.c.orig 2024-02-21 22:29:54 UTC
-+++ ThirdParty/glew/vtkglew/src/glewinfo.c
-@@ -38,6 +38,7 @@
- #include <GL/eglew.h>
- #elif defined(GLEW_OSMESA)
- #define GLAPI extern
-+#define APIENTRY __stdcall
- #include <GL/osmesa.h>
- #elif defined(_WIN32)
- #include <GL/wglew.h>
diff --git a/math/vtk9/files/patch-Utilities_octree_octree_octree__node.txx b/math/vtk9/files/patch-Utilities_octree_octree_octree__node.txx
deleted file mode 100644
index de91955442bb..000000000000
--- a/math/vtk9/files/patch-Utilities_octree_octree_octree__node.txx
+++ /dev/null
@@ -1,11 +0,0 @@
---- Utilities/octree/octree/octree_node.txx.orig 2023-02-15 04:03:53 UTC
-+++ Utilities/octree/octree/octree_node.txx
-@@ -207,7 +207,7 @@ const octree_node<T_, d_, A_>& octree_node<T_, d_, A_>
- {
- throw std::domain_error("Attempt to access children of an octree leaf node.");
- }
-- return this->_M_chilren[child];
-+ return this->m_children[child];
- }
-
- /**\brief Return a reference to a child node.