From nobody Tue Jan 28 17:06:06 2025 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 4YjBWg0zW0z5lmFx; Tue, 28 Jan 2025 17:06:07 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YjBWf2Gq3z442r; Tue, 28 Jan 2025 17:06:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083966; 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=/SYXUpHUQGei5Nvq60DbVDLN1GdwwXQzpCJsGMsbvpk=; b=jjlZBJDCWoOvp0Jaa+AqhFiHeQXwN8fQRxIBU0D2zEfzdlKVkQxnP3YE/anmRu8Kp/4QwM rw/Q1qCP/Z/Scw/A6Cp1O9/FT43br9wjt0K/vsfbOLI3+XGVy3mVHoi8PF/F70FylTmt3Q ovd/Iq6yLsTbb7mVC3xTqI1hGnL4HaxTILZJ0NG+7938t6ujLFOQBbAPW5BDAgzQKZ+19m lGeFnuDOHmlAmL0pVJh4vj+qnaQnJvPRTooCLpMG9+Rzbdt9SwmFTG3nFQ9gCXQOs+z0/8 YwK78Vx/T1BXAMCZi7MjvH6kK5kcx9LbAMyZNUZPKYENwuAli5/AKFTx9QdZwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738083966; 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=/SYXUpHUQGei5Nvq60DbVDLN1GdwwXQzpCJsGMsbvpk=; b=nYwW/U5C7v0ZWZLm0ggz0PUJxgdSI0E072Zo85A/4SN0PYDwgKozEfvQT9tvtHhxVdwoX5 Ivby3qaCQg7RG66iPItvK7v11O63Un3TCY9XSpDPwVx14js5CAQi0uGXgnUr40zjLN3dhC 5yu9TqLNzUVzlnwwg4FrjmH4wZFIl6+VJpdX1wnYhGdXPXFsdPpbrxwNoisSQ5Hd2GLxmk VihxOnF0R0fnzi/IM7EmWsITX6qqK64mRQcieoR/xnBGrnKUcrOSjfesvTmC7qTSnGg3YM z5ceqUAE7NMhu+eRw5sB0ka/qy5WpVKmKVqwBWrR8wz+UPLwO0HsCAT2HWXAAg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738083966; a=rsa-sha256; cv=none; b=Ob2SWQKpmTkKAEfFY2ppWGGdsAcMwJlb+tVCEYsFfcoZZRLGcUUlQ0HuWObfzaNtB7Tbzx EtmtPgrA26HbgUn5FwZmakpm8BpnKYYmbHMtnUioFvzD7nj0pTzbWQdNm1k+oNvlWVAA0u w8/nPDHF7EXntS3aXgl5ESiaHj+GWFAZYEQLMPdYeScF+Sw1NYPxcfUwTIWuT65nEa7btb KbUI/Tb7rtKBnlIX6j+Ue4CDKjNbqekB67GNcJVr7Il6yGNhRDbdj//vopLtamfvjyEo/q vG3dxzrkO+NMbPf2RQbQR0PNYyeKkHGzovdp2gWKSD2+BYZ0SDA8b4im589QPg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YjBWf1pB4z8J2; Tue, 28 Jan 2025 17:06:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50SH66HK061476; Tue, 28 Jan 2025 17:06:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50SH66rZ061473; Tue, 28 Jan 2025 17:06:06 GMT (envelope-from git) Date: Tue, 28 Jan 2025 17:06:06 GMT Message-Id: <202501281706.50SH66rZ061473@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 04099111ce2e - main - math/p5-PDL-Fit: Add p5-PDL-Fit 2.097 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 04099111ce2e35724951f226825776ff31370ecb Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=04099111ce2e35724951f226825776ff31370ecb commit 04099111ce2e35724951f226825776ff31370ecb Author: Po-Chuan Hsieh AuthorDate: 2025-01-28 16:48:56 +0000 Commit: Po-Chuan Hsieh CommitDate: 2025-01-28 17:02:51 +0000 math/p5-PDL-Fit: Add p5-PDL-Fit 2.097 PDL::Fit contains the following packages: PDL::Fit::Gaussian, PDL::Fit::LM, PDL::Fit::Linfit and PDL::Fit::Polynomial. PDL::Fit::Gaussian contains some custom gaussian fitting routines. These were developed in collaboration with Alison Offer, they do a reasonably robust job and are quite useful. PDL::Fit::LM provides fitting functions for PDL. Currently, only Levenberg-Marquardt fitting is implemented. Other procedures should be added as required. For a fairly concise overview on fitting see Numerical Recipes, chapter 15 "Modeling of data". PDL::Fit::Linfit contains routines to perform general curve-fits to a set (linear combination) of specified functions. PDL::Fit::Polynomial contains routines for doing simple polynomial fits to data. --- math/Makefile | 1 + math/p5-PDL-Fit/Makefile | 23 +++++++++++++++++++++++ math/p5-PDL-Fit/distinfo | 3 +++ math/p5-PDL-Fit/pkg-descr | 16 ++++++++++++++++ math/p5-PDL-Fit/pkg-plist | 9 +++++++++ 5 files changed, 52 insertions(+) diff --git a/math/Makefile b/math/Makefile index 0fc0ca0a392d..8ab256f5872d 100644 --- a/math/Makefile +++ b/math/Makefile @@ -818,6 +818,7 @@ SUBDIR += p5-Number-WithError-LaTeX SUBDIR += p5-PDL SUBDIR += p5-PDL-DateTime + SUBDIR += p5-PDL-Fit SUBDIR += p5-Parse-Range SUBDIR += p5-Roman SUBDIR += p5-Set-IntSpan diff --git a/math/p5-PDL-Fit/Makefile b/math/p5-PDL-Fit/Makefile new file mode 100644 index 000000000000..9bee670d4461 --- /dev/null +++ b/math/p5-PDL-Fit/Makefile @@ -0,0 +1,23 @@ +PORTNAME= PDL-Fit +PORTVERSION= 2.097 +CATEGORIES= math perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Various fitting implementations for PDL +WWW= https://metacpan.org/dist/PDL-Fit + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-PDL>=2.094:math/p5-PDL + +USES= perl5 +USE_PERL5= configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/PDL/Fit/Gaussian/Gaussian.so + +.include diff --git a/math/p5-PDL-Fit/distinfo b/math/p5-PDL-Fit/distinfo new file mode 100644 index 000000000000..9a71816cd419 --- /dev/null +++ b/math/p5-PDL-Fit/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736671131 +SHA256 (PDL-Fit-2.097.tar.gz) = b7914cbbfabf04df7830415f177f86ac8532066f0999ba0fe9b625f206d17c7d +SIZE (PDL-Fit-2.097.tar.gz) = 18661 diff --git a/math/p5-PDL-Fit/pkg-descr b/math/p5-PDL-Fit/pkg-descr new file mode 100644 index 000000000000..bd254acf35a9 --- /dev/null +++ b/math/p5-PDL-Fit/pkg-descr @@ -0,0 +1,16 @@ +PDL::Fit contains the following packages: PDL::Fit::Gaussian, PDL::Fit::LM, +PDL::Fit::Linfit and PDL::Fit::Polynomial. + +PDL::Fit::Gaussian contains some custom gaussian fitting routines. These were +developed in collaboration with Alison Offer, they do a reasonably robust job +and are quite useful. + +PDL::Fit::LM provides fitting functions for PDL. Currently, only +Levenberg-Marquardt fitting is implemented. Other procedures should be added as +required. For a fairly concise overview on fitting see Numerical Recipes, +chapter 15 "Modeling of data". + +PDL::Fit::Linfit contains routines to perform general curve-fits to a set +(linear combination) of specified functions. + +PDL::Fit::Polynomial contains routines for doing simple polynomial fits to data. diff --git a/math/p5-PDL-Fit/pkg-plist b/math/p5-PDL-Fit/pkg-plist new file mode 100644 index 000000000000..815eaa25f4f0 --- /dev/null +++ b/math/p5-PDL-Fit/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_ARCH%%/PDL/Fit/Gaussian.pm +%%SITE_ARCH%%/PDL/Fit/LM.pm +%%SITE_ARCH%%/PDL/Fit/Linfit.pm +%%SITE_ARCH%%/PDL/Fit/Polynomial.pm +%%SITE_ARCH%%/auto/PDL/Fit/Gaussian/Gaussian.so +%%PERL5_MAN3%%/PDL::Fit::Gaussian.3.gz +%%PERL5_MAN3%%/PDL::LM.3.gz +%%PERL5_MAN3%%/PDL::Linfit.3.gz +%%PERL5_MAN3%%/PDL::Polynomial.3.gz