[gap-design] 02/02: Imported Zeroth Debian patch 1r6+ds-1

Jerome Benoit calculus-guest at moszumanska.debian.org
Wed Dec 14 07:42:06 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-design.

commit 6c666efe742b186462e8b881fd8bafd8eeeb2a28
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Wed Dec 14 07:32:30 2016 +0000

    Imported Zeroth Debian patch 1r6+ds-1
---
 debian/changelog                   |  5 +++
 debian/clean                       |  5 +++
 debian/compat                      |  1 +
 debian/control                     | 25 +++++++++++
 debian/copyright                   | 46 ++++++++++++++++++++
 debian/gap-design.doc-base         | 14 ++++++
 debian/gap-design.docs             |  1 +
 debian/gap-design.install          |  2 +
 debian/gap-design.links            |  2 +
 debian/patches/debianization.patch | 87 ++++++++++++++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 debian/rules                       | 26 ++++++++++++
 debian/source/format               |  1 +
 debian/source/lintian-overrides    |  1 +
 debian/watch                       |  3 ++
 15 files changed, 220 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9e7e30e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gap-design (1r6+ds-1) unstable; urgency=medium
+
+  * Initial release (Closes: #847738).
+
+ -- Jerome Benoit <calculus at rezozer.net>  Wed, 14 Dec 2016 07:31:40 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..cd38cc6
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,5 @@
+htm/
+doc/manual.{aux,bbl,blg,idx,ilg,ind,log,toc}
+doc/manual.example-*.tst
+doc/manual.{lab,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..e5e4707
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: gap-design
+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-grape (>=4r7),
+ texlive-latex-extra, texlive-fonts-recommended, tth
+Standards-Version: 3.9.8
+Homepage: http://www.gap-system.org/Packages/design.html
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/gap-design.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-design.git
+
+Package: gap-design
+Provides: gap-pkg-design
+Architecture: all
+Depends: gap (>=4r8p6), gap-gapdoc (>=1.5.1-3), gap-grape (>=4r7), ${misc:Depends}
+Description: block designs 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 provides for GAP routines for constructing, classifying,
+ partitioning and studying block designs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6ce0d1c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: GAP package DESIGN
+Upstream-Contact: Leonard H. Soicher <l.h.soicher at qmul.ac.uk>
+Source: http://www.gap-system.org/Packages/design.html
+Files-Excluded:
+ htm
+ doc/manual.example-*.tst
+ doc/manual.aux
+ doc/manual.bbl
+ doc/manual.blg
+ doc/manual.idx
+ doc/manual.ilg
+ doc/manual.ind
+ doc/manual.log
+ doc/manual.toc
+ doc/manual.lab
+ doc/manual.six
+ doc/manual.dvi
+ doc/manual.pdf
+
+Files: *
+Copyright:
+ 2003-2016 Leonard H. Soicher <l.h.soicher at qmul.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-design.doc-base b/debian/gap-design.doc-base
new file mode 100644
index 0000000..c0f969a
--- /dev/null
+++ b/debian/gap-design.doc-base
@@ -0,0 +1,14 @@
+Document: gap-design
+Title: DESIGN
+Author: Leonard H. Soicher
+Abstract:
+ This manual describes the DESIGN GAP package which is meant for
+ constructing, classifying, partitioning and studying block designs.
+Section: Science/Mathematics
+
+Format: pdf
+Files: /usr/share/doc/gap-design/doc/manual.pdf
+
+Format: HTML
+Index: /usr/share/doc/gap-design/htm/chapters.htm
+Files: /usr/share/doc/gap-design/htm/*.htm
diff --git a/debian/gap-design.docs b/debian/gap-design.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/gap-design.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/gap-design.install b/debian/gap-design.install
new file mode 100644
index 0000000..90154fe
--- /dev/null
+++ b/debian/gap-design.install
@@ -0,0 +1,2 @@
+PackageInfo.g init.g lib htm                 usr/share/gap/pkg/design
+doc/manual.lab doc/manual.six doc/manual.pdf usr/share/gap/pkg/design/doc
diff --git a/debian/gap-design.links b/debian/gap-design.links
new file mode 100644
index 0000000..522a9ef
--- /dev/null
+++ b/debian/gap-design.links
@@ -0,0 +1,2 @@
+usr/share/gap/pkg/design/doc usr/share/doc/gap-design/doc
+usr/share/gap/pkg/design/htm usr/share/doc/gap-design/htm
diff --git a/debian/patches/debianization.patch b/debian/patches/debianization.patch
new file mode 100644
index 0000000..f0b7d79
--- /dev/null
+++ b/debian/patches/debianization.patch
@@ -0,0 +1,87 @@
+Description: debianization
+ Meant to maintain a minimal debian/rules, to fix annoying
+ warnings, to address Debian specific stuff in general.
+Origin: vendor, Debian
+Forwarded: not-needed
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-12-14
+
+--- a/doc/make_doc
++++ b/doc/make_doc
+@@ -4,32 +4,44 @@
+ #W  make_doc          make Example Package documentation          Greg Gamble
+ ##
+ ## Slightly modified by Leonard Soicher for use with DESIGN.
+-## 
++##
+ #H  $Id: make_doc,v 4.1 2001/10/07 02:37:40 gap Exp $
+ ##
+-##  This shell script uses TeX, BibTeX and MakeIndex to build the .dvi, Adobe
+-##  PDF, PostScript (commented out) and  HTML  (provided  you  have  tth  and
+-##  etc/convert.pl) documentation for the Example Package.
++##  This shell script uses TeX, BibTeX and MakeIndex to build the Adobe PDF
++##  and HTML (provided you have tth and gap packages are installed)
++##  documentation.
+ ##
+ 
++GAPDATADIR=/usr/share/gap
++
++TEXINPUTS=$GAPDATADIR/etc:${TEXINPUTS}
++export TEXINPUTS
++
++PDFTEX='/usr/bin/pdftex -no-shell-escape -interaction batchmode'
++BIBTEX=/usr/bin/bibtex
++GAPMANUALINDEX=$GAPDATADIR/etc/manualindex
++GAPCONVERT=$GAPDATADIR/etc/convert.pl
++
+ echo "TeXing documentation"
+ # TeX the manual
+-tex manual
++$PDFTEX manual
+ # ... and build its bibliography (uncomment if there is a `manual.bib')
+-bibtex manual
++$BIBTEX manual
+ # TeX the manual again to incorporate the ToC ... and build the index
+-tex manual; ../../../doc/manualindex manual
++$PDFTEX manual
++$GAPMANUALINDEX manual
+ # Finally TeX the manual again to get cross-references right
+-tex manual
++$PDFTEX manual
+ # Create the PostScript version (uncomment next line, if needed)
+ #dvips -D300 manual -o
+ # Create PDF version
+-pdftex manual; pdftex manual 
++$PDFTEX manual
++$PDFTEX manual
+ 
+ # The HTML version of the manual
+ mkdir -p ../htm
+ echo "Creating HTML documentation"
+-../../../etc/convert.pl -c -n design . ../htm
++$GAPCONVERT -c -n design . ../htm
+ 
+ #############################################################################
+ ##
+--- a/PackageInfo.g
++++ b/PackageInfo.g
+@@ -58,7 +58,7 @@
+ ##  
+ ##  These entries are *optional*.
+ #TextFiles := ["init.g", ......],
+-BinaryFiles := ["doc/manual.dvi", "doc/manual.pdf"],
++BinaryFiles := ["doc/manual.pdf"],
+ 
+ 
+ ##  Information about authors and maintainers. Specify for each person a 
+--- a/doc/manual.tex
++++ b/doc/manual.tex
+@@ -8,7 +8,7 @@
+ %%
+ %F  gapmacro . . . . . . . . . . . . . . . .  read the GAP macro package
+ %%
+-\input ../../../doc/gapmacro
++\input gapmacro
+ %
+ %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..bda6985
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+debianization.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e7e247f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+GAP=/usr/bin/gap
+
+DEB_PKG_VERSION = $(shell dpkg-parsechangelog -S Version)
+DEB_BUILD_GAP_PKGINFO_DATE = $(shell sed -n 's|^Date[ ]*:=[ ]*\"\([0-9]*\)/\([0-9]*\)/20\([0-9]*\)\",|20\3-\2-\1|p' PackageInfo.g)
+
+export GAP_CONVERT_DATE = $(shell LC_ALL=C date -u -d $(DEB_BUILD_GAP_PKGINFO_DATE) +"%B %Y (Debian $(DEB_PKG_VERSION))")
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@
+
+override_dh_auto_build:
+	cd doc && sh make_doc
+
+override_dh_auto_test:
+	echo "SetPackagePath(\"design\",\".\"); LoadPackage(\"design\"); quit;" | $(GAP) -A -q -T
+
+override_dh_installchangelogs:
+	dh_installchangelogs --keep README
+
+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/watch b/debian/watch
new file mode 100644
index 0000000..b75365a
--- /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/design([\d]+r[\d]+)\.tar\.bz2

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



More information about the debian-science-commits mailing list