[gap-float] 01/01: Imported Debian patch 0.8.0+ds-2

Jerome Benoit calculus-guest at moszumanska.debian.org
Fri Nov 17 17:25:06 UTC 2017


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 e85f3f885970cf92b0fe692e29c10a1d1ee32af7
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Fri Nov 17 21:22:27 2017 +0400

    Imported Debian patch 0.8.0+ds-2
---
 debian/changelog                                   | 11 ++++++++
 debian/patches/series                              |  2 ++
 ...ream-neutralize-read_g-perturbing_message.patch | 32 ++++++++++++++++++++++
 ...upstream-tests-testall_g-QUIT_GAP-discard.patch | 20 ++++++++++++++
 debian/tests/makecheck.tst                         |  7 ++++-
 5 files changed, 71 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index feab923..422e158 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+gap-float (0.8.0+ds-2) unstable; urgency=medium
+
+  * Debianization:
+    - debian/tests:
+      - d/t/makecheck.tst, refresh;
+    - debian/patches/*:
+      - d/p/upstream-tests-testall_g-QUIT_GAP-discard.patch, introduce;
+      - d/p/upstream-neutralize-read_g-perturbing_message.patch, idem.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 17 Nov 2017 17:15:24 +0000
+
 gap-float (0.8.0+ds-1) unstable; urgency=medium
 
   * New upstream minor release.
diff --git a/debian/patches/series b/debian/patches/series
index f8105f1..8274fcc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
+upstream-tests-testall_g-QUIT_GAP-discard.patch
+upstream-neutralize-read_g-perturbing_message.patch
 upstream-fix-gapdoc-bib.patch
 upstream-autotoolization-cleanup.patch
 upstream-update-m4_ac_find_gap_m4.patch
diff --git a/debian/patches/upstream-neutralize-read_g-perturbing_message.patch b/debian/patches/upstream-neutralize-read_g-perturbing_message.patch
new file mode 100644
index 0000000..8e4687a
--- /dev/null
+++ b/debian/patches/upstream-neutralize-read_g-perturbing_message.patch
@@ -0,0 +1,32 @@
+Description: neutralize: read.g: perturbing message
+ It appears that the message `Loading modules ...' prints by read.g
+ does not allow to write appropriate tests mainly because it is a
+ partial message that is meant to be completed by the standard message
+ `PACKAGE_NAME PACKAGE_VERSION'. A more appropriate GAP mechanism,
+ if exists, might be used instead. This patch comments the Print
+ statement in order to allow reproducible tests.
+Origin: vendor, Debian
+Forwarded: https://github.com/gap-packages/float/pull/30
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2017-11-17
+
+--- a/read.g
++++ b/read.g
+@@ -2,7 +2,7 @@
+ ##
+ #W read.g                                                   Laurent Bartholdi
+ ##
+-#Y Copyright (C) 2008, Laurent Bartholdi
++#Y Copyright (C) 2008-2017, Laurent Bartholdi
+ ##
+ #############################################################################
+ ##
+@@ -38,7 +38,7 @@
+     Add(modules,"cxsc");
+     ReadPackage("float", "lib/cxsc.gi");
+ fi;
+-Print("Loading modules [",JoinStringsWithSeparator(modules,", "),"] for ");
++####Print("Loading modules [",JoinStringsWithSeparator(modules,", "),"] for ");
+ 
+ if IsBound(IO_Pickle) then
+     ReadPackage("float","lib/pickle.g");
diff --git a/debian/patches/upstream-tests-testall_g-QUIT_GAP-discard.patch b/debian/patches/upstream-tests-testall_g-QUIT_GAP-discard.patch
new file mode 100644
index 0000000..096434b
--- /dev/null
+++ b/debian/patches/upstream-tests-testall_g-QUIT_GAP-discard.patch
@@ -0,0 +1,20 @@
+Description: test: testall.g: remove QUIT_GAP
+ Implementing a QUIT_GAP in tst/testall.g provokes the end of GAP
+ sessions when `TestPackage( "float" );' is invoked. This is surely
+ not expected. This patch discards the two of them.
+Origin: vendor, Debian
+Forwarded: https://github.com/gap-packages/float/pull/29
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2017-11-17
+
+--- a/tst/testall.g
++++ b/tst/testall.g
+@@ -56,8 +56,6 @@
+ # Report test results
+ if success then
+     Print("#I  No errors detected while testing package float\n");
+-    QUIT_GAP(0);
+ else
+     Print("#I  Errors detected while testing package float\n");
+-    QUIT_GAP(1);
+ fi;
diff --git a/debian/tests/makecheck.tst b/debian/tests/makecheck.tst
index 4511a89..4ccf80c 100644
--- a/debian/tests/makecheck.tst
+++ b/debian/tests/makecheck.tst
@@ -1,9 +1,14 @@
 ## debian/tests/makecheck.tst -- GAP Test script
 ## script format: GAP Reference Manual section 7.9 Test Files (GAP 4r8)
 ##
-gap> TestPackageAvailability( "float" , "=0.7.6" , true );
+gap> TestPackageAvailability( "float" , "=0.8.0" , true );
 "/usr/share/gap/pkg/float"
 gap> TestPackage( "float" );
+#I  testing MPFR...
+#I  testing MPFI...
+#I  testing MPC...
+#I  testing FPLLL...
+#I  No errors detected while testing package 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