Skip to content
Commits on Source (3)
cwltool (1.0.20181217162649+dfsg-9) unstable; urgency=medium
* Switch to python3-mypy-extensions
* AutoPkgTest: Skip udocker tests if running as root
* Build profiles: nodoc support, more nocheck support
-- Michael R. Crusoe <michael.crusoe@gmail.com> Sat, 19 Jan 2019 04:35:36 -0800
cwltool (1.0.20181217162649+dfsg-8) unstable; urgency=medium
* debian/tests/control: udocker test needs python2
......
......@@ -9,19 +9,19 @@ Build-Depends: debhelper (>= 10),
python3-all,
python3-setuptools,
python3-rdflib,
python3-rdflib-jsonld,
python3-rdflib-jsonld <!nocheck>,
python3-schema-salad (>= 3),
python3-shellescape,
python3-html5lib,
python3-sparqlwrapper,
python3-keepalive,
python3-ruamel.yaml,
python3-pytest,
python3-pytest-xdist,
python3-pytest-runner,
python3-pytest-mock,
python3-mock,
python3-mypy,
python3-pytest <!nocheck>,
python3-pytest-xdist <!nocheck>,
python3-pytest-runner <!nocheck>,
python3-pytest-mock <!nocheck>,
python3-mock <!nocheck>,
python3-mypy-extensions,
python3-psutil,
python3-prov,
nodejs,
......
......@@ -15,8 +15,12 @@ debian/cwltool.1: debian/rules debian/cwltool.help2man
-o debian/cwltool.1 'python3 -m cwltool'
sed -i 's/__main__.py/cwltool/g' debian/cwltool.1
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
override_dh_installman: debian/cwltool.1
dh_installman
else
override_dh_installman:
endif
override_dh_auto_install:
dh_auto_install
......@@ -24,7 +28,7 @@ override_dh_auto_install:
find debian -name '*.json' -exec chmod a-x {} \;
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
dh_auto_install
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="cd {dir}; export PATH={destdir}/usr/bin:$$PATH ; \
......
......@@ -5,5 +5,11 @@ if [ "$ADTTMP" = "" ] ; then
ADTTMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi
cd "$ADTTMP"
SKIPS=
if [ "$(id -u)" -eq 0 ]; then
SKIPS="-k not TestUdocker"
fi
py.test-3 --numprocesses=auto --dist=loadfile --ignore cwltool/schemas \
--pyarg cwltool
"${SKIPS}" --pyarg cwltool