[gap-io] 01/01: Imported Debian patch 4.2+ds1-1
Jerome Benoit
calculus-guest at moszumanska.debian.org
Sat Mar 1 15:47:48 UTC 2014
This is an automated email from the git hooks/post-receive script.
calculus-guest pushed a commit to branch master
in repository gap-io.
commit 0d3cd96d7c4aa98a343b77b20d824d464b12d11a
Merge: 55c3883 8a747fa
Author: Jerome Benoit <calculus at rezozer.net>
Date: Sat Mar 1 14:25:57 2014 +0000
Imported Debian patch 4.2+ds1-1
debian/changelog | 8 +++
debian/repack | 3 +-
debian/watch | 2 +-
doc/manual.css | 165 -------------------------------------------------------
4 files changed, 11 insertions(+), 167 deletions(-)
diff --cc debian/changelog
index 62bf37e,0000000..ecc2d4d
mode 100644,000000..100644
--- a/debian/changelog
+++ b/debian/changelog
@@@ -1,38 -1,0 +1,46 @@@
++gap-io (4.2+ds1-1) unstable; urgency=low
++
++ * New original source ball repackaging.
++ * Debianization:
++ - debian/watch, revisit wrt repacked source ball name.
++
++ -- Jerome Benoit <calculus at rezozer.net> Sat, 01 Mar 2014 14:25:57 +0000
++
+gap-io (4.2+ds-2) UNRELEASED; urgency=low
+
+ * Debianization:
+ - debian/makedoc.g, revisit;
+ - debian/clean, add wrt debian/makedoc.g;
+ - debian/repack, revisit wrt debian/makedoc.g;
+ - debian/control, refresh;
+ - debian/gap-io.install:
+ - provide manual.css and manual.js;
+ - install io.so module in pkg/bin as now allowed by GAP 4r7p2-1;
+ - debian/gap-io.dir, remove.
+
+ -- Jerome Benoit <calculus at rezozer.net> Sat, 01 Mar 2014 13:56:12 +0000
+
+gap-io (4.2+ds-1) unstable; urgency=low
+
+ * Initial release (Closes: #734418).
+ * Debianization:
+ - debian/copyright in DEP-5 format;
+ - debian/control:
+ - debhelper build-dep to >= 9;
+ - Standards Version 3.9.5;
+ - Vcs-* headers.
+ - debian/source, format 3.0 (quilt);
+ - debian/patches/ patches in DEP-3 format;
+ - debian/watch file;
+ - debian/repack, repack script to clean up and gain weight;
+ - debian/rules:
+ - autoreconf-iguration;
+ - full and minal dh integration;
+ - get-orig-source uscan based target which downloads the currently
+ packaged upstream tarball and repacks it;
+ - default target which basically queries package status with uscan
+ -- output in DEHS format;
+ - remark: the regeneration of the documention provides in fact a
+ self-test suite substitute.
+
+ -- Jerome Benoit <calculus at rezozer.net> Thu, 16 Jan 2014 07:56:22 +0000
diff --cc debian/repack
index 58f5e4a,0000000..ade1c20
mode 100755,000000..100755
--- a/debian/repack
+++ b/debian/repack
@@@ -1,119 -1,0 +1,120 @@@
+#!/bin/bash
+
+PACKAGE_NAME=gap-io
+
+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_SUFFIX="+ds"
++DEBIAN_SUFFIX="+ds1"
+####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/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 -- cnf/ltmain.sh
+rm --verbose --force -- cnf/pkgconfig.h.in
+rm --verbose --force -- cnf/missing
+rm --verbose --force -- cnf/depcomp
+rm --verbose --force -- cnf/install-sh
+rm --verbose --force -- cnf/config.guess
+rm --verbose --force -- cnf/config.sub
+rm --verbose --force -- aclocal.m4
+rm --verbose --force -- configure
+rm --verbose --force -- Makefile
+rm --verbose --force -- Makefile.in
+## mimic make clean up
+rm --verbose --force -- doc/chap*.txt
+rm --verbose --force -- doc/chap*.html
+rm --verbose --force -- doc/io.{tex,aux,toc,log,bbl,blg,ind,idx,ilg}
+rm --verbose --force -- doc/io.pnr
+rm --verbose --force -- doc/manual.{pdf,six,lab}
+rm --verbose --force -- doc/manual.css
+#:
+
+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 --cc debian/watch
index b1998a5,0000000..d012875
mode 100644,000000..100644
--- a/debian/watch
+++ b/debian/watch
@@@ -1,4 -1,0 +1,4 @@@
+version=3
- opts=dversionmangle=s/\+ds// \
++opts=dversionmangle=s/\+ds[\d]?// \
+http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/io.html io/io-([\d\.]+)\.tar\.gz \
+debian bash debian/repack
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gap-io.git
More information about the debian-science-commits
mailing list