summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-Deriv/Makefile2
-rw-r--r--math/R-cran-Deriv/distinfo6
-rw-r--r--math/cvc5/Makefile5
-rw-r--r--math/libpoly/Makefile4
-rw-r--r--math/openblas64/Makefile5
-rw-r--r--math/openblas64/distinfo6
-rw-r--r--math/openblas64/files/patch-CMakeLists.txt15
-rw-r--r--math/openblas64/files/patch-cmake_system.cmake13
-rw-r--r--math/openblas64/files/patch-common__arm.h4
-rw-r--r--math/primecount/Makefile2
-rw-r--r--math/primecount/distinfo6
-rw-r--r--math/py-fastdtw/Makefile31
-rw-r--r--math/py-fastdtw/distinfo3
-rw-r--r--math/py-fastdtw/pkg-descr5
15 files changed, 43 insertions, 65 deletions
diff --git a/math/Makefile b/math/Makefile
index a8d9a3336373..034758a97829 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -975,7 +975,6 @@
SUBDIR += py-evalidate
SUBDIR += py-faiss
SUBDIR += py-fastcluster
- SUBDIR += py-fastdtw
SUBDIR += py-fenics-basix
SUBDIR += py-fenics-ffcx
SUBDIR += py-fenics-ufl
diff --git a/math/R-cran-Deriv/Makefile b/math/R-cran-Deriv/Makefile
index 884733f42c82..f9cb49e963d6 100644
--- a/math/R-cran-Deriv/Makefile
+++ b/math/R-cran-Deriv/Makefile
@@ -1,5 +1,5 @@
PORTNAME= Deriv
-PORTVERSION= 4.1.6
+PORTVERSION= 4.2.0
CATEGORIES= math
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff --git a/math/R-cran-Deriv/distinfo b/math/R-cran-Deriv/distinfo
index 6010c4fbb064..18a9bf2c4613 100644
--- a/math/R-cran-Deriv/distinfo
+++ b/math/R-cran-Deriv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1726903945
-SHA256 (Deriv_4.1.6.tar.gz) = 01b82a52dc5eb395142c17e062878f5022b68a34725ba0dcdf55c1f61ea4ba72
-SIZE (Deriv_4.1.6.tar.gz) = 37831
+TIMESTAMP = 1750650410
+SHA256 (Deriv_4.2.0.tar.gz) = 210394e7f90fe6fd943d37e8b1953c5a3c10c96fbdc5bbac7660aa9d112a1f63
+SIZE (Deriv_4.2.0.tar.gz) = 38752
diff --git a/math/cvc5/Makefile b/math/cvc5/Makefile
index dd800f743ae5..a42303efa420 100644
--- a/math/cvc5/Makefile
+++ b/math/cvc5/Makefile
@@ -19,10 +19,9 @@ BUILD_DEPENDS= bash:shells/bash \
${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR}
-LIB_DEPENDS= libantlr3c.so:devel/libantlr3c \
- libcadical.so:math/cadical
+LIB_DEPENDS= libcadical.so:math/cadical
-USES= cmake:testing ncurses compiler:c++17-lang java:build \
+USES= cmake:testing ncurses compiler:c++17-lang \
localbase:ldflags pkgconfig python:build
USE_LDCONFIG= yes
USE_GITHUB= yes
diff --git a/math/libpoly/Makefile b/math/libpoly/Makefile
index 6a254cb70cc9..0e85bafaadcb 100644
--- a/math/libpoly/Makefile
+++ b/math/libpoly/Makefile
@@ -7,7 +7,7 @@ MAINTAINER= yuri@FreeBSD.org
COMMENT= C library for manipulating polynomials
WWW= https://github.com/SRI-CSL/libpoly
-LICENSE= GPLv3
+LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libgmp.so:math/gmp
@@ -23,7 +23,7 @@ CMAKE_OFF= LIBPOLY_BUILD_PYTHON_API LIBPOLY_BUILD_STATIC LIBPOLY_BUILD_STATIC_PI
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
-CFLAGS+= -Wno-error=unused-but-set-variable
+CFLAGS+= -Wno-error=unused-but-set-variable
.endif
# tests as of 0.2.0: 100% tests passed, 0 tests failed out of 14
diff --git a/math/openblas64/Makefile b/math/openblas64/Makefile
index 06a4932c56f8..d5c208a2c3a7 100644
--- a/math/openblas64/Makefile
+++ b/math/openblas64/Makefile
@@ -1,7 +1,6 @@
PORTNAME= openblas
DISTVERSIONPREFIX= v
-DISTVERSION= 0.3.29
-PORTREVISION= 1
+DISTVERSION= 0.3.30
CATEGORIES= math
MASTER_SITES= NL/lapack/timing/:lapack_tmg
PKGNAMESUFFIX= 64
@@ -55,7 +54,7 @@ DYNAMIC_ARCH_DESC= Optimize for multiple CPU types, otherwise for this CPU
BENCHMARKS_CMAKE_BOOL= BUILD_BENCHMARKS
DYNAMIC_ARCH_CMAKE_BOOL=DYNAMIC_ARCH DYNAMIC_OLDER
OPENMP_CMAKE_BOOL= USE_OPENMP
-OPENMP_LDFLAGS= -lomp
+OPENMP_CMAKE_ON= -DOpenMP_omp_LIBRARY="/usr/lib/libomp.so"
.include <bsd.port.options.mk>
diff --git a/math/openblas64/distinfo b/math/openblas64/distinfo
index 4d9f628b7c61..273ce2b88266 100644
--- a/math/openblas64/distinfo
+++ b/math/openblas64/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1737726082
+TIMESTAMP = 1750518123
SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
SIZE (openblas/large.tgz) = 2595
SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
SIZE (openblas/timing.tgz) = 1059485
-SHA256 (openblas/OpenMathLib-OpenBLAS-v0.3.29_GH0.tar.gz) = 38240eee1b29e2bde47ebb5d61160207dc68668a54cac62c076bb5032013b1eb
-SIZE (openblas/OpenMathLib-OpenBLAS-v0.3.29_GH0.tar.gz) = 24671913
+SHA256 (openblas/OpenMathLib-OpenBLAS-v0.3.30_GH0.tar.gz) = 27342cff518646afb4c2b976d809102e368957974c250a25ccc965e53063c95d
+SIZE (openblas/OpenMathLib-OpenBLAS-v0.3.30_GH0.tar.gz) = 24699801
diff --git a/math/openblas64/files/patch-CMakeLists.txt b/math/openblas64/files/patch-CMakeLists.txt
index a58aa620cb0b..7fa2920ca645 100644
--- a/math/openblas64/files/patch-CMakeLists.txt
+++ b/math/openblas64/files/patch-CMakeLists.txt
@@ -1,11 +1,18 @@
---- CMakeLists.txt.orig 2024-04-04 20:26:04 UTC
+--- CMakeLists.txt.orig 2025-06-22 09:12:23 UTC
+++ CMakeLists.txt
-@@ -448,7 +448,7 @@ if (BUILD_SHARED_LIBS AND NOT ${SYMBOLPREFIX}${SYMBOLS
+@@ -541,13 +541,13 @@ message(STATUS "adding postbuild instruction to rename
if (NOT USE_PERL)
add_custom_command(TARGET ${OpenBLAS_LIBNAME}_shared POST_BUILD
- COMMAND ${PROJECT_SOURCE_DIR}/exports/gensymbol "objcopy" "${ARCH}" "${BU}" "${EXPRECISION_IN}" "${NO_CBLAS_IN}" "${NO_LAPACK_IN}" "${NO_LAPACKE_IN}" "${NEED2UNDERSCORES_IN}" "${ONLY_CBLAS_IN}" \"${SYMBOLPREFIX}\" \"${SYMBOLSUFFIX}\" "${BLD}" "${BBF16}" "${BS}" "${BD}" "${BC}" "${BZ}" > ${PROJECT_BINARY_DIR}/objcopy.def
-- COMMAND objcopy -v --redefine-syms ${PROJECT_BINARY_DIR}/objcopy.def ${PROJECT_BINARY_DIR}/lib/lib${OpenBLAS_LIBNAME}.so
+ COMMAND sh ${PROJECT_SOURCE_DIR}/exports/gensymbol "objcopy" "${ARCH}" "${BU}" "${EXPRECISION_IN}" "${NO_CBLAS_IN}" "${NO_LAPACK_IN}" "${NO_LAPACKE_IN}" "${NEED2UNDERSCORES_IN}" "${ONLY_CBLAS_IN}" \"${SYMBOLPREFIX}\" \"${SYMBOLSUFFIX}\" "${BLD}" "${BBF16}" "${BS}" "${BD}" "${BC}" "${BZ}" > ${PROJECT_BINARY_DIR}/objcopy.def
+- COMMAND objcopy -v --redefine-syms ${PROJECT_BINARY_DIR}/objcopy.def ${PROJECT_BINARY_DIR}/lib/${OpenBLAS_LIBNAME}.so
+ COMMAND objcopy --redefine-syms ${PROJECT_BINARY_DIR}/objcopy.def ${PROJECT_BINARY_DIR}/lib/lib${OpenBLAS_LIBNAME}.so
COMMENT "renaming symbols"
)
else()
+ add_custom_command(TARGET ${OpenBLAS_LIBNAME}_shared POST_BUILD
+ COMMAND perl ${PROJECT_SOURCE_DIR}/exports/gensymbol.pl "objcopy" "${ARCH}" "${BU}" "${EXPRECISION_IN}" "${NO_CBLAS_IN}" "${NO_LAPACK_IN}" "${NO_LAPACKE_IN}" "${NEED2UNDERSCORES_IN}" "${ONLY_CBLAS_IN}" \"${SYMBOLPREFIX}\" \"${SYMBOLSUFFIX}\" "${BLD}" "${BBF16}" "${BS}" "${BD}" "${BC}" "${BZ}" > ${PROJECT_BINARY_DIR}/objcopy.def
+- COMMAND objcopy -v --redefine-syms ${PROJECT_BINARY_DIR}/objcopy.def ${PROJECT_BINARY_DIR}/lib/lib${OpenBLAS_LIBNAME}.so
++ COMMAND objcopy --redefine-syms ${PROJECT_BINARY_DIR}/objcopy.def ${PROJECT_BINARY_DIR}/lib/lib${OpenBLAS_LIBNAME}.so
+ COMMENT "renaming symbols"
+ )
+ endif()
diff --git a/math/openblas64/files/patch-cmake_system.cmake b/math/openblas64/files/patch-cmake_system.cmake
new file mode 100644
index 000000000000..763a00e23156
--- /dev/null
+++ b/math/openblas64/files/patch-cmake_system.cmake
@@ -0,0 +1,13 @@
+--- cmake/system.cmake.orig 2025-06-19 09:45:39 UTC
++++ cmake/system.cmake
+@@ -380,8 +380,9 @@ if (USE_OPENMP)
+ # Avoid mixed OpenMP linkage
+ get_target_property(OMP_C_LIB OpenMP::OpenMP_C INTERFACE_LINK_LIBRARIES)
+ get_target_property(OMP_Fortran_LIB OpenMP::OpenMP_Fortran INTERFACE_LINK_LIBRARIES)
++# Disable this error on FreeBSD (dangerous by OK for the moment)
+ if (NOT OMP_C_LIB STREQUAL OMP_Fortran_LIB)
+- message(FATAL_ERROR "Multiple OpenMP runtime libraries detected. Mixed OpenMP runtime linkage is dangerous. You may pass -DOpenMP_LANG_LIB_NAMES and -DOpenMP_omp_LIBRARY to manually choose the OpenMP library.")
++ message(STATUS "Multiple OpenMP runtime libraries detected. Mixed OpenMP runtime linkage is dangerous. You may pass -DOpenMP_LANG_LIB_NAMES and -DOpenMP_omp_LIBRARY to manually choose the OpenMP library.")
+ endif()
+ endif ()
+ endif ()
diff --git a/math/openblas64/files/patch-common__arm.h b/math/openblas64/files/patch-common__arm.h
index 1ffd13a2c63b..0c34ba948968 100644
--- a/math/openblas64/files/patch-common__arm.h
+++ b/math/openblas64/files/patch-common__arm.h
@@ -1,6 +1,6 @@
---- common_arm.h.orig 2023-04-01 20:18:01 UTC
+--- common_arm.h.orig 2025-06-19 09:45:39 UTC
+++ common_arm.h
-@@ -95,6 +95,17 @@ static inline int blas_quickdivide(blasint x, blasint
+@@ -93,6 +93,17 @@ static inline int blas_quickdivide(blasint x, blasint
#endif
diff --git a/math/primecount/Makefile b/math/primecount/Makefile
index c40e6c3f9e81..a94059e31673 100644
--- a/math/primecount/Makefile
+++ b/math/primecount/Makefile
@@ -1,6 +1,6 @@
PORTNAME= primecount
DISTVERSIONPREFIX= v
-DISTVERSION= 7.18
+DISTVERSION= 7.19
CATEGORIES= math
MAINTAINER= thierry@FreeBSD.org
diff --git a/math/primecount/distinfo b/math/primecount/distinfo
index 9c7dee5d4363..5e920f15c4bd 100644
--- a/math/primecount/distinfo
+++ b/math/primecount/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748365438
-SHA256 (kimwalisch-primecount-v7.18_GH0.tar.gz) = 9d8a0127cc4dd9319006b5db6c6f9844532dab9da9c2d410d1e244902463a399
-SIZE (kimwalisch-primecount-v7.18_GH0.tar.gz) = 528607
+TIMESTAMP = 1750597095
+SHA256 (kimwalisch-primecount-v7.19_GH0.tar.gz) = 0ecb63282c02e3056707671b3d6c5bdb783b64a33c911f0fd4abe6e79e9f8a34
+SIZE (kimwalisch-primecount-v7.19_GH0.tar.gz) = 535688
diff --git a/math/py-fastdtw/Makefile b/math/py-fastdtw/Makefile
deleted file mode 100644
index 5fbe74845589..000000000000
--- a/math/py-fastdtw/Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
-PORTNAME= fastdtw
-DISTVERSIONPREFIX= v
-DISTVERSION= 0.3.4
-PORTREVISION= 3
-CATEGORIES= math python
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Dynamic Time Warping (DTW) algorithm with an O(N) complexity
-WWW= https://github.com/slaypni/fastdtw
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expired devel/py-pytest-runner
-EXPIRATION_DATE=2025-03-31
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
-RUN_DEPENDS= ${PYNUMPY}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-
-USES= python
-
-USE_GITHUB= yes # tests are only on github
-GH_ACCOUNT= slaypni
-USE_PYTHON= distutils cython autoplist pytest # tests fail: https://github.com/slaypni/fastdtw/issues/23
-
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/fastdtw/_fastdtw${PYTHON_TAG}.so
-
-.include <bsd.port.mk>
diff --git a/math/py-fastdtw/distinfo b/math/py-fastdtw/distinfo
deleted file mode 100644
index e8ce8867fb1c..000000000000
--- a/math/py-fastdtw/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1570521412
-SHA256 (slaypni-fastdtw-v0.3.4_GH0.tar.gz) = da9bea6a9bc3c3a3424de1d82d3ce7d0545514ed255af16558ef4ddce28f36a7
-SIZE (slaypni-fastdtw-v0.3.4_GH0.tar.gz) = 127976
diff --git a/math/py-fastdtw/pkg-descr b/math/py-fastdtw/pkg-descr
deleted file mode 100644
index b8d8c587ff66..000000000000
--- a/math/py-fastdtw/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Python implementation of FastDTW [1], which is an approximate Dynamic Time
-Warping (DTW) algorithm that provides optimal or near-optimal alignments
-with an O(N) time and memory complexity.
-
-[1] http://cs.fit.edu/~pkc/papers/tdm04.pdf