[med-svn] [libtabixpp] 06/08: package cruft cleanup

Sascha Steinbiss sascha-guest at moszumanska.debian.org
Tue Dec 15 05:59:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

sascha-guest pushed a commit to branch master
in repository libtabixpp.

commit ebd3ce9b9b15de5ffaec1af9d19cd231196cca5c
Author: Sascha Steinbiss <sascha at steinbiss.name>
Date:   Tue Dec 15 05:34:26 2015 +0000

    package cruft cleanup
---
 debian/README.license    |  3 ---
 debian/get-orig-source   | 45 ---------------------------------------------
 debian/tests/build-lib   |  5 ++---
 debian/upstream/metadata | 12 ------------
 4 files changed, 2 insertions(+), 63 deletions(-)

diff --git a/debian/README.license b/debian/README.license
deleted file mode 100644
index dde526c..0000000
--- a/debian/README.license
+++ /dev/null
@@ -1,3 +0,0 @@
-This package does not yet have a license defined by upstream.
-
-ss34, 20151206
diff --git a/debian/get-orig-source b/debian/get-orig-source
deleted file mode 100755
index e486809..0000000
--- a/debian/get-orig-source
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/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
-
-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}
diff --git a/debian/tests/build-lib b/debian/tests/build-lib
index 6d4bfcd..2a73213 100755
--- a/debian/tests/build-lib
+++ b/debian/tests/build-lib
@@ -1,7 +1,6 @@
 #!/bin/sh
 # autopkgtest check: Build and run a program against libtabixpp
 # Author: Sascha Steinbiss <sascha at steinbiss.name>
-
 set -e
 
 SRC=$(pwd)/main.cpp
@@ -10,13 +9,13 @@ WORKDIR=$(mktemp -d)
 trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
 cd $WORKDIR
 g++ -O2 -o tabix++2 $SRC -ltabixpp -lhts
+[ -x tabix++2 ]
 echo "build: OK"
 
-[ -x tabix++2 ]
 fgrep -v '###' $DATA > ./Lmajor.gff3.1
 bgzip Lmajor.gff3.1
 tabix -p gff Lmajor.gff3.1.gz
 ls
 ./tabix++2 Lmajor.gff3.1.gz > 1
 ldd tabix++2
-echo "run: OK"
\ No newline at end of file
+echo "run: OK"
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
deleted file mode 100644
index d8b5812..0000000
--- a/debian/upstream/metadata
+++ /dev/null
@@ -1,12 +0,0 @@
-Reference:
-  Author: 
-  Title: 
-  Journal: 
-  Year: 
-  Volume: 
-  Number: 
-  Pages: 
-  DOI: 
-  PMID:
-  URL: 
-  eprint: 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libtabixpp.git



More information about the debian-med-commit mailing list