[gap-float] 01/04: Imported Debian pre-patch 0.7.4+ds-0

Jerome Benoit calculus-guest at moszumanska.debian.org
Fri Oct 14 04:15:21 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 dd9c066e306518007a50ed9182695f1b7570c239
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Thu Oct 13 05:22:21 2016 +0100

    Imported Debian pre-patch 0.7.4+ds-0
---
 debian/changelog |  16 +++++++
 debian/control   |   4 +-
 debian/copyright |  48 +++++++++++++++----
 debian/repack    | 141 -------------------------------------------------------
 debian/rules     |   2 +-
 debian/watch     |   7 ++-
 6 files changed, 60 insertions(+), 158 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b878433..d290117 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+gap-float (0.7.4+ds-0) UNRELEASE; urgency=medium
+
+  * New upstream release.
+  * Debianization:
+    - debian/watch:
+      - bump to version 4;
+      - update;
+    - debian/repack, discad (see below);
+    - debian/copyright:
+      - Files-Excluded field, introduce;
+      - refresh;
+    - debian/rules:
+      - get-orig-source field, add compression scheme.
+
+ -- Jerome Benoit <calculus at rezozer.net>  Thu, 13 Oct 2016 04:28:42 +0000
+
 gap-float (0.6.3+ds-3) unstable; urgency=medium
 
   * Debianization:
diff --git a/debian/control b/debian/control
index 132ac7f..cbbc139 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Jerome Benoit <calculus at rezozer.net>
 Build-Depends:
  debhelper (>= 9), quilt, autotools-dev, libtool, dh-autoreconf, autoconf-archive,
- gap (>=4r8p3), gap-dev (>=4r8p3), gap-gapdoc,
+ gap (>=4r8p4), gap-dev (>=4r8p4), gap-gapdoc,
  libgmp-dev, libmpfr-dev, libmpc-dev, libmpfi-dev, libfplll-dev,
 # libcxsc-dev,
  texlive-latex-recommended, texlive-fonts-recommended, texlive-latex-extra
@@ -17,7 +17,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/gap-float.g
 Package: gap-float
 Provides: gap-pkg-float
 Architecture: any
-Depends: ${misc:Depends}, ${shlibs:Depends}, gap (>=4r8p3)
+Depends: ${misc:Depends}, ${shlibs:Depends}, gap (>=4r8p4)
 Description: multi-precision floating-point computation for 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 477b600..04c2b30 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,17 +2,45 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
 Upstream-Name: float package for GAP
 Upstream-Contact: Laurent Bartholdi <laurent.bartholdi at gmail.com>
 Source: http://www.gap-system.org/Packages/float.html
