From nobody Tue Aug 4 20:10:36 2026 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hF4RK4xt1z6nLp3 for ; Tue, 04 Aug 2026 20:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hF4RK0y4rz3TKG for ; Tue, 04 Aug 2026 20:10:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785874237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SbL5dzGg7mSp+qYIAJOFBv7z4Ow4Mrb+i79Xj1Dr4dA=; b=jYX/FCFRU+u9woZS/eVc+tBLw5ZGvHcO3jUGehbSf7vKNH13a+bsbnRfldlaOZaft/PcUM 0HMcirsFFpdmnYQnKWjoN9i9YAqG8NHdLFF0HrATiu0FOG4vHZrvtw3+gpCarS2PTJJGm1 V/jHvG4AMK/1qs/T/RisO5RIeB1qffBLTmgrYGI4p07UhX/43j9Cu9+EglqhlA2n1ndX9P ZcJWb32r6FIQfpz/RM1TZDLatnOv8bTc6eSTAGCEmIoFxO2AOEg3U1gc6vDAPnILNqq7p0 dQjAeT3bTjgKFTBaVeIu/RGmbJSXCpJuCh2AtIa/UoClWr1cWx05nGOucTjTcw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785874237; a=rsa-sha256; cv=none; b=PLnzwHRgdl0Bo9iy58akcDuvRGd1M9yd4RGma15/6pBZxmP8Ha8TVA53MtmWt+FPATgAGN ZjOhZ1QjET9/laKO4W+Owyvbbgz5Qln3TdQsyyQkuoIMeSqJQEK2MAnRiOilx6Hp9sHDPj TKXzjriBkFAx7WE2DyRlxLcXQoiFEbbjXtV+Zz/QY9846SV8C8rbv6hOdm1a5SJJWr1BHm DcF0ngXeR+Cdg6nCXUE4jEnkibtCVbIaaw+RYI4w5IQV2NhfpQDUgUj2HwkNwVkHpfQtGa xx8tPC77nm1ZzOtceIDsY7hgR7t2lc6u9ED0hsXQ9Vhse4fypk8owgv6dQP64g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785874237; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=SbL5dzGg7mSp+qYIAJOFBv7z4Ow4Mrb+i79Xj1Dr4dA=; b=PCJU2ogo8/zfPiKLypSzoKljKWoDVZJiz2BFY1pgocGu3XYZrLmDBI8+Ksd3/7+qFRBjxG qZJjzEjQsUa8ccHY7jWmDdonBsErT4MVPiXLQ1d9ufGVk4L0yuBxzQX+t7Fsh3rMw9SaKj N9rgEinFNdJqKC58ZEuQUP8aHrA8PaayYjLMUonLhjfrPwi2jRcLmNGi7gy++M2JZjIomE nXVDYHeD8TZ4DuV6+XV98jlHFlmyaVCXw3jX4Avr8E46daE31FYSWHLb6oW1oEem4jfKvs uyrSYOPpxca72+eK4UWgJMWYI1UshSMZ/xiQyBtUeHjhCckUEnH70YF6z4eSMg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hF4RJ6Ln2z12RK for ; Tue, 04 Aug 2026 20:10:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3b5fc by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 04 Aug 2026 20:10:36 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 7a6824a20320 - main - math/py-findiff: New port: Finite difference derivatives in any number of dimensions List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7a6824a2032074be18800473e4f6ada4d636ae0f Auto-Submitted: auto-generated Date: Tue, 04 Aug 2026 20:10:36 +0000 Message-Id: <6a72473c.3b5fc.69528123@gitrepo.freebsd.org> The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a6824a2032074be18800473e4f6ada4d636ae0f commit 7a6824a2032074be18800473e4f6ada4d636ae0f Author: Yuri Victorovich AuthorDate: 2026-08-04 06:49:03 +0000 Commit: Yuri Victorovich CommitDate: 2026-08-04 20:10:23 +0000 math/py-findiff: New port: Finite difference derivatives in any number of dimensions --- math/Makefile | 1 + math/py-findiff/Makefile | 26 ++++++++++++++++++++++++++ math/py-findiff/distinfo | 3 +++ math/py-findiff/files/patch-pyproject.toml | 13 +++++++++++++ math/py-findiff/pkg-descr | 4 ++++ 5 files changed, 47 insertions(+) diff --git a/math/Makefile b/math/Makefile index f01cc9fb236b..8f3949ffc7f9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1009,6 +1009,7 @@ SUBDIR += py-fenics-basix SUBDIR += py-fenics-ffcx SUBDIR += py-fenics-ufl + SUBDIR += py-findiff SUBDIR += py-flax SUBDIR += py-formulaic SUBDIR += py-formulaic-contrasts diff --git a/math/py-findiff/Makefile b/math/py-findiff/Makefile new file mode 100644 index 000000000000..8bd0eb66919b --- /dev/null +++ b/math/py-findiff/Makefile @@ -0,0 +1,26 @@ +PORTNAME= findiff +DISTVERSION= 0.13.1 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Finite difference derivatives in any number of dimensions +WWW= https://github.com/maroba/findiff + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist concurrent + +NO_ARCH= yes + +.include diff --git a/math/py-findiff/distinfo b/math/py-findiff/distinfo new file mode 100644 index 000000000000..641a7f973618 --- /dev/null +++ b/math/py-findiff/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1785732667 +SHA256 (findiff-0.13.1.tar.gz) = 3aad6eda5e707675310d2c37f69bc1f52751184bb48dc49222e2d4af8aa62eff +SIZE (findiff-0.13.1.tar.gz) = 1603620 diff --git a/math/py-findiff/files/patch-pyproject.toml b/math/py-findiff/files/patch-pyproject.toml new file mode 100644 index 000000000000..26413bb851bd --- /dev/null +++ b/math/py-findiff/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +-- Lower the setuptools build requirement to match the version available in +-- the FreeBSD ports tree. Upstream asks for setuptools>=64, but +-- devel/py-setuptools currently provides 63.1.0. + +--- pyproject.toml.orig 2026-08-03 15:43:55 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"] ++requires = ["setuptools>=63.1.0", "setuptools_scm[toml]>=6.2"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/math/py-findiff/pkg-descr b/math/py-findiff/pkg-descr new file mode 100644 index 000000000000..8bbc54026e51 --- /dev/null +++ b/math/py-findiff/pkg-descr @@ -0,0 +1,4 @@ +Finite difference derivatives in any number of dimensions. + +It supports arbitrary stencil operators and automatic differentiation +helpers for numpy arrays.