Last-Update: 2015-06-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- python-pysam.orig/htslib/cram/cram_index.c
-+++ python-pysam/htslib/cram/cram_index.c
-@@ -315,7 +315,7 @@
-
- /*
- * Searches the index for the first slice overlapping a reference ID
-- * and position, or one immediately preceeding it if none is found in
-+ * and position, or one immediately preceding it if none is found in
- * the index to overlap this position. (Our index may have missing
- * entries, but we require at least one per reference.)
- *
--- python-pysam.orig/pysam/calignmentfile.pyx
+++ python-pysam/pysam/calignmentfile.pyx
@@ -1442,7 +1442,7 @@
--- /dev/null
+Description: Allow setup.py to cope with missing htslib copy
+ The build system expects the convenience copy to be present.
+ This change allows the build to work without it. After all,
+ we're linking with the Debian htslib package.
+Author: Afif Elghraoui
+Last-Update: 2015-06-24
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- python-pysam.orig/setup.py
++++ python-pysam/setup.py
+@@ -476,8 +476,6 @@
+ 'url': "https://github.com/pysam-developers/pysam",
+ 'packages': ['pysam',
+ 'pysam.include',
+- 'pysam.include.htslib',
+- 'pysam.include.htslib.htslib',
+ 'pysam.include.samtools',
+ # 'pysam.include.samtools.bcftools',
+ 'pysam.include.samtools.win32'],
+@@ -493,7 +493,6 @@
+ faidx],
+ 'cmdclass': cmdclass,
+ 'package_dir': {'pysam': 'pysam',
+- 'pysam.include.htslib': 'htslib',
+ 'pysam.include.samtools': 'samtools'},
+ 'package_data': {'': ['*.pxd', '*.h'], },
+ # do not pack in order to permit linking to csamtools.so