From nobody Wed Aug 10 04:17:38 2022 X-Original-To: dev-commits-ports-main@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 4M2c9G6nSmz4Y1qM; Wed, 10 Aug 2022 04:17:38 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M2c9G6Dxzz3Mgf; Wed, 10 Aug 2022 04:17:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105058; 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=h8Ai5ddxgEVP3z2RVhwLAFM6/LyT0XRVj7RFom5AIMU=; b=i79pM0WFaSXLL4498YSvCT3PtjfZRYsauMCoE0q2gOVnOw7C8m5e+9bIPZMbOlwlGauPkm FGt/sBrYfARxYkOPtqP+tmPJfwj4qszIlX84QzN5EcJoIGPyT/etnYXQOLqEvftHDTP5kk Sx03oHxg9arrKJ8yQIw+gyBJQLQyqE8D4lc7cJbSBa/5njhvjrwr86JGYMSOQnSYczvvwi 7PEWwhr1NLUGaO89NpLpbIw4w1dMLfcRPw7Rw4tGZqEqsWojGZ/5EBESj/6dwhdwFXqmn+ svB6txUDLUEYMwcki0qDpJT7RyWIk86YbC9SG5BPx+d9NA+hjCNI3i6sK/yLag== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M2c9G5KnyzxjQ; Wed, 10 Aug 2022 04:17:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27A4Hcpn007840; Wed, 10 Aug 2022 04:17:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27A4Hcv1007839; Wed, 10 Aug 2022 04:17:38 GMT (envelope-from git) Date: Wed, 10 Aug 2022 04:17:38 GMT Message-Id: <202208100417.27A4Hcv1007839@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: d2fcb69f6810 - main - math/py-numdifftools: New port: Solve automatic numerical differentiation problems in 1+ variables List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org 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: d2fcb69f68107f4c9b0e5e48ae5946b3fd0cbc4d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105058; 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=h8Ai5ddxgEVP3z2RVhwLAFM6/LyT0XRVj7RFom5AIMU=; b=SH2ro9vySawI8v/vdDCc00xVN0frvPSGn1v/FYoE5hYFKip4WClt3LUDwNHDC1hx/3qwqA LeVt9PhpWT+oYWn97qlnrrRN2PnDQQkylwyOq+yLm8/CSK5CHbVZqDDs4ny8vNbTaYO3ki vAp2UZK6TCd1L11Iydcb3uV1hFw8TK82aiCLO+fj3SNXMYRoyzvlj59FgpqRZgewDNTPmQ 9oEV/mJmiRFO80SzP28zrSXQVyjUsJXaGNZrG7/yc5oaH0q+vRFhPtBpXCAibPMv9MquD7 iXX3jjcVH8j1k4u6T792hFkrKpuZAq7tflVE3KjtIKPYGx8kybGJvEqjlxVwUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660105058; a=rsa-sha256; cv=none; b=Oa1LQ4X72KcadmbE7RhtWxeZRxOZSMrTI9nyxAzH3OVBICkZ5RaQ7lFaMZeHgsBzQIxbq/ 3UPWj1Dv+kRna1LP1a1q5ryvstoJ2BEJR8SSppHCRAcxmA6SJQXeNs/ZwS/pG8xoN+GScb U+3425H/IrrCGQklawLl6OkAPBjOqwP2nyln+dYOJSzQtxCObVbcjynhu1SrLlG6Txzo5z H10BnFbuOXD9YldXppasiYZjt+hrAp/z3OhwOjnPv5DafQOAVcGI8zuKuvVUvqYorrxRJI E11K32QzXXh7sPXounoaHOqWbf7mIzg5E2z9FNao+AYaE/H39J6+Nv34pcVXpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=d2fcb69f68107f4c9b0e5e48ae5946b3fd0cbc4d commit d2fcb69f68107f4c9b0e5e48ae5946b3fd0cbc4d Author: Yuri Victorovich AuthorDate: 2022-08-10 03:17:52 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-10 04:17:31 +0000 math/py-numdifftools: New port: Solve automatic numerical differentiation problems in 1+ variables --- math/Makefile | 1 + math/py-numdifftools/Makefile | 31 +++++++++++++++++++++++++++++++ math/py-numdifftools/distinfo | 3 +++ math/py-numdifftools/pkg-descr | 9 +++++++++ 4 files changed, 44 insertions(+) diff --git a/math/Makefile b/math/Makefile index 9afe7013d7ac..b43af9ed126c 100644 --- a/math/Makefile +++ b/math/Makefile @@ -908,6 +908,7 @@ SUBDIR += py-networkx SUBDIR += py-nevergrad SUBDIR += py-nlopt + SUBDIR += py-numdifftools SUBDIR += py-numexpr SUBDIR += py-numpoly SUBDIR += py-numpy diff --git a/math/py-numdifftools/Makefile b/math/py-numdifftools/Makefile new file mode 100644 index 000000000000..812c8c61bdd9 --- /dev/null +++ b/math/py-numdifftools/Makefile @@ -0,0 +1,31 @@ +PORTNAME= numdifftools +DISTVERSION= 0.9.40 +CATEGORIES= math +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Solve automatic numerical differentiation problems in 1+ variables + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}algopy>=0.4:math/py-algopy@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.8:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \ + ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}line-profiler>0:devel/py-line-profiler@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-pep8>0:devel/py-pytest-pep8@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pytest # test dependencies fail to install due to inter-package conflicts + +NO_ARCH= yes + +.include diff --git a/math/py-numdifftools/distinfo b/math/py-numdifftools/distinfo new file mode 100644 index 000000000000..b484e3fadc9f --- /dev/null +++ b/math/py-numdifftools/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660084948 +SHA256 (numdifftools-0.9.40.tar.gz) = 940692fd795e47083fad481d93c432b7fa9378758b5681dfc73a65152abfcd57 +SIZE (numdifftools-0.9.40.tar.gz) = 6615752 diff --git a/math/py-numdifftools/pkg-descr b/math/py-numdifftools/pkg-descr new file mode 100644 index 000000000000..fce906de3be7 --- /dev/null +++ b/math/py-numdifftools/pkg-descr @@ -0,0 +1,9 @@ +The numdifftools library is a suite of tools written in _Python to solve +automatic numerical differentiation problems in one or more variables. Finite +differences are used in an adaptive manner, coupled with a Richardson +extrapolation methodology to provide a maximally accurate result. The user can +configure many options like; changing the order of the method or the +extrapolation, even allowing the user to specify whether complex-step, central, +forward or backward differences are used. + +WWW: https://github.com/pbrod/numdifftools