[med-svn] [Git][med-team/unicycler][master] 2 commits: Fix some installation issues
Andreas Tille
gitlab at salsa.debian.org
Tue Jul 17 13:25:34 BST 2018
Andreas Tille pushed to branch master at Debian Med / unicycler
Commits:
b47226ad by Andreas Tille at 2018-07-17T14:21:47+02:00
Fix some installation issues
- - - - -
bbc12f16 by Andreas Tille at 2018-07-17T14:22:37+02:00
Allow pilon-non-free as alternative
- - - - -
2 changed files:
- debian/control
- debian/rules
Changes:
=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 11~),
bowtie2,
freebayes,
ncbi-blast+,
- pilon,
+ pilon | pilon-non-free,
racon,
samtools,
spades,
=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -17,11 +17,14 @@ override_dh_auto_clean:
find . -name "*.o" -delete
find . -name "*.so" -delete
find . -name __pycache__ -type d | xargs rm -rf
+ rm -rf .pybuild unicycler.egg-info
override_dh_auto_build:
dh_auto_build
# building the dynamic library requires extra make call
make
+ # for some reason it also needs to be manually moved
+ cp -a unicycler/cpp_functions.so `dirname $$(find .pybuild -name cpp_wrappers.py)`
override_dh_auto_test:
BUILDPATH=$(shell pybuild --print build_dir --interpreter python3) ; \
@@ -29,3 +32,8 @@ override_dh_auto_test:
ln -s $(CURDIR)/unicycler-runner.py $${BUILDPATH} ; \
cp -a unicycler/*.so $${BUILDPATH}/$(PYBUILD_NAME) ; \
PYTHONPATH=$${BUILDPATH}/$(PYBUILD_NAME) dh_auto_test || true
+
+override_dh_link:
+ dh_link
+ # symlink versioned shared lib to make it found
+ ln -s `basename $$(find debian -name "cpp_functions*.so")` `dirname $$(find debian -name "cpp_functions*.so")`/cpp_functions.so
View it on GitLab: https://salsa.debian.org/med-team/unicycler/compare/0e522bb899e93d02ca18c753d5cdfcd0134a00f3...bbc12f16fa57fb43a8eb809517cfb36ba4e041b9
--
View it on GitLab: https://salsa.debian.org/med-team/unicycler/compare/0e522bb899e93d02ca18c753d5cdfcd0134a00f3...bbc12f16fa57fb43a8eb809517cfb36ba4e041b9
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180717/76c81bcd/attachment-0001.html>
More information about the debian-med-commit
mailing list