diff options
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/test.ini | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/data/test.ini b/tests/data/test.ini new file mode 100644 index 0000000..bf8d904 --- /dev/null +++ b/tests/data/test.ini @@ -0,0 +1,53 @@ +[cgi] +local_server: true +local_port: 8888 +local_sources: /srv/conda/sources +protocol: http +url: ${cgi:protocol}://localhost:${cgi:local_port} + +[package] +name: test +version: 1.0.0 +release: 1 + +[about] +home: http://example.com/${package:name} +license: GPL +summary: ${package:name} is a test package +readme: README.md + +[source] +fn: ${package:name}-${package:version}.tar.gz +url: ${cgi:url}/${fn} + +[build] +number: 1 + + +[build_ext] +prefix: /usr/local +win_prefix: c:\anaconda3\ + + +linux: + #find . -type f -name "*.py" -exec "sed -i 's|beep|bloop|g'" {} \; + for x in *.py + do + echo "$$x" + done + (./configure --prefix=${prefix} ; \ + make ; \ + make install ) + +darwin: + find . -type f -name "*.py" -exec "sed -i 's|blat|splat|g'" {} \; + ./configure --prefix=${prefix} + make + make install + +windows: + rem oh no, windows! + echo "ow it hurts" + nmake /D_PREFIX=${win_prefix} + + |