Commit 6ccd9b79 authored by Andreas Tille's avatar Andreas Tille
Browse files

Try to enable swig Python bindings ... but failed

parent 1c4e51a6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4,8 +4,10 @@ jellyfish (2.2.10-1) UNRELEASED; urgency=medium
  * Point Vcs fields to salsa.debian.org
  * Standards-Version: 4.1.4
  * Adapt watch file to also catch v$VERSION tarball names
  * Try to enable swig Python bindings
  TODO: ... but failed

 -- Andreas Tille <tille@debian.org>  Thu, 26 Apr 2018 15:51:15 +0200
 -- Andreas Tille <tille@debian.org>  Thu, 26 Apr 2018 21:19:48 +0200

jellyfish (2.2.8-3) unstable; urgency=medium

+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ Build-Depends: debhelper (>= 11~),
               valgrind,
               swig,
               python3-all-dev,
               python-all-dev,
               dh-python,
               perl,
               chrpath
+3 −2
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ override_dh_install:
	chrpath --delete debian/*/usr/lib/python*/dist-packages/_dna_jellyfish*.so
	
	dh_auto_configure --sourcedirectory=swig/perl5
	dh_auto_configure --sourcedirectory=swig/python
	dh_auto_build --sourcedirectory=swig/perl5
	dh_auto_install --sourcedirectory=swig/perl5
	chrpath --delete debian/tmp/usr/lib/*/perl5/*/auto/jellyfish/jellyfish.so
@@ -41,7 +42,7 @@ override_dh_install:
			debian/tmp/usr/lib/*/lib$(DEB_SOURCE)-*.so

override_dh_auto_configure:
	dh_auto_configure -- --enable-swig --enable-perl-binding
	dh_auto_configure -- --enable-swig --enable-perl-binding --enable-python-binding

override_dh_clean:
	dh_clean
@@ -50,7 +51,7 @@ override_dh_clean:
	    rmdir debian/tmp_save_tests ; \
	fi
	rm -f tests/compat.sh
	rm -f swig/python/jellyfish* swig/python/dna_jellyfish.py
	rm -f swig/python/jellyfish* # swig/python/dna_jellyfish.py

override_dh_auto_build:
	mkdir -p debian/tmp_save_tests