[packages/perl-Math-GSL] - up to 0.43

baggins baggins at pld-linux.org
Sat Dec 4 23:35:48 CET 2021


commit 93a4134ade01bafb2fcdeb348311733351295358
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Dec 4 23:35:31 2021 +0100

    - up to 0.43

 gsl-2.7.1.patch            | 12 ++++++++++++
 perl-Math-GSL-inc.patch    | 11 -----------
 perl-Math-GSL-update.patch | 41 -----------------------------------------
 perl-Math-GSL.spec         | 15 +++++++--------
 4 files changed, 19 insertions(+), 60 deletions(-)
---
diff --git a/perl-Math-GSL.spec b/perl-Math-GSL.spec
index 8980502..06612de 100644
--- a/perl-Math-GSL.spec
+++ b/perl-Math-GSL.spec
@@ -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
diff --git a/gsl-2.7.1.patch b/gsl-2.7.1.patch
new file mode 100644
index 0000000..571703e
--- /dev/null
+++ b/gsl-2.7.1.patch
@@ -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
index 647bf5d..0000000
--- a/perl-Math-GSL-inc.patch
+++ /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
index b0d3358..0000000
--- a/perl-Math-GSL-update.patch
+++ /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";
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Math-GSL.git/commitdiff/93a4134ade01bafb2fcdeb348311733351295358



More information about the pld-cvs-commit mailing list