-X-Source: https://github.com/laurentbartholdi/float
-X-Source-Downloaded-From: http://www.uni-math.gwdg.de/laurent/archive/
-X-Upstream-Vcs: git clone https://github.com/laurentbartholdi/float.git
-X-Upstream-Bugs: https://github.com/laurentbartholdi/float/issues
-Comment:
- The upstream source tarball is repacked to drop off the regenarated
- material, mainly the documentation, to substantially reduce the size.
+X-Source: https://github.com/gap-packages/float
+X-Source-Downloaded-From: https://github.com/gap-packages/float/releases
+X-Upstream-Bugs: https://github.com/gap-packages/float/issues
+Files-Excluded:
+ doc/*.css
+ doc/*.js
+ doc/floatbib.xml
+ doc/chap*.txt
+ doc/chap*.html
+ doc/chooser.html
+ doc/manual.six
+ doc/manual.pdf
+ m4/ax_cc_maxopt.m4
+ m4/ax_check_compile_flag.m4
+ m4/ax_compiler_vendor.m4
+ m4/ax_gcc_archflag.m4
+ m4/ax_gcc_x86_cpuid.m4
+ m4/lt~obsolete.m4
+ m4/ltsugar.m4
+ m4/ltoptions.m4
+ m4/ltversion.m4
+ m4/libtool.m4
+ build-aux/compile
+ build-aux/depcomp
+ build-aux/ltmain.sh
+ build-aux/missing
+ build-aux/config.guess
+ build-aux/config.sub
+ build-aux/install-sh
+ src/Makefile.in
+ Makefile.in
+ config.h.in
+ aclocal.m4
+ configure
+
 
 Files: *
 Copyright:
- 2007-2014 Laurent Bartholdi <laurent.bartholdi at gmail.com>
+ 2007-2016 Laurent Bartholdi <laurent.bartholdi at gmail.com>
 License: GPL-3+
 
 Files: debian/*
@@ -34,5 +62,5 @@ License: GPL-3+
  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 3 can be found in "/usr/share/common-licenses/GPL-3".
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/repack b/debian/repack
deleted file mode 100755
index c6ecb0d..0000000
--- a/debian/repack
+++ /dev/null
@@ -1,141 +0,0 @@
-#!/bin/bash
-
-PACKAGE_NAME=gap-float
-
-set -e
-set -u
-
-usage() {
-	echo "Usage: repack --upstream-version <ver> <downloaded file>"
-	exit 1
-	}
-
-if [ "$#" != "3" ]; then
-	usage
-fi
-if [ "$1" != "--upstream-version" ]; then
-	usage
-fi
-if [ ! -f "$3" ]; then
-	if [ -n "$3" ]; then
-		echo "$3 doesn't exist"
-	fi
-	usage
-fi
-UPSTREAM_VERSION="$2"
-UPSTREAM_TARBALLZZ="$3"
-
-DEBIAN_SUFFIX="+ds"
-####DEBIAN_ENCAPSULATEDFOLDERNAME="${PACKAGE_NAME}-usrc"
-
-DEBIAN_UVERSION=${UPSTREAM_VERSION}${DEBIAN_SUFFIX}
-DEBIAN_ROOTFOLDERNAME="${PACKAGE_NAME}-${DEBIAN_UVERSION}.orig"
-DEBIAN_TARBALLXZ="$(dirname $UPSTREAM_TARBALLZZ)/${PACKAGE_NAME}_${DEBIAN_UVERSION}.orig.tar.xz"
-
-REPACK_TMPDIR=`mktemp -d ./repackXXXXXX`
-REPACK_TMPDIR=$(readlink -f "$REPACK_TMPDIR")
-trap "/bin/rm -rf \"$REPACK_TMPDIR\"" QUIT INT EXIT
-
-message() {
-	echo
-	echo "-- -- $1"
-	echo
-	}
-
-message "Repackaging $UPSTREAM_TARBALLZZ"
-
-UPSTREAM_ROOTFOLDER="${REPACK_TMPDIR}/unpacked"
-mkdir "${UPSTREAM_ROOTFOLDER}"
-tar -C "${UPSTREAM_ROOTFOLDER}" -xf "${UPSTREAM_TARBALLZZ}" || unzip -d "${UPSTREAM_ROOTFOLDER}" "${UPSTREAM_TARBALLZZ}"
-if [ `ls -1 "${UPSTREAM_ROOTFOLDER}" | wc -l` -eq 1 ]; then
-	UPSTREAM_ROOTFOLDER="${UPSTREAM_ROOTFOLDER}/`ls -1 "${UPSTREAM_ROOTFOLDER}"`"
-fi
-
-DEBIAN_ROOTFOLDER="${REPACK_TMPDIR}/${DEBIAN_ROOTFOLDERNAME}"
-## repack
-####set -f
-REPACK_WORKING_FOLDER=$(pwd)
-cd "${UPSTREAM_ROOTFOLDER}"
-
-####. "${REPACK_WORKING_FOLDER}/debian/repack.local"
-## wipe out
-####rm --verbose --force -- makefile.basic
-## mimic autoreconf clean up
-rm --verbose --force -- m4/ax_cc_maxopt.m4
-rm --verbose --force -- m4/ax_check_compile_flag.m4
-rm --verbose --force -- m4/ax_compiler_vendor.m4
-rm --verbose --force -- m4/ax_gcc_archflag.m4
-rm --verbose --force -- m4/ax_gcc_x86_cpuid.m4
-rm --verbose --force -- m4/lt~obsolete.m4
-rm --verbose --force -- m4/ltsugar.m4
-rm --verbose --force -- m4/ltoptions.m4
-rm --verbose --force -- m4/ltversion.m4
-rm --verbose --force -- m4/libtool.m4
-rm --verbose --force -- build-aux/compile
-rm --verbose --force -- build-aux/depcomp
-rm --verbose --force -- build-aux/ltmain.sh
-rm --verbose --force -- build-aux/missing
-rm --verbose --force -- build-aux/config.guess
-rm --verbose --force -- build-aux/config.sub
-rm --verbose --force -- build-aux/install-sh
-rmdir --verbose -- build-aux
-rm --verbose --force -- src/floatconfig.h
-rm --verbose --force -- src/Makefile.in
-rm --verbose --force -- doc/Makefile.in
-####rm --verbose --force -- lib/Makefile.in
-####rm --verbose --force -- tst/Makefile.in
-rm --verbose --force -- Makefile.in
-rm --verbose --force -- config.h.in
-rm --verbose --force -- config.status
-rm --verbose --force -- configure
-rm --verbose --force -- libtool
-rm --verbose --force -- aclocal.m4
-## mimic make clean up
-rm --verbose --force -- doc/floatbib.xml
-rm --verbose --force -- doc/chap*.txt
-rm --verbose --force -- doc/chap*.html
-rm --verbose --force -- doc/chooser.html
-####rm --verbose --force -- doc/index.html
-rm --verbose --force -- doc/float.{tex,aux,toc,log,bbl,blg,ind,idx,ilg,out,brf}
-rm --verbose --force -- doc/float.pnr
-rm --verbose --force -- doc/manual.{pdf,six,lab,css}
-rm --verbose --force -- doc/lefttoc.css
-rm --verbose --force -- doc/manual.{css,js}
-rm --verbose --force -- doc/nocolorprompt.css
-rm --verbose --force -- doc/ragged.css
-rm --verbose --force -- doc/rainbow.js
-rm --verbose --force -- doc/times.css
-rm --verbose --force -- doc/toggless.{css,js}
-#:
-
-cd ${REPACK_WORKING_FOLDER}
-set +f
-## end
-####if [ -n "${DEBIAN_ENCAPSULATEDFOLDERNAME}" ]; then
-####	mkdir "${DEBIAN_ROOTFOLDER}"
-####	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}/${DEBIAN_ENCAPSULATEDFOLDERNAME}"
-####else
-	mv "${UPSTREAM_ROOTFOLDER}" "${DEBIAN_ROOTFOLDER}"
-####fi
-
-REPACK_TARBALL="${REPACK_TMPDIR}/repacked.tar"
-REPACK_TARBALLXZ="${REPACK_TARBALL}.xz"
-( cd "${REPACK_TMPDIR}" && \
-	find -L "${DEBIAN_ROOTFOLDERNAME}" -xdev -type f -print | sort | \
-	tar -T-  --owner=root --group=root --mode=a+rX --create --file "${REPACK_TARBALL}" \
-	)
-xz -9e < "${REPACK_TARBALL}" > "${REPACK_TARBALLXZ}"
-mv "${REPACK_TARBALLXZ}" "${DEBIAN_TARBALLXZ}"
-
-message "Testing ${DEBIAN_TARBALLXZ}"
-
-xz --verbose --test "${DEBIAN_TARBALLXZ}"
-
-message "Printing information about ${DEBIAN_TARBALLXZ}"
-
-xz --verbose --list "${DEBIAN_TARBALLXZ}"
-
-message "Quitting"
-
-##
-## eos
diff --git a/debian/rules b/debian/rules
index 504a243..97a7580 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,4 +30,4 @@ override_dh_link:
 		/usr/share/gap/pkg/float/doc /usr/share/doc/gap-float/doc
 
 get-orig-source:
-	uscan --no-conf --download-current-version --verbose
+	uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/watch b/debian/watch
index ade7df7..9ca80c3 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
-version=3
-opts=dversionmangle=s/\+ds//,pgpsigurlmangle=s/$/.asc/ \
-http://www.uni-math.gwdg.de/laurent/archive/float-([\d\.]+)\.tar\.(?:gz|bz2|xz) \
-debian bash debian/repack
+version=4
+opts=repack,dversionmangle=s/\+ds//,repacksuffix=+ds \
+https://github.com/gap-packages/float/releases/ .*/float-v?(\d\S*)\.tar\.gz

-- 
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