diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2015-11-18 09:29:05 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2015-11-18 09:29:05 -0500 |
commit | 667020371bcb20c34a2934196c245caef2e26fa0 (patch) | |
tree | 494b9fb367b6862b3a7cdd4d0216d71438afd012 | |
parent | b36f594450a401300d9f83ea365009cd146ae24f (diff) | |
download | cbc-recipes-667020371bcb20c34a2934196c245caef2e26fa0.tar.gz |
Initial commit
-rw-r--r-- | crds/crds.ini | 45 | ||||
-rw-r--r-- | gcc-4.6/gcc-4.6.ini | 59 | ||||
-rw-r--r-- | pyregion/pyregion.ini | 41 |
3 files changed, 145 insertions, 0 deletions
diff --git a/crds/crds.ini b/crds/crds.ini new file mode 100644 index 0000000..b1f6032 --- /dev/null +++ b/crds/crds.ini @@ -0,0 +1,45 @@ +[package] +name: crds +version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git + +[about] +home: http://www.stsci.edu/hst/observatory/crds/ +license: AURA +summary: ${package:name} + +[source] +git_url: ssh://git@bitbucket.org/stsci_ssb/${package:name}.git + +[build] +number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} +preserve_egg_dir: no + +[requirements] +build: + d2to1 + astropy + numpy + setuptools + python +run: + astropy + numpy + python + +[test] +imports: + +commands: + + +[cbc_build] +linux: + + pip install --no-deps --upgrade --force d2to1 || exit 1 + python setup.py install || exit 1 + +windows: + + python setup.py install + if errorlevel 1 exit 1 + diff --git a/gcc-4.6/gcc-4.6.ini b/gcc-4.6/gcc-4.6.ini new file mode 100644 index 0000000..c3f62ad --- /dev/null +++ b/gcc-4.6/gcc-4.6.ini @@ -0,0 +1,59 @@ +[package] +name : gcc +version : 4.6.4 + +[about] +home : http://www.netgull.com/gcc/releases/${package:name}-${package:version} +license : +summary : ${package:name} + +[source] +fn : ${package:name}-${package:version}.tar.gz +url : ${about:home}/${fn} + +[build] +number : 0 + +[requirements] +build : + gmp >=4.3.2 + mpfr >=2.4.2 + mpc >=0.8.1 + ppl >=0.11,<1 +run : + gmp >=4.2 + mpfr >=2.3.1 + mpc >=0.8.1 + ppl >=0.11,<1 + +#build : +# gmp >=4.2 +# mpfr >=2.3.1 +# mpc >=0.8.0 +# ppl >=0.11,<1 +#run : +# gmp >=4.2 +# mpfr >=2.3.1 +# mpc >=0.8.0 +# ppl >=0.11,<1 + +[test] +imports : + +commands : + + +[cbc_build] +linux : + ./configure \ + --prefix=$$PREFIX \ + --with-gmp=$$PREFIX \ + --with-mpfr=$$PREFIX \ + --with-mpc=$$PREFIX \ + --with-ppl=$$PREFIX + + make -j"$$CPU_COUNT" + make install + +windows : + echo "Not supported." diff --git a/pyregion/pyregion.ini b/pyregion/pyregion.ini new file mode 100644 index 0000000..e6f4f72 --- /dev/null +++ b/pyregion/pyregion.ini @@ -0,0 +1,41 @@ +[package] +name: pyregion +version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git + +[about] +home: http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python +license: BSD +summary: ${package:name} + +[source] +git_url: ssh://git@bitbucket.org/stsci_ssb/${package:name} + +[build] +number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} + +[requirements] +build: + d2to1 + numpy + pyparsing + python + setuptools +run: + numpy + pyparsing + setuptools + python + +[cbc_build] +linux: + echo This d2to1 hack is deadly. + pip install --no-deps --upgrade --force d2to1 || exit 1 + python setup.py install || exit 1 + +windows: + echo This d2to1 hack is deadly. + pip install --no-deps --upgrade --force d2to1 + if errorlevel 1 exit 1 + + python setup.py install || exit 1 + if errorlevel 1 exit 1 |