From nobody Wed Aug 10 04:17:39 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 4M2c9J0FJwz4Y1j1; Wed, 10 Aug 2022 04:17:40 +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 4M2c9H6x7rz3Mb5; Wed, 10 Aug 2022 04:17:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105060; 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=J3q7XURp1ZfzQVFFEgAnmj6EzzGzt5wbPDcOJ2aKfuI=; b=mrEcwb4Ug7GnWlWzQT+MFVd/57KcywCaue8v0J4PM2CSL6k47mp0u2OD3VAY41tA/NKOr4 vAqCejOs0BEv6Ipq9EAEFzidi3TDQ4+HqasFZNcXLzvfMz5ogvPsebDzq3nhHH4M42K7+H qaJG1z2j/SHURJgeaWnboyakyC67V9YWI/VVyjWamyfkNPTW4Wq5S3mvjXq2rGyxOcV8xT 59jW+lD14puZPldtHsNZYYEqMn8ynCv8/SlgYhAmKngWn57RPHxgQJVfHbZxje30k8WdEs CPJTvWqHR+CC37EZAXj24HdI0Bw/68neOhrzw6x0ttEoQwOBT+84j/GnTYWDQw== 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 4M2c9H618szxjR; Wed, 10 Aug 2022 04:17:39 +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 27A4Hdk7007866; Wed, 10 Aug 2022 04:17:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27A4HddI007865; Wed, 10 Aug 2022 04:17:39 GMT (envelope-from git) Date: Wed, 10 Aug 2022 04:17:39 GMT Message-Id: <202208100417.27A4HddI007865@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: c5db8a59e053 - main - math/py-lmfit: New port: Least-squares Minimization with bounds and constraints 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: c5db8a59e0531ea908c524930012d58caa1d7833 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660105060; 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=J3q7XURp1ZfzQVFFEgAnmj6EzzGzt5wbPDcOJ2aKfuI=; b=HIRvcv9QM8EJFNOsODljg3KHLxCPTgqf/horz0NBPtBkWv6S8GJSWHivjj4k5RfxVw/nav YmtQ4fg8MGkZzhlFGyiI63/PJOI1tPOMva0IJWDGCap0B9fxTZasTz7Rp1IyZBuBKfcF5h PlGjSU4Ud87/dtxePNGGFY1Az/LJFE9Qy2T09MRO4MqF0DQlV3jbZKefHkRFRF3Lt1g6sb DuT3Af3tHML7NDH8g5MzGjYqK24pI+i5V/zmszSO5lJDTfA/rhILtUD1mBJ2QGgy9Pn0in nDoCmO+ZHa5pgg7OYEZY+V2SsDc3485Bhsa5wdTaDKEt6MItPnnV2Z858J3OGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660105060; a=rsa-sha256; cv=none; b=a54/l9PkC16VzgCYUAbwLF7HXmSXqAJK7grEYQEWVBdlKx4MxazON4nij9Q9g8ipUJsumS agKHvn/aQqGWWtuV8ad8PafGC/mxq2qsfwsyjuyk2g+EZMAVz5JjjPKsjTFCzimLet+oMq pvK3hTliGeYzV9HsMR2pwk5AAMyZ1UtFUC40qBfoKXd61WgQpfIPxmKdm5Ryu8ZTCyo4im tLRLRkNp8jOcf3bmocHVrk8wrpMZffBsI7/gYbi3soFb4ryv2lF8XwAHzXTD2Q0EI06qxx BYQl7/SL11er71PXgD0VK0eIca8iJK9FHVBxVe7T5HY4GdCn54Vnat2aVFixew== 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=c5db8a59e0531ea908c524930012d58caa1d7833 commit c5db8a59e0531ea908c524930012d58caa1d7833 Author: Yuri Victorovich AuthorDate: 2022-08-10 03:35:56 +0000 Commit: Yuri Victorovich CommitDate: 2022-08-10 04:17:32 +0000 math/py-lmfit: New port: Least-squares Minimization with bounds and constraints --- math/Makefile | 1 + math/py-lmfit/Makefile | 27 +++++++++++++++++++++++++++ math/py-lmfit/distinfo | 3 +++ math/py-lmfit/pkg-descr | 7 +++++++ 4 files changed, 38 insertions(+) diff --git a/math/Makefile b/math/Makefile index b43af9ed126c..2a4291f27543 100644 --- a/math/Makefile +++ b/math/Makefile @@ -891,6 +891,7 @@ SUBDIR += py-kiwisolver SUBDIR += py-levmar SUBDIR += py-libpoly + SUBDIR += py-lmfit SUBDIR += py-luminol SUBDIR += py-mathics SUBDIR += py-mathics-scanner diff --git a/math/py-lmfit/Makefile b/math/py-lmfit/Makefile new file mode 100644 index 000000000000..b9b4e3fdfa45 --- /dev/null +++ b/math/py-lmfit/Makefile @@ -0,0 +1,27 @@ +PORTNAME= lmfit +DISTVERSION= 1.0.3 +CATEGORIES= math +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Least-squares Minimization with bounds and constraints + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asteval>=0.9.22:devel/py-asteval@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uncertainties>=3.0.1:math/py-uncertainties@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numdifftools>0:math/py-numdifftools@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist pytest # 3 tests fail, upstream says that that's ok, see https://github.com/lmfit/lmfit-py/issues/802 + +NO_ARCH= yes + +.include diff --git a/math/py-lmfit/distinfo b/math/py-lmfit/distinfo new file mode 100644 index 000000000000..fc6ce4bf9b7a --- /dev/null +++ b/math/py-lmfit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1660082925 +SHA256 (lmfit-1.0.3.tar.gz) = d067c3ea501f035af5d3c079e6e6e35dc3cc1ac7d439429a425b0aeb5a7858a2 +SIZE (lmfit-1.0.3.tar.gz) = 292475 diff --git a/math/py-lmfit/pkg-descr b/math/py-lmfit/pkg-descr new file mode 100644 index 000000000000..eee5d0555b0c --- /dev/null +++ b/math/py-lmfit/pkg-descr @@ -0,0 +1,7 @@ +Lmfit provides a high-level interface to non-linear optimization and curve +fitting problems for Python. It builds on and extends many of the optimization +methods of scipy.optimize. Initially inspired by (and named for) extending the +Levenberg-Marquardt method from scipy.optimize.leastsq, lmfit now provides a +number of useful enhancements to optimization and data fitting problems. + +WWW: https://lmfit.github.io/lmfit-py/