git: 04099111ce2e - main - math/p5-PDL-Fit: Add p5-PDL-Fit 2.097
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 28 Jan 2025 17:06:06 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=04099111ce2e35724951f226825776ff31370ecb commit 04099111ce2e35724951f226825776ff31370ecb Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-01-28 16:48:56 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> 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 <bsd.port.mk> 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