--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
X-Debbugs-Cc: nilesh@debian.org
Please unblock package samtools-legacy
[ Reason ]
This package misses a depends on zlib1g-dev rendering it unusable
[ Impact ]
The package will be broken for the user, and they will have to fetch the
dependencies by themselves
[ Tests ]
Autopkgtests have been added in this release
[ Risks ]
Low risk, no change in any installations -- just one dep added w/
autopkgtests
IMO, this is safe
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in testing
unblock samtools-legacy/0.1.19+dfsg-2
diff -Nru samtools-legacy-0.1.19+dfsg/debian/changelog samtools-legacy-0.1.19+dfsg/debian/changelog
--- samtools-legacy-0.1.19+dfsg/debian/changelog 2020-11-16 23:20:39.000000000 +0530
+++ samtools-legacy-0.1.19+dfsg/debian/changelog 2021-07-25 20:41:17.000000000 +0530
@@ -1,3 +1,11 @@
+samtools-legacy (0.1.19+dfsg-2) unstable; urgency=medium
+
+ * Team Upload.
+ * Add Depends on zlib1g-dev
+ * Add autopkgtests
+
+ -- Nilesh Patra <nilesh@debian.org> Sun, 25 Jul 2021 20:41:17 +0530
+
samtools-legacy (0.1.19+dfsg-1) unstable; urgency=medium
* Team upload.
diff -Nru samtools-legacy-0.1.19+dfsg/debian/control samtools-legacy-0.1.19+dfsg/debian/control
--- samtools-legacy-0.1.19+dfsg/debian/control 2020-11-16 23:20:39.000000000 +0530
+++ samtools-legacy-0.1.19+dfsg/debian/control 2021-07-25 20:39:14.000000000 +0530
@@ -16,7 +16,8 @@
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends},
- ${misc:Depends}
+ ${misc:Depends},
+ zlib1g-dev
Description: manipulates nucleotide sequence alignments in BAM or SAM format
The BAM library provides I/O and various operations on manipulating nucleotide
sequence alignments in the BAM (Binary Alignment/Mapping) or SAM (Sequence
diff -Nru samtools-legacy-0.1.19+dfsg/debian/tests/control samtools-legacy-0.1.19+dfsg/debian/tests/control
--- samtools-legacy-0.1.19+dfsg/debian/tests/control 1970-01-01 05:30:00.000000000 +0530
+++ samtools-legacy-0.1.19+dfsg/debian/tests/control 2021-07-24 22:33:24.000000000 +0530
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, build-essential, samtools
+Restrictions: allow-stderr
diff -Nru samtools-legacy-0.1.19+dfsg/debian/tests/run-unit-test samtools-legacy-0.1.19+dfsg/debian/tests/run-unit-test
--- samtools-legacy-0.1.19+dfsg/debian/tests/run-unit-test 1970-01-01 05:30:00.000000000 +0530
+++ samtools-legacy-0.1.19+dfsg/debian/tests/run-unit-test 2021-07-24 22:43:39.000000000 +0530
@@ -0,0 +1,34 @@
+#!/bin/bash
+set -e
+
+pkg=cppnumericalsolvers
+CUR_DIR=`pwd`
+
+export LC_ALL=C.UTF-8
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+ AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+ trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cd "${AUTOPKGTEST_TMP}"
+cp ${CUR_DIR}/examples/* .
+
+samtools view -S -b toy.sam > toy.bam
+
+echo "Test 1 -- calDepth"
+gcc calDepth.c -o calDepth -I/usr/include/samtools -lbam -lm -lz -lpthread
+./calDepth toy.bam
+echo "=============== PASS ================"
+
+echo "Test 2 -- chk_indel"
+gcc chk_indel.c -o chk_indel -I/usr/include/samtools -lbam -lm -lz -lpthread
+./chk_indel toy.bam
+echo "=============== PASS ================"
+
+
+echo "Test 3 -- bam2bed"
+gcc bam2bed.c -o bam2bed -I/usr/include/samtools -lbam -lm -lz -lpthread
+./bam2bed toy.bam
+echo "=============== PASS ================"
+
+rm -f toy.bam
--- End Message ---