[gap-scscp] 01/01: Imported Debian patch 2.1.4+ds-2

Jerome Benoit calculus-guest at moszumanska.debian.org
Tue May 3 01:40:50 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-scscp.

commit bb35edf25efdb2d15b2abae775876029bfd2dc8a
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Tue May 3 01:38:55 2016 +0000

    Imported Debian patch 2.1.4+ds-2
---
 debian/changelog           | 14 ++++++++++++++
 debian/clean               |  1 +
 debian/control             | 13 ++++++++-----
 debian/copyright           |  2 +-
 debian/sbin/gapd.in        |  2 +-
 debian/tests/control       |  2 ++
 debian/tests/makecheck.tst | 11 +++++++++++
 7 files changed, 38 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c662b1d..a156beb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,17 @@
+gap-scscp (2.1.4+ds-2) unstable; urgency=medium
+
+  * Debianization:
+    - debian/copyright, refresh;
+    - debian/control:
+      - Depends field, bump to GAP 4r8;
+      - Standards Version, dump to version 3.9.8 (no change);
+      - Vcs-* fields, secure;
+      - Depends field, harden dependencies;
+    - debian/tests/, introduce;
+    - debian/sbin/gapd.in, upgrade.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Tue, 03 May 2016 01:25:21 +0000
+
 gap-scscp (2.1.4+ds-1) unstable; urgency=low
 
   * Initial release (Closes: #738011).
diff --git a/debian/clean b/debian/clean
index 9f1c84e..9404e9a 100644
--- a/debian/clean
+++ b/debian/clean
@@ -13,4 +13,5 @@ doc/ragged.css
 doc/rainbow.js
 doc/times.css
 doc/toggless.{css,js}
+doc/mathjax
 tst/scscp??.tst
diff --git a/debian/control b/debian/control
index d5bad4d..55bb8ec 100644
--- a/debian/control
+++ b/debian/control
@@ -5,17 +5,20 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Jerome Benoit <calculus at rezozer.net>
 Build-Depends:
  debhelper (>= 9), help2man,
- gap, gap-gapdoc, gap-io,
+ gap (>=4r8p3), gap-gapdoc (>=1.5.1-2), gap-io (>=4.4.6), gap-openmath (>=11.3.1),
  texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra
-Standards-Version: 3.9.5
+Standards-Version: 3.9.8
 Homepage: http://www.gap-system.org/Packages/scscp.html
-Vcs-Git: git://anonscm.debian.org/debian-science/packages/gap-scscp.git
-Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/gap-scscp.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gap-scscp.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-scscp.git
 
 Package: gap-scscp
 Provides: gap-pkg-scscp
 Architecture: all
-Depends: ${misc:Depends}, adduser, gap, gap-gapdoc, gap-io, gap-openmath
+Depends:
+ adduser,
+ gap (>=4r8p3), gap-gapdoc (>=1.5.1-2), gap-io (>=4.4.6), gap-openmath (>=11.3.1),
+ ${misc:Depends}
 Description: SCSCP protocol in GAP
  GAP is a system for computational discrete algebra with particular
  emphasis on computational group theory, but which has already proved
diff --git a/debian/copyright b/debian/copyright
index 9160c98..890a2e4 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -16,7 +16,7 @@ License: GPL-2+
 
 Files: debian/*
 Copyright:
- 2014 Jerome Benoit <calculus at rezozer.net>
+ 2014-2016 Jerome Benoit <calculus at rezozer.net>
 License: GPL-2+
 
 License: GPL-2+
diff --git a/debian/sbin/gapd.in b/debian/sbin/gapd.in
index 069f17c..5a129ed 100755
--- a/debian/sbin/gapd.in
+++ b/debian/sbin/gapd.in
@@ -277,7 +277,7 @@ exec $GAP -q >> ${OUTFILE} 2>&1 <<-EOGS &
 		Print("#I  GAPD: preparing\c");
 		PIDFILE:=OutputTextFile("${PIDFILE}",false);
 		if PIDFILE <> fail then
-			PrintTo(PIDFILE,GETPID(),"\n");
+			PrintTo(PIDFILE,IO_getpid(),"\n");
 			CloseStream(PIDFILE);
 			RemoveFile("${LOCKFILE}");
 			Print(".\n\c");
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..07abb8b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Test-command: echo "QUIT_GAP(TestDirectory(\"debian/tests\"));" | gap -A -q -T
+Depends: gap-scscp, gap-small-groups, gap-small-groups-extra
diff --git a/debian/tests/makecheck.tst b/debian/tests/makecheck.tst
new file mode 100644
index 0000000..096ab2e
--- /dev/null
+++ b/debian/tests/makecheck.tst
@@ -0,0 +1,11 @@
+## debian/tests/makecheck.tst -- GAP Test script
+## script format: GAP Reference Manual section 7.9 Test Files (GAP 4r8)
+##
+gap> TestPackageAvailability( "scscp" , "=2.1.4" , true );
+"/usr/share/gap/pkg/scscp"
+gap> TestPackage( "scscp" );
+#I  No errors detected while testing package scscp version 2.1.4
+#I  using the test file `/usr/share/gap/pkg/scscp/tst/offline.tst'
+
+##
+## eos

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



More information about the debian-science-commits mailing list