git: 43865de6c405 - main - math/py-jacobi: New port: Compute numerical derivatives
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Jun 2023 08:27:16 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=43865de6c4053ae33bf9582f21ffee53983258e7
commit 43865de6c4053ae33bf9582f21ffee53983258e7
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-23 07:04:54 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-23 08:27:09 +0000
math/py-jacobi: New port: Compute numerical derivatives
---
math/Makefile | 1 +
math/py-jacobi/Makefile | 26 ++++++++++++++++++++++++++
math/py-jacobi/distinfo | 3 +++
math/py-jacobi/pkg-descr | 2 ++
4 files changed, 32 insertions(+)
diff --git a/math/Makefile b/math/Makefile
index b3164d9ea4a9..84ae0deff604 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -945,6 +945,7 @@
SUBDIR += py-iohexperimenter
SUBDIR += py-ipyopt
SUBDIR += py-isosurfaces
+ SUBDIR += py-jacobi
SUBDIR += py-jax
SUBDIR += py-kahip
SUBDIR += py-keras
diff --git a/math/py-jacobi/Makefile b/math/py-jacobi/Makefile
new file mode 100644
index 000000000000..bb7ef0484695
--- /dev/null
+++ b/math/py-jacobi/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= jacobi
+PORTVERSION= 0.8.1
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Compute numerical derivatives
+WWW= https://github.com/hdembinski/jacobi
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numba>0:devel/py-numba@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/math/py-jacobi/distinfo b/math/py-jacobi/distinfo
new file mode 100644
index 000000000000..27e23b5dd895
--- /dev/null
+++ b/math/py-jacobi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1687502773
+SHA256 (jacobi-0.8.1.tar.gz) = 6c12846157017c22d1bf0334d14a483f369bc80ecc206af4652ac2a23ef5607d
+SIZE (jacobi-0.8.1.tar.gz) = 997020
diff --git a/math/py-jacobi/pkg-descr b/math/py-jacobi/pkg-descr
new file mode 100644
index 000000000000..76fb550d5829
--- /dev/null
+++ b/math/py-jacobi/pkg-descr
@@ -0,0 +1,2 @@
+jacobi package for fast numerical derivatives for analytic functions with
+arbitrary round-off error and error propagation.