Add some symlinks to run autopkgtests correctly
authorAndreas Tille <tille@debian.org>
Sat, 29 Jul 2017 07:01:29 +0000 (09:01 +0200)
committerAndreas Tille <tille@debian.org>
Sat, 29 Jul 2017 07:01:29 +0000 (09:01 +0200)
debian/control
debian/python-pysam.links [new file with mode: 0644]

index 32a6dbc6b60dbee64d05885194670524023063a7..b114f3964e46a64481a4a167037963e4ae03287c 100644 (file)
@@ -8,6 +8,7 @@ Section: python
 Priority: optional
 Build-Depends:
        debhelper (>= 10),
+       dh-exec,
        dh-python,
        libhts-dev (>= 1.4.1),
        zlib1g-dev,
diff --git a/debian/python-pysam.links b/debian/python-pysam.links
new file mode 100644 (file)
index 0000000..538d683
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+/usr/lib/python2.7/dist-packages/pysam/libcsamtools.${DEB_HOST_GNU_TYPE}.so /usr/lib/python2.7/dist-packages/pysam/libcsamtools.so
+/usr/lib/python2.7/dist-packages/pysam/libcbcftools.${DEB_HOST_GNU_TYPE}.so /usr/lib/python2.7/dist-packages/pysam/libcbcftools.so