Skip to content
Commits on Source (8)
gff2ps (0.98l-1) unstable; urgency=medium
* Upstream does not provide a tarball but rather the gziped source file
thus a get-orig-source script is provided to create the needed
tarball automatically
* Standards-Version: 4.1.4
* Point Vcs-fields to Salsa
* debhelper 11
-- Andreas Tille <tille@debian.org> Thu, 26 Apr 2018 16:04:02 +0200
gff2ps (0.98d-6) unstable; urgency=medium
* Moved packaging from SVN to Git
......
......@@ -4,10 +4,10 @@ Uploaders: Nelson A. de Oliveira <naoliv@debian.org>,
Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 10)
Standards-Version: 4.1.1
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/gff2ps.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/gff2ps.git
Build-Depends: debhelper (>= 11~)
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/gff2ps
Vcs-Git: https://salsa.debian.org/med-team/gff2ps.git
Homepage: http://genome.imim.es/software/gfftools/GFF2PS.html
Package: gff2ps
......
#!/bin/sh -e
# if you need to repack for whatever reason you can
# use this script via uscan or directly
#
# FIXME: currently the code is not conform to Debian Policy
# http://www.debian.org/doc/debian-policy/ch-source.html
# "get-orig-source (optional)"
# This target may be invoked in any directory, ...
# --> currently it is assumed the script is called in the
# source directory featuring the debian/ dir
COMPRESS=xz
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
set -x
echo args = $@
if ! echo $@ | grep -q upstream-version ; then
# VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
VERSION=`uscan --force-download 2>/dev/null | grep ftp://genome.imim.es/pub/gff_tools/gff2ps/gff2ps_v0.98l.gz | sed 's#^.*ftp://genome.imim.es/pub/gff_tools/gff2ps/gff2ps_v\(.*\)\.gz#\1#' || true`
echo "Version = $VERSION"
else
VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*BRIG.*-dist.*?\1?"`
if echo "$VERSION" | grep -q "upstream-version" ; then
echo "Unable to parse version number"
exit
fi
fi
set -e
TARDIR=${NAME}-${VERSION}
mkdir -p ../tarballs/$TARDIR
cd ../tarballs
mv ../${NAME}_v${VERSION}.gz $TARDIR
cd $TARDIR
gunzip ${NAME}_v${VERSION}.gz
cd ..
GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
rm -rf ${TARDIR}
......@@ -5,4 +5,8 @@
override_dh_install:
dh_install
install -m 755 gff2ps_v0.98d debian/gff2ps/usr/share/gff2ps/gff2ps.real
install -m 755 gff2ps_v0.98* debian/gff2ps/usr/share/gff2ps/gff2ps.real
# Upstream does not provide a tarball but rather the gziped source file
get-orig-source:
. debian/get-orig-source
version=3
version=4
ftp://genome.imim.es/pub/gff_tools/gff2ps/gff2ps_v(.*).gz debian uupdate
ftp://genome.imim.es/pub/gff_tools/gff2ps/gff2ps_v(.*).gz debian debian/get-orig-source
This diff is collapsed.