Skip to content
Commits on Source (5)
seqsero (1.0-2) UNRELEASED; urgency=medium
* Standards-Version: 4.1.4
* Point Vcs-fields to Salsa
* debhelper 11
* Add Build-Depends: bwa, sra-toolkit to make sure package builds only
on those architectures where its dependencies are fulfilled
* Delete unused debian/get-orig-source
-- Andreas Tille <tille@debian.org> Fri, 27 Apr 2018 09:58:55 +0200
seqsero (1.0-1) unstable; urgency=medium
* Initial release (Closes: #859506)
......
......@@ -3,12 +3,14 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.
Uploaders: Andreas Tille <tille@debian.org>
Section: science
Priority: optional
Build-Depends: debhelper (>= 10),
Build-Depends: debhelper (>= 11~),
dh-python,
python
Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/seqsero.git
Vcs-Git: https://anonscm.debian.org/git/debian-med/seqsero.git
python,
bwa,
sra-toolkit
Standards-Version: 4.1.4
Vcs-Browser: https://salsa.debian.org/med-team/seqsero
Vcs-Git: https://salsa.debian.org/med-team/seqsero.git
Homepage: https://github.com/denglab/SeqSero
Package: seqsero
......
#!/bin/sh
# 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
# Excluding files and repacking archives
# --------------------------------------
# See also mk-origtargz(1) and the --repack option to uscan(1), which
# honor the Files-Excluded list in debian/copyright.
# That may be all you need, especially since the repack option can be set
# in debian/watch.
# For an example how to fetch source from sourceforge SVN see
# https://anonscm.debian.org/git/debian-med/kmer-tools.git
COMPRESS=xz
set -e
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
if ! echo $@ | grep -q upstream-version ; then
VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
uscan --force-download
else
VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
if echo "$VERSION" | grep -q "upstream-version" ; then
echo "Unable to parse version number"
exit
fi
fi
TARDIR=${NAME}-${VERSION}
mkdir -p ../tarballs
cd ../tarballs
# need to clean up the tarballs dir first because upstream tarball might
# contain a directory with unpredictable name
rm -rf *
tar -xaf ../${TARDIR}.tar.gz
UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d`
if [ "${UPSTREAMTARDIR}" != "${TARDIR}" ] ; then
mv "${UPSTREAMTARDIR}" "${TARDIR}"
fi
# Remove useless binaries
# ... do something which needs to be done ...
GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}"
rm -rf ${TARDIR}