[gap-factint] 02/02: Imported Zeroth Debian patch 1.5.3+ds-1
Jerome Benoit
calculus-guest at moszumanska.debian.org
Sat Dec 10 23:12:30 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-factint.
commit 39d48d6a57684724718f75134903e10e60e5cfc3
Author: Jerome Benoit <calculus at rezozer.net>
Date: Sat Dec 10 22:50:59 2016 +0000
Imported Zeroth Debian patch 1.5.3+ds-1
---
debian/adhoc/makedoc.g | 4 ++++
debian/changelog | 5 +++++
debian/clean | 6 ++++++
debian/compat | 1 +
debian/control | 32 +++++++++++++++++++++++++++++
debian/copyright | 45 +++++++++++++++++++++++++++++++++++++++++
debian/gap-factint.doc-base | 28 +++++++++++++++++++++++++
debian/gap-factint.docs | 1 +
debian/gap-factint.install | 2 ++
debian/gap-factint.links | 1 +
debian/rules | 30 +++++++++++++++++++++++++++
debian/source/format | 1 +
debian/source/lintian-overrides | 1 +
debian/tests/control | 1 +
debian/tests/makecheck.tst | 11 ++++++++++
debian/watch | 3 +++
16 files changed, 172 insertions(+)
diff --git a/debian/adhoc/makedoc.g b/debian/adhoc/makedoc.g
new file mode 100644
index 0000000..65fb85d
--- /dev/null
+++ b/debian/adhoc/makedoc.g
@@ -0,0 +1,4 @@
+# debian/makedoc.g -- GAP script
+SetPackagePath("factint",".");
+LoadPackage("factint");;
+FactIntBuildManual();
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0246a96
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gap-factint (1.5.3+ds-1) unstable; urgency=medium
+
+ * Initial release (Closes: #847645).
+
+ -- Jerome Benoit <calculus at rezozer.net> Sat, 10 Dec 2016 23:07:31 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..3cb0d90
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,6 @@
+doc/chap*.txt
+doc/chap*.html
+doc/factint.{tex,aux,bbl,blg,brf,idx,ilg,ind,log,out,pnr,toc}
+doc/factintbib.xml.bib
+doc/manual.six
+doc/manual.pdf
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..c8a9e2d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,32 @@
+Source: gap-factint
+Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Jerome Benoit <calculus at rezozer.net>
+Build-Depends:
+ debhelper (>= 10),
+ gap (>=4r8p6), gap-gapdoc (>=1.5.1-3), gap-io (>=4.4.6),
+ texlive-latex-extra, texlive-fonts-recommended
+Standards-Version: 3.9.8
+Homepage: http://www.gap-system.org/Packages/factint.html
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gap-factint.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-factint.git
+
+Package: gap-factint
+Provides: gap-pkg-factint
+Architecture: all
+Depends: gap (>=4r8p6), gap-gapdoc (>=1.5.1-3), gap-io (>=4.4.6), ${misc:Depends}
+Description: advanced methods for factoring integers for GAP
+ GAP is a system for computational discrete algebra with particular
+ emphasis on computational group theory, but which has already proved
+ useful also in other areas.
+ .
+ This package brings to GAP routines for factoring integers, in particular:
+ - Pollard's p-1
+ - Williams' p+1
+ - Elliptic Curves Method (ECM)
+ - Continued Fraction Algorithm (CFRAC)
+ - Multiple Polynomial Quadratic Sieve (MPQS)
+ .
+ It also provides access to Richard P. Brent's tables of factors of integers
+ of the form b^k +/- 1.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a257415
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,45 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: GAP package FactInt
+Upstream-Contact: Stefan Kohl <stefan at mcs.st-and.ac.uk>
+Source: http://www.gap-system.org/Packages/factint.html
+Files-Excluded:
+ doc/chap*.txt
+ doc/chap*.html
+ doc/factintbib.xml.bib
+ doc/factint.bbl
+ doc/factint.brf
+ doc/factint.ind
+ doc/factint.out
+ doc/factint.pnr
+ doc/factint.tex
+ doc/factint.toc
+ doc/manual.css
+ doc/manual.six
+ doc/manual.pdf
+
+Files: *
+Copyright:
+ 1999-2016 Stefan Kohl <stefan at mcs.st-and.ac.uk>
+License: GPL-2+
+
+Files: debian/*
+Copyright:
+ 2016 Jerome Benoit <calculus at rezozer.net>
+License: GPL-2+
+
+License: GPL-2+
+ This package is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this package. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/gap-factint.doc-base b/debian/gap-factint.doc-base
new file mode 100644
index 0000000..543f07c
--- /dev/null
+++ b/debian/gap-factint.doc-base
@@ -0,0 +1,28 @@
+Document: gap-factint
+Title: FactInt: Advanced Methods for Factoring Integers
+Author: Stefan Kohl <stefan at mcs.st-and.ac.uk>
+Abstract:
+ This package for GAP provides a general-purpose integer factorization
+ routine, which makes use of a combination of factoring methods.
+ In particular it contains implementations of the following algorithms:
+ - Pollard's p-1
+ - Williams' p+1
+ - Elliptic Curves Method (ECM)
+ - Continued Fraction Algorithm (CFRAC)
+ - Multiple Polynomial Quadratic Sieve (MPQS)
+ .
+ It also contains code by Frank Lübeck for making use of Richard P. Brent's
+ tables of factors of integers of the form b^k ± 1. FactInt is completely
+ written in the GAP language and contains / requires no external binaries.
+Section: Science/Mathematics
+
+Format: pdf
+Files: /usr/share/doc/gap-factint/doc/manual.pdf
+
+Format: HTML
+Index: /usr/share/doc/gap-factint/doc/chap0.html
+Files: /usr/share/doc/gap-factint/doc/*.html
+
+Format: text
+Index: /usr/share/doc/gap-factint/doc/chap0.txt
+Files: /usr/share/doc/gap-factint/doc/*.txt
diff --git a/debian/gap-factint.docs b/debian/gap-factint.docs
new file mode 100644
index 0000000..b2b2a78
--- /dev/null
+++ b/debian/gap-factint.docs
@@ -0,0 +1 @@
+readme.txt
diff --git a/debian/gap-factint.install b/debian/gap-factint.install
new file mode 100644
index 0000000..8a1fb70
--- /dev/null
+++ b/debian/gap-factint.install
@@ -0,0 +1,2 @@
+PackageInfo.g init.g read.g factint.tst gap tables usr/share/gap/pkg/factint
+doc/*.txt doc/*.html doc/manual.six doc/manual.pdf usr/share/gap/pkg/factint/doc
diff --git a/debian/gap-factint.links b/debian/gap-factint.links
new file mode 100644
index 0000000..e93ad3c
--- /dev/null
+++ b/debian/gap-factint.links
@@ -0,0 +1 @@
+usr/share/gap/pkg/factint/doc usr/share/doc/gap-factint/doc
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..dbfbdf5
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+GAP=/usr/bin/gap
+
+default:
+ @uscan --no-conf --dehs --report || true
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ cat debian/adhoc/makedoc.g | $(GAP) -A -q -T
+
+override_dh_auto_test:
+ echo "\
+ SetPackagePath(\"factint\",\".\"); \
+ LoadPackage(\"factint\"); \
+ QUIT_GAP(Test(\"factint.tst\")); \
+ " | $(GAP) -A -q -T
+
+override_dh_installchangelogs:
+ dh_installchangelogs --keep relnotes.txt
+
+DEB_GAP_FACTINT_HDATADIR=$(CURDIR)/debian/gap-factint/usr/share/gap/pkg/factint/tables/brent
+override_dh_compress:
+ find $(DEB_GAP_FACTINT_HDATADIR) -type f -a -size +2k | xargs gzip --no-name --best
+ dh_compress
+
+get-orig-source:
+ uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..8b06cb1
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+debian-watch-may-check-gpg-signature
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..14b2805
--- /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( "factint" , "=1.5.3" , true );
+"/usr/share/gap/pkg/factint"
+gap> TestPackage( "factint" );
+#I No errors detected while testing package factint version 1.5.3
+#I using the test file `/usr/share/gap/pkg/factint/factint.tst'
+
+##
+## eos
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..406d58e
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=repack,dversionmangle=s/\+ds//,repacksuffix=+ds \
+ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/factint-([\d\.]+)\.tar\.bz2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gap-factint.git
More information about the debian-science-commits
mailing list