]> git.pld-linux.org Git - packages/perl-Math-GSL.git/commitdiff
- up to 0.43 auto/th/perl-Math-GSL-0.43-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 4 Dec 2021 22:35:31 +0000 (23:35 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 4 Dec 2021 22:35:31 +0000 (23:35 +0100)
gsl-2.7.1.patch [new file with mode: 0644]
perl-Math-GSL-inc.patch [deleted file]
perl-Math-GSL-update.patch [deleted file]
perl-Math-GSL.spec

diff --git a/gsl-2.7.1.patch b/gsl-2.7.1.patch
new file mode 100644 (file)
index 0000000..571703e
--- /dev/null
@@ -0,0 +1,12 @@
+--- Math-GSL-0.43/inc/Ver2Func.pm.orig 2021-07-26 18:28:55.000000000 +0200
++++ Math-GSL-0.43/inc/Ver2Func.pm      2021-12-04 22:49:11.335387076 +0100
+@@ -526,7 +526,8 @@
+               /
+         ]
+-    }
++    },
++    "2.7.1" => {}
+ );
diff --git a/perl-Math-GSL-inc.patch b/perl-Math-GSL-inc.patch
deleted file mode 100644 (file)
index 647bf5d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- Math-GSL-0.39/Build.PL.orig        2016-10-01 08:24:23.000000000 +0200
-+++ Math-GSL-0.39/Build.PL     2017-07-02 17:50:23.584626022 +0200
-@@ -85,7 +85,7 @@
- $ldflags = '-shared ' . $ldflags unless GSLBuilder::is_darwin();
--my $ver2func = do(catfile(qw/inc ver2func/));
-+my $ver2func = do("./inc/ver2func");
- unless (GSLBuilder::is_release()) {
-     my $swig_ver = swig_version();
diff --git a/perl-Math-GSL-update.patch b/perl-Math-GSL-update.patch
deleted file mode 100644 (file)
index b0d3358..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
---- Math-GSL-0.39/pod/Linalg.pod.orig  2016-10-01 08:24:23.000000000 +0200
-+++ Math-GSL-0.39/pod/Linalg.pod       2017-07-02 21:48:43.871129403 +0200
-@@ -16,7 +16,6 @@
-                 gsl_linalg_hessenberg_unpack_accum
-                 gsl_linalg_hessenberg_set_zero
-                 gsl_linalg_hessenberg_submatrix
--                gsl_linalg_hessenberg
-                 gsl_linalg_hesstri_decomp
-                 gsl_linalg_SV_decomp
-                 gsl_linalg_SV_decomp_mod
-@@ -171,8 +170,6 @@
- =item gsl_linalg_hessenberg_submatrix
--=item gsl_linalg_hessenberg
--
- =item gsl_linalg_hesstri_decomp($A, $B, $U, $V, $work) - This function computes the Hessenberg-Triangular decomposition of the matrix pair ($A, $B). On output, H is stored in $A, and R is stored in $B. If $U and $V are provided (they may be null), the similarity transformations are stored in them. Additional workspace of length N is needed in the vector $work.
- =item gsl_linalg_SV_decomp($A, $V, $S, $work) - This function factorizes the M-by-N matrix $A into the singular value decomposition A = U S V^T for M >= N. On output the matrix $A is replaced by U. The diagonal elements of the singular value matrix S are stored in the vector $S. The singular values are non-negative and form a non-increasing sequence from S_1 to S_N. The matrix $V contains the elements of V in untransposed form. To form the product U S V^T it is necessary to take the transpose of V. A workspace of length N is required in vector $work. This routine uses the Golub-Reinsch SVD algorithm.
---- Math-GSL-0.39/pod/SF.pod.orig      2016-10-01 08:24:23.000000000 +0200
-+++ Math-GSL-0.39/pod/SF.pod   2017-07-02 21:57:49.121123178 +0200
-@@ -156,8 +156,6 @@
-                gsl_sf_coupling_RacahW
-                gsl_sf_coupling_9j_e
-                gsl_sf_coupling_9j
--               gsl_sf_coupling_6j_INCORRECT_e
--               gsl_sf_coupling_6j_INCORRECT
-                /;
- @EXPORT_dawson = qw/
-                gsl_sf_dawson_e
---- Math-GSL-0.39/Build.PL.orig        2017-07-02 21:58:07.807789632 +0200
-+++ Math-GSL-0.39/Build.PL     2017-07-02 22:12:26.074446499 +0200
-@@ -56,7 +56,7 @@
- $ccflags .= try_cflags("-Wno-gnu");
- $ccflags .= try_cflags("-g");
--$swig_flags = "$gsl_conf->{gsl_cflags} $swig_flags";
-+$swig_flags = "$gsl_conf->{gsl_cflags} $swig_flags -DGSL_DISABLE_DEPRECATED";
- if ( GSLBuilder::is_cygwin()  && $Config{shrpenv} =~ m{\Aenv LD_RUN_PATH=(.*)\Z} ) {
-     $ldflags .= " -L$1 -lperl";
index 8980502dc921532abc4c2ccf1071f4143d368021..06612deef50d7108c5884a072f0373b82a466ff4 100644 (file)
@@ -7,17 +7,17 @@
 Summary:       Math::GSL Perl module - resticted interface to GNU Scientific Library
 Summary(pl.UTF-8):     Moduł Perla Math::GSL - ograniczony interfejs do GNU Scientific Library
 Name:          perl-Math-GSL
-Version:       0.39
-Release:       5
+Version:       0.43
+Release:       1
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 6bbcb412e230d3e1602164e15767d102
-Patch0:                %{name}-inc.patch
-Patch1:                %{name}-update.patch
-URL:           http://search.cpan.org/dist/Math-GSL/
+Source0:       https://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8db782c053ec8417f39f55439a65d3c5
+Patch0:                gsl-2.7.1.patch
+URL:           https://search.cpan.org/dist/Math-GSL/
 BuildRequires: gsl-devel >= 1.15
+BuildRequires: perl-Alien-GSL
 BuildRequires: perl-Module-Build >= 0.38
 BuildRequires: perl-PkgConfig >= 0.07720
 BuildRequires: perl-devel >= 1:5.8.0
@@ -51,7 +51,6 @@ udostępnić te funkcje "tkscope" w module Audio::Data.
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 %patch0 -p1
-%patch1 -p1
 
 # simulate non-release to force swig rebuild
 mkdir .git
This page took 0.130073 seconds and 4 git commands to generate.