[gap-openmath] 01/04: Imported Debian pre-patch 11.3.1+ds-0

Jerome Benoit calculus-guest at moszumanska.debian.org
Mon Feb 29 01:47:00 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-openmath.

commit 2c0372ed36cd8d72d44be49c2bc8768b52ecdf3b
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Mon Feb 29 01:48:05 2016 +0100

    Imported Debian pre-patch 11.3.1+ds-0
---
 debian/changelog |  16 +++++++++
 debian/copyright |  32 +++++++++++++++--
 debian/repack    | 108 -------------------------------------------------------
 debian/rules     |   2 +-
 debian/watch     |   7 ++--
 5 files changed, 50 insertions(+), 115 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5cd3c8b..8df11fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,19 @@
+gap-openmath (11.3.1+ds-0) UNRELEASED; urgency=medium
+
+  * New upstream version.
+  * Debianization:
+    - debian/copyright:
+      - repack by using the Files-Excluded machinery instead of the ad-hoc
+        script debian/repack;
+      - refresh;
+    - debian/repack, discard (see above);
+    - debian/watch:
+      - revisit (see above);
+    - debian/rules:
+      - get-orig-source target, revisit (see above).
+
+ -- Jerome Benoit <calculus at rezozer.net>  Mon, 29 Feb 2016 00:26:55 +0000
+
 gap-openmath (11.2.0+ds-1) unstable; urgency=low
 
   * Initial release. (Closes: #738008)
diff --git a/debian/copyright b/debian/copyright
index 17c189b..de469e5 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,17 +5,45 @@ Source: http://www.gap-system.org/Packages/openmath.html
 Comment:
  The upstream source tarball is repacked to drop off the regenarated
  material, namely the documentation, to substantially reduce the size.
+Files-Excluded:
+ doc/chap*.txt
+ doc/chap*.html
+ doc/chooser.html
+ doc/manual.tex
+ doc/manual.aux
+ doc/manual.out
+ doc/manual.brf
+ doc/manual.toc
+ doc/manual.log
+ doc/manual.bbl
+ doc/manual.blg
+ doc/manual.ind
+ doc/manual.idx
+ doc/manual.ilg
+ doc/manual.pnr
+ doc/manual.six
+ doc/manual.lab
+ doc/manual.pdf
+ doc/lefttoc.css
+ doc/manual.js
+ doc/manual.css
+ doc/nocolorprompt.css
+ doc/ragged.css
+ doc/rainbow.js
+ doc/times.css
+ doc/toggless.js
+ doc/toggless.css
 
 Files: *
 Copyright:
- 2007-2014 Alexander Konovalov <alexk at mcs.st-andrews.ac.uk>
+ 2007-2016 Alexander Konovalov <alexk at mcs.st-andrews.ac.uk>
  2005-2006 Marco Costantini
  2000-2005 Andrew Solomon
 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/repack b/debian/repack
deleted file mode 100755
index 5dcedbf..0000000
--- a/debian/repack
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/bash
-
-PACKAGE_NAME=gap-openmath
-
-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
-## clean up
-rm --verbose --force -- doc/chap*.txt
-rm --verbose --force -- doc/chap*.html
-rm --verbose --force -- doc/chooser.html
-rm --verbose --force -- doc/manual.{tex,aux,out,brf,toc,log,bbl,blg,ind,idx,ilg}
-rm --verbose --force -- doc/manual.{pnr,six,lab}
-rm --verbose --force -- doc/manual.pdf
-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 079093f..aa79e30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,4 +15,4 @@ override_dh_installchangelogs:
 	dh_installchangelogs --keep CHANGES
 
 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 7185cf6..a6b5ff0 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
-version=3
-opts=dversionmangle=s/\+ds// \
-ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/openmath-([\d\.]+)\.tar\.bz2 \
-debian bash debian/repack
+version=4
+opts=dversionmangle=s/\+ds//,repacksuffix=+ds \
+ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/openmath-([\d\.]+)\.tar\.bz2

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



More information about the debian-science-commits mailing list