aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-08-05 22:00:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-08-05 22:00:37 -0400
commit6fd1cc9c3129cd5c2da620626e2b2574654b83b6 (patch)
tree4481e9945809b06ec0c312e747ce38995c76ba11
parent28e63eaa07a389bcae50e851b219512860a166fe (diff)
downloadcbc-recipes-6fd1cc9c3129cd5c2da620626e2b2574654b83b6.tar.gz
Add fftw, pyfftw, pywcs, reftools, stistools
-rw-r--r--fftw/fftw.ini43
-rw-r--r--pyfftw/pyfftw.ini35
-rw-r--r--pywcs/pywcs.ini45
-rw-r--r--reftools/reftools.ini45
-rw-r--r--stistools/stistools.ini45
5 files changed, 213 insertions, 0 deletions
diff --git a/fftw/fftw.ini b/fftw/fftw.ini
new file mode 100644
index 0000000..c8ab085
--- /dev/null
+++ b/fftw/fftw.ini
@@ -0,0 +1,43 @@
+[package]
+name : fftw
+version : 3.3.4
+
+[about]
+home : http://www.fftw.org
+license : GPL
+summary : ${package:name}
+
+[source]
+fn : ${package:name}-${package:version}.tar.gz
+url : ${about:home}/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ #none
+run :
+ #none
+
+[cbc_build]
+linux :
+ export modes="--enable-single --enable-long-double --enable-quad-precision"
+ export FFTW_CONFIGURE="./configure --prefix=$$PREFIX --disable-static --enable-shared --enable-threads "
+
+ function fftw_build
+ {
+ $$FFTW_CONFIGURE "$$@" || exit 1
+ make -j$$CPU_COUNT || exit 1
+ make install || exit 1
+ }
+
+ # build once, without options
+ fftw_build
+
+ for mode in $$modes; do fftw_build $$mode; done
+
+windows :
+ echo Unsupported
+
+
diff --git a/pyfftw/pyfftw.ini b/pyfftw/pyfftw.ini
new file mode 100644
index 0000000..0f0c4b5
--- /dev/null
+++ b/pyfftw/pyfftw.ini
@@ -0,0 +1,35 @@
+[package]
+name : pyfftw
+version : 0.9.2
+
+[about]
+home : http://hgomersall.github.com/pyFFTW
+license : GPL
+summary : ${package:name}
+
+[source]
+# Name differs from the tarball... figures
+fn : pyFFTW-${package:version}.tar.gz
+url : https://pypi.python.org/packages/source/p/pyFFTW/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ numpy
+ fftw
+ setuptools
+ python
+run :
+ numpy
+ fftw
+ python
+
+[cbc_build]
+linux :
+ python setup.py install || exit 1
+windows :
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/pywcs/pywcs.ini b/pywcs/pywcs.ini
new file mode 100644
index 0000000..6f43add
--- /dev/null
+++ b/pywcs/pywcs.ini
@@ -0,0 +1,45 @@
+[package]
+name: pywcs
+version: 1.12
+
+[about]
+home: http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python
+license: BSD
+summary: ${package:name}
+
+[source]
+fn: ${package:name}-${package:version}.tar.gz
+url: https://pypi.python.org/packages/source/p/${package:name}/${fn}
+md5: 5ed527a601ca1eba62c6be64b3dab620
+
+[build]
+number: 0
+
+[requirements]
+build:
+ d2to1
+ stsci.distutils
+ stsci.tools
+ numpy
+ setuptools
+ python
+run:
+ d2to1
+ stsci.distutils
+ stsci.tools
+ numpy
+ 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
diff --git a/reftools/reftools.ini b/reftools/reftools.ini
new file mode 100644
index 0000000..6245c19
--- /dev/null
+++ b/reftools/reftools.ini
@@ -0,0 +1,45 @@
+[package]
+name: reftools
+version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.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}.git
+
+[build]
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build:
+ d2to1
+ stsci.distutils
+ stsci.tools
+ pywcs
+ numpy
+ setuptools
+ python
+run:
+ d2to1
+ stsci.distutils
+ stsci.tools
+ pywcs
+ numpy
+ 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
diff --git a/stistools/stistools.ini b/stistools/stistools.ini
new file mode 100644
index 0000000..32b40b4
--- /dev/null
+++ b/stistools/stistools.ini
@@ -0,0 +1,45 @@
+[package]
+name: stistools
+version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.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}.git
+
+[build]
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build:
+ d2to1
+ astropy
+ stsci.distutils
+ stsci.tools
+ stsci.convolve
+ setuptools
+ python
+run:
+ d2to1
+ astropy
+ stsci.distutils
+ stsci.tools
+ stsci.convolve
+ 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