[med-svn] [Git][med-team/cwltool][master] Fix FTBFS. (Closes: #891752)

Michael R. Crusoe gitlab at salsa.debian.org
Thu Mar 1 14:37:32 UTC 2018


Michael R. Crusoe pushed to branch master at Debian Med / cwltool


Commits:
9c1bd76a by Michael R. Crusoe at 2018-03-01T06:34:02-08:00
Fix FTBFS. (Closes: #891752)

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+cwltool (1.0.20180225105849-2) unstable; urgency=medium
+
+  * Fix FTBFS. (Closes: #891752)
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Thu, 01 Mar 2018 06:33:51 -0800
+
 cwltool (1.0.20180225105849-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,6 @@
 DH_VERBOSE := 1
 
 export PYBUILD_NAME=cwltool
-export PYBUILD_BEFORE_TEST={interpreter} {dir}/setup.py develop
-export PYBUILD_TEST_ARGS=-k 'not test_http_path_mapping and not test_pack' --ignore cwltool/schemas/ --pyarg cwltool
 export HOME=$(shell echo $$PWD"/fakehome")
 
 %:
@@ -17,3 +15,12 @@ debian/cwltool.1: debian/rules debian/cwltool.help2man
 
 override_dh_installman: debian/cwltool.1
 	dh_installman
+
+override_dh_auto_test:
+	dh_auto_install
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd {dir}; export PATH={destdir}/usr/bin:$$PATH ; \
+	cd {build_dir}; export PYTHONPATH=$$(pwd); {interpreter} -m pytest \
+		-k 'not test_http_path_mapping and not test_pack' \
+		--ignore cwltool/schemas/ --pyarg cwltool" dh_auto_test
+



View it on GitLab: https://salsa.debian.org/med-team/cwltool/commit/9c1bd76a8598898dea22f2f81d3b51860ad17148

---
View it on GitLab: https://salsa.debian.org/med-team/cwltool/commit/9c1bd76a8598898dea22f2f81d3b51860ad17148
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-commit/attachments/20180301/11d8c780/attachment-0001.html>


More information about the debian-med-commit mailing list