[gap-float] 01/01: Imported Debian patch 0.6.3+ds-3

Jerome Benoit calculus-guest at moszumanska.debian.org
Fri Apr 29 22:57:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository gap-float.

commit 79263f8e2fb8e4f0b40c7b7e31baadbfe55a767d
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Fri Apr 29 22:41:59 2016 +0000

    Imported Debian patch 0.6.3+ds-3
---
 debian/changelog                                   |  9 ++++++
 debian/control                                     |  2 +-
 debian/patches/debianization.patch                 | 14 +++++++++
 debian/patches/series                              |  1 +
 .../patches/upstream-upgrade-tst-testall_g.patch   | 34 ++++++++++++++++++++++
 debian/tests/control                               |  1 +
 debian/tests/makecheck.tst                         |  9 ++++++
 7 files changed, 69 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9ead5b8..082b8ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+gap-float (0.6.3+ds-3) unstable; urgency=medium
+
+  * Debianization:
+    - debian/control:
+      - Standards Version, bump to 3.9.8 (no change);
+    - debian/tests/, introduce.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 29 Apr 2016 22:41:04 +0000
+
 gap-float (0.6.3+ds-2) unstable; urgency=medium
 
   * Debianization:
diff --git a/debian/control b/debian/control
index 546bcd6..132ac7f 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends:
  libgmp-dev, libmpfr-dev, libmpc-dev, libmpfi-dev, libfplll-dev,
 # libcxsc-dev,
  texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Homepage: http://www.gap-system.org/Packages/float.html
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gap-float.git
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-float.git/
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
index 38717a9..a51317a 100644
--- a/debian/patches/debianization.patch
+++ b/debian/patches/debianization.patch
@@ -36,3 +36,17 @@ Last-Update: 2014-08-17
  float_la_LIBADD =
  if WITH_MPFR_IS_YES
  float_la_SOURCES += mpfr.c
+--- a/tst/testall.g
++++ b/tst/testall.g
+@@ -12,7 +12,7 @@
+ Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ field := MPC_PSEUDOFIELD;
+ Test(Filename(dirs,"polynomials.tst"),rec(compareFunction:="uptowhitespace"));
+-SetFloats(CXSC);
+-Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+-field := CXSC_PSEUDOFIELD;
+-Test(Filename(dirs,"polynomials.tst"),rec(compareFunction:="uptowhitespace"));
++##SetFloats(CXSC);
++##Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
++##field := CXSC_PSEUDOFIELD;
++##Test(Filename(dirs,"polynomials.tst"),rec(compareFunction:="uptowhitespace"));
diff --git a/debian/patches/series b/debian/patches/series
index be6022b..850a71c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
 upstream-fix-gapdoc-bib.patch
+upstream-upgrade-tst-testall_g.patch
 upstream-autotoolization-cleanup.patch
 upstream-update-m4_ac_find_gap_m4.patch
 upstream-autotoolization-doc.patch
diff --git a/debian/patches/upstream-upgrade-tst-testall_g.patch b/debian/patches/upstream-upgrade-tst-testall_g.patch
new file mode 100644
index 0000000..ef728ee
--- /dev/null
+++ b/debian/patches/upstream-upgrade-tst-testall_g.patch
@@ -0,0 +1,34 @@
+Description: upgrade: testall GAP test file
+ Blind upgrade of the GAP test file tst/testall.g as suggested
+ by the emitted messages; meant to silence GAP and eventually
+ to be submitted to the upstream maintainer.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-04-29
+
+--- a/tst/testall.g
++++ b/tst/testall.g
+@@ -3,16 +3,16 @@
+ dirs := DirectoriesPackageLibrary("float","tst");
+ 
+ SetFloats(IEEE754FLOAT);
+-ReadTest(Filename(dirs,"arithmetic.tst"));
++Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ SetFloats(MPFR);
+-ReadTest(Filename(dirs,"arithmetic.tst"));
++Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ SetFloats(MPFI);
+-ReadTest(Filename(dirs,"arithmetic.tst"));
++Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ SetFloats(MPC);
+-ReadTest(Filename(dirs,"arithmetic.tst"));
++Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ field := MPC_PSEUDOFIELD;
+-ReadTest(Filename(dirs,"polynomials.tst"));
++Test(Filename(dirs,"polynomials.tst"),rec(compareFunction:="uptowhitespace"));
+ SetFloats(CXSC);
+-ReadTest(Filename(dirs,"arithmetic.tst"));
++Test(Filename(dirs,"arithmetic.tst"),rec(compareFunction:="uptowhitespace"));
+ field := CXSC_PSEUDOFIELD;
+-ReadTest(Filename(dirs,"polynomials.tst"));
++Test(Filename(dirs,"polynomials.tst"),rec(compareFunction:="uptowhitespace"));
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..0b322d9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Test-command: echo "QUIT_GAP(TestDirectory(\"debian/tests\"));" | gap -A -q -T
diff --git a/debian/tests/makecheck.tst b/debian/tests/makecheck.tst
new file mode 100644
index 0000000..1a3ecac
--- /dev/null
+++ b/debian/tests/makecheck.tst
@@ -0,0 +1,9 @@
+## debian/tests/makecheck.tst -- GAP Test script
+## script format: GAP Reference Manual section 7.9 Test Files (GAP 4r8)
+##
+gap> TestPackageAvailability( "float" , "=0.6.3" , true );
+"/usr/share/gap/pkg/float"
+gap> TestPackage( "float" );
+
+##
+## eos

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gap-float.git



More information about the debian-science-commits mailing list