From: Andreas Tille Date: Mon, 10 Feb 2014 18:09:46 +0000 (+0100) Subject: Add package carrying test data X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1~1^2^2~417 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=73d7f9b352250e73f046189d9cbcb396bd40bb8b;p=python-pysam.git Add package carrying test data --- diff --git a/debian/control b/debian/control index f7c530c..d4a5f84 100644 --- a/debian/control +++ b/debian/control @@ -25,3 +25,19 @@ Depends: ${shlibs:Depends}, Description: interface for the SAM/BAM sequence alignment and mapping format Pysam is a python module for reading and manipulating Samfiles. It's a lightweight wrapper of the samtools C-API. + +Package: python-pysam-tests +Architecture: any +Priority: extra +Enhances: python-pysam +Depends: ${shlibs:Depends}, + ${misc:Depends}, + ${python:Depends}, + python-pysam, + python-pyrex +Description: interface for the SAM/BAM sequence alignment and mapping format (test data) + Pysam is a python module for reading and manipulating Samfiles. It's a + lightweight wrapper of the samtools C-API. + . + This package contains the data provided by upstream to run the pysam + test suite. diff --git a/debian/python-pysam-tests.README.Debian b/debian/python-pysam-tests.README.Debian new file mode 100644 index 0000000..6ec9300 --- /dev/null +++ b/debian/python-pysam-tests.README.Debian @@ -0,0 +1,11 @@ +Pysam for Debian +================ + +To verify whether your python-pysam modules are working correctly +you can run the test suite manually via + + cd /var/lib/pysam/tests + ./pysam_test.py + + -- Andreas Tille Fri, 07 Feb 2014 18:29:40 +0100 + diff --git a/debian/python-pysam-tests.install b/debian/python-pysam-tests.install new file mode 100644 index 0000000..5717f36 --- /dev/null +++ b/debian/python-pysam-tests.install @@ -0,0 +1 @@ +tests var/lib/pysam diff --git a/debian/python-pysam-tests.postinst b/debian/python-pysam-tests.postinst new file mode 100644 index 0000000..353fb13 --- /dev/null +++ b/debian/python-pysam-tests.postinst @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + chmod a+w /var/lib/pysam/tests + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER#