10647: Get necessary version of cwltool from sdk/cwl/setup.py instead of
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 30 Nov 2016 19:40:53 +0000 (14:40 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 30 Nov 2016 19:40:53 +0000 (14:40 -0500)
listing it in two places.

build/run-build-packages.sh

index 7da70e7e7890aec55093c1310895d59010e272cc..749e94f1ff84af79ea77bf4d2b775d613b68d62e 100755 (executable)
@@ -485,7 +485,8 @@ fpm_build ruamel.yaml "" "" python 0.12.4 --python-setup-py-arguments "--single-
 fpm_build cwltest "" "" python 1.0.20160907111242
 
 # And for cwltool we have the same problem as for schema_salad. Ward, 2016-03-17
-fpm_build cwltool "" "" python 1.0.20161128202906
+cwltoolversion=$(cat "$WORKSPACE/sdk/cwl/setup.py" | grep cwltool== | sed "s/.*==\(1\.0\..*\)'.*/\1/")
+fpm_build cwltool "" "" python $cwltoolversion
 
 # FPM eats the trailing .0 in the python-rdflib-jsonld package when built with 'rdflib-jsonld>=0.3.0'. Force the version. Ward, 2016-03-25
 fpm_build rdflib-jsonld "" "" python 0.3.0