Skip to content
Commits on Source (4)
......@@ -2,4 +2,4 @@ unicycler (0.4.7+dfsg-1) UNRELEASED; urgency=medium
* Initial release (Closes: #908599)
-- Andreas Tille <tille@debian.org> Thu, 06 Sep 2018 08:32:49 +0200
-- Liubov Chuprikova <chuprikovalv@gmail.com> Tue, 11 Sep 2018 20:27:33 +0200
Source: unicycler
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
Uploaders: Andreas Tille <tille@debian.org>
Uploaders: Andreas Tille <tille@debian.org>,
Liubov Chuprikova <chuprikovalv@gmail.com>
Section: science
Priority: optional
Build-Depends: debhelper (>= 11~),
......@@ -16,7 +17,7 @@ Build-Depends: debhelper (>= 11~),
spades,
libseqan2-dev,
zlib1g-dev
Standards-Version: 4.1.4
Standards-Version: 4.2.1
Vcs-Browser: https://salsa.debian.org/med-team/unicycler
Vcs-Git: https://salsa.debian.org/med-team/unicycler.git
Homepage: https://github.com/rrwick/Unicycler
......
......@@ -4,7 +4,9 @@
# Build time tests are flaky
export DH_BUILD_MAINT_OPTIONS=nocheck
# export DH_BUILD_MAINT_OPTIONS=nocheck
# But rather run the tests and ignore errors than no tests at all.
# Thus we might have a look into build-logs to see what is failing
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
......@@ -32,11 +34,11 @@ override_dh_auto_build:
make
dh_auto_build
override_dh_link:
dh_link
# symlink versioned shared lib to make it found
# FIXME: actually the cpp_functions*.so libs for different Python3 versions are identical!
# This should be checked and normalised
for pyldir in `dirname $$(find debian -name "cpp_functions*.so") | sort` ; do \
ln -s `basename $$(find debian -name "cpp_functions*.so")` $${pyldir}/cpp_functions.so ; \
done
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
BUILDPATH=$(shell pybuild --print build_dir --interpreter python3) ; \
ln -s $(CURDIR)/sample_data $${BUILDPATH} ; \
ln -s $(CURDIR)/unicycler-runner.py $${BUILDPATH} ; \
cp -a unicycler/*.so $${BUILDPATH}/$(PYBUILD_NAME) ; \
PYTHONPATH=$${BUILDPATH}/$(PYBUILD_NAME) dh_auto_test || true
endif