--- /dev/null
+pysam (0.3-1) maverick; urgency=low
+
+ * Imported Upstream version 0.3
+
+ -- Diane Trout <diane@caltech.edu> Fri, 19 Nov 2010 12:10:25 -0800
+
+pysam (0.2-1~karmic) karmic; urgency=low
+
+ * Initial release
+
+ -- Diane Trout <diane@caltech.edu> Fri, 11 Jun 2010 11:11:41 -0700
--- /dev/null
+Source: pysam
+Section: science
+Priority: extra
+Maintainer: Diane Trout <diane@caltech.edu>
+Build-Depends: cdbs, debhelper (>= 7), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-pyrex (>= 0.9.8), cython (>= 0.11), zlib1g-dev (>= 1.2.3)
+Standards-Version: 3.8.4
+XS-Python-Version: >=2.5, <<2.7
+Homepage: http://code.google.com/p/pysam/
+
+Package: python-pysam
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+XB-Python-Version: ${python:Versions}
+Description: python module for reading and manipulating Samfiles
+ Pysam is a python module for reading and manipulating Samfiles.
+ It's a lightweight wrapper of the samtools C-API.
--- /dev/null
+This work was packaged for Debian by:
+
+ Diane Trout <diane@caltech.edu> on Fri, 11 Jun 2010 11:11:41 -0700
+
+ It was downloaded from http://code.google.com/p/pysam/
+
+Upstream Author(s):
+
+ andreas
+ Grant Belgard
+ martingoodson
+ gerton.lunter
+ bunbun68
+
+
+Copyright:
+
+ Copyright (C) 2008-2009 Genome Research Ltd.
+
+License:
+
+ The MIT License
+
+ Copyright (c) 2008-2009 Genome Research Ltd.
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+The Debian packaging is:
+
+ Copyright (C) 2010 Diane Trout <diane@caltech.edu>
+ and is licensed under the MIT license
+
--- /dev/null
+# Automatically added by dh_pycentral
+rm -f /var/lib/pycentral/pysam.pkgremove
+if which pycentral >/dev/null 2>&1; then
+ pycentral pkginstall pysam
+ if grep -qs '^pysam$' /var/lib/pycentral/delayed-pkgs; then
+ sed -i '/^pysam$/d' /var/lib/pycentral/delayed-pkgs
+ fi
+fi
+# End automatically added section
--- /dev/null
+# Automatically added by dh_pycentral
+case "$1" in
+ install|upgrade)
+ mkdir -p /var/lib/pycentral
+ echo '# the presence of this file allows calling pkgremove on upgrade' \
+ > /var/lib/pycentral/pysam.pkgremove
+esac
+# End automatically added section
--- /dev/null
+# Automatically added by dh_pycentral
+case "$1" in remove|upgrade)
+ pkgremove=y
+esac
+if [ -f /var/lib/pycentral/pysam.pkgremove ] || [ -f /var/lib/pycentral/pkgremove ]; then
+ pkgremove=y
+fi
+if [ "$pkgremove" = y ]; then
+if which python >/dev/null 2>&1 && which pycentral >/dev/null 2>&1; then
+ pycentral pkgremove pysam
+else
+ flist=$(tempfile)
+ slist=$(tempfile)
+ dpkg -L pysam | tee $flist | \
+ while read n; do
+ case "$n" in
+ /usr/share/pyshared/*)
+ n2=${n#/usr/share/pyshared/*}
+ case "$n" in
+ *.py) echo "p $n";;
+ *) [ -d "$n" ] && echo "d $n2" || echo "f $n2"
+ esac
+ ;;
+ *) continue
+ esac
+ done > $slist
+ if [ -s $slist ]; then
+ for d in /usr/lib/python[0-9].[0-9]/????-packages; do
+ case "$d" in */python2.1/*|*/python2.2/*) continue; esac
+ while read t n; do
+ case "$t" in
+ p) rm -f $d/$n $d/${n}[co];;
+ d) rmdir $d/$n 2>/dev/null || true;;
+ *) rm -f $d/$n
+ esac
+ done < $slist
+ done
+ fi
+ awk '/\/usr\/share\/pyshared/ {next} /\.py$/ {print $0"c\n" $0"o"}' $flist \
+ | xargs -r rm -f >&2
+ rm -f $flist $slist
+fi
+rm -f /var/lib/pycentral/pysam.pkgremove
+fi
+# End automatically added section
--- /dev/null
+python:Versions=2.6
+python:Depends=python (<< 2.7), python (>= 2.6), python-central (>= 0.6.11)
+shlibs:Depends=libc6 (>= 2.7), zlib1g (>= 1:1.2.2)
+misc:Depends=
--- /dev/null
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pycentral
+
+clean::
+ rm -f pysam/csamtools.c pysam/ctabix.c
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+
+
+# Add here any variable or target overrides you need.
+DEB_COMPRESS_EXCLUDE := .py
--- /dev/null
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://code.google.com/p/pysam/downloads/list pysam-(.*)\.tar\.gz
+