diff options
author | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-04 15:21:51 -0500 |
---|---|---|
committer | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-04 15:21:51 -0500 |
commit | 44f6af70320eb2b31258ecf6dd08741a3f43d194 (patch) | |
tree | 692ca2a7de617b95ca7bcbc6b360bddc39f66152 | |
parent | c8702ddc390c07f7aa1cc57d45cbff1b630caaa4 (diff) | |
download | cbc-recipes-44f6af70320eb2b31258ecf6dd08741a3f43d194.tar.gz |
Add shunit2; include with pandokia
-rw-r--r-- | pandokia/pandokia.ini | 6 | ||||
-rw-r--r-- | shunit2/shunit2.ini | 38 |
2 files changed, 44 insertions, 0 deletions
diff --git a/pandokia/pandokia.ini b/pandokia/pandokia.ini index 6d90e45..2969848 100644 --- a/pandokia/pandokia.ini +++ b/pandokia/pandokia.ini @@ -18,17 +18,23 @@ number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} [requirements] build : + nose + pytest + shunit2 setuptools python run : nose + shunit2 pytest python [test] imports : pandokia + pandokia.runners + pandokia.helpers commands : pdk --help diff --git a/shunit2/shunit2.ini b/shunit2/shunit2.ini new file mode 100644 index 0000000..dc244ee --- /dev/null +++ b/shunit2/shunit2.ini @@ -0,0 +1,38 @@ +[package] +name : shunit2 +version : 2.0.3 + +[about] +home : http://sourceforge.net/projects/${package:name} +license : LGPL +summary : ${package:name} + +[source] +fn : ${package:name}-${package:version}.tgz +url : https://downloads.sourceforge.net/${package:name}/${fn} + +[build] +number : 0 + +[requirements] +build : + #none +run : + #none + +[test] +commands : + shunit2 --help + + +[cbc_build] +linux : + mkdir -p $$PREFIX/bin \ + $$PREFIX/share/doc/${package:name} + chmod +x src/shell/shunit2 + cp -a src/shell/shunit2 $$PREFIX/bin + cp doc/* $$PREFIX/share/doc/${package:name} + +windows : + echo Nope. + exit 1 |