aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-25 10:20:21 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-25 10:20:21 -0400
commitf42be659677675e1d0de32f0b4b121fcf184baca (patch)
treee4f0d0496e9cd4ae0d019c594c9d6fa17fdd5dec
parent7e99bb54098d675212296604a84a03a4c18af9ab (diff)
downloadcbc-recipes-f42be659677675e1d0de32f0b4b121fcf184baca.tar.gz
Initial commit
-rw-r--r--astrolib.coords/astrolib.coords.ini41
-rw-r--r--atlas/atlas-generic.ini56
-rw-r--r--calcos/calcos.ini46
-rw-r--r--ds9/ds9.ini45
-rw-r--r--purge_path/purge_path.ini31
-rw-r--r--sextractor/sextractor.ini39
-rw-r--r--stwcs/stwcs.ini46
7 files changed, 304 insertions, 0 deletions
diff --git a/astrolib.coords/astrolib.coords.ini b/astrolib.coords/astrolib.coords.ini
new file mode 100644
index 0000000..d81edbc
--- /dev/null
+++ b/astrolib.coords/astrolib.coords.ini
@@ -0,0 +1,41 @@
+[package]
+name : astrolib.coords
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : ssh://git@bitbucket.org/stsci_ssb/astrolib.coords.git
+license :
+summary : ${package:name}
+
+[source]
+git_url : ${about:home}/${fn}
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ d2to1
+ stsci.distutils
+ setuptools
+ numpy
+ python
+run :
+ numpy
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+
+ python setup.py install || exit 1
+windows :
+
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/atlas/atlas-generic.ini b/atlas/atlas-generic.ini
new file mode 100644
index 0000000..87377c9
--- /dev/null
+++ b/atlas/atlas-generic.ini
@@ -0,0 +1,56 @@
+[package]
+name : atlas-generic
+version : 3.10.2
+
+[about]
+home : http://sourceforge.net/projects/math-atlas/files/Stable
+license : BSD
+summary : ${package:name}
+
+[source]
+fn : atlas${package:version}.tar.bz2
+url : ${about:home}/${package:version}/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ #
+run :
+ #
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ export LIBTOOL=/usr/bin/libtool
+ export CC=/opt/local/bin/gcc-mp-4.8
+ export F77=/opt/local/bin/gfortran-mp-4.8
+ wget http://www.netlib.org/lapack/lapack-3.5.0.tgz
+
+ mkdir -p build
+ pushd ./build
+ ../configure --prefix=$$PREFIX \
+ --with-netlib-lapack-tarfile=../lapack-3.5.0.tgz \
+ -C acg $$CC \
+ -C if $$F77 \
+ -t 2 \
+ -b 64 \
+ -V 128 \
+ -A 12 \
+ --shared
+
+ make LIBTOOL=$$LIBTOOL
+ make install
+
+ popd
+
+windows :
+ echo Not supported
+ if errorlevel 1 exit 1
+
diff --git a/calcos/calcos.ini b/calcos/calcos.ini
new file mode 100644
index 0000000..18af88d
--- /dev/null
+++ b/calcos/calcos.ini
@@ -0,0 +1,46 @@
+[package]
+name : calcos
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : ssh://git@bitbucket.org/stsci_ssb/calcos.git
+license :
+summary : ${package:name}
+
+[source]
+#fn : ${package:name}-${package:version}.tar.gz
+#url : ${about:home}/${fn}
+git_url : ${about:home}
+#git_tag :
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ d2to1
+ numpy
+ pyfits
+ stsci.distutils
+ setuptools
+ python
+run :
+ numpy
+ pyfits
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ pip install --no-deps --upgrade --force d2to1
+ python setup.py install || exit 1
+windows :
+
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/ds9/ds9.ini b/ds9/ds9.ini
new file mode 100644
index 0000000..449aa04
--- /dev/null
+++ b/ds9/ds9.ini
@@ -0,0 +1,45 @@
+[package]
+name : ds9
+version : 7.3.2
+
+[about]
+home : http://ds9.si.edu/download/source/
+license : GPL,LGPL,BSD
+summary : ${package:name}
+
+[source]
+fn : ${package:name}.${package:version}.tar.gz
+url : ${about:home}/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ gcc >=4.6 [osx]
+ #
+run :
+ #
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ ln -s make.darwinmavericks make.include
+ sed -i -e '/^ZZ/ s/$$/ -arch x86_64/' \
+ -e '/^AA/ s/$$/ -arch x86_64/' make.include
+
+ sed -i -e '/CODESIGN =/c \
+ CODESIGN = echo' make.include
+
+ make LDFLAGS='-arch x86_64 -m64'
+ mkdir -p $$PREFIX/bin
+ cp -a bin/ds9* bin/x* $$PREFIX/bin
+windows :
+ exit 1
+ if errorlevel 1 exit 1
+
diff --git a/purge_path/purge_path.ini b/purge_path/purge_path.ini
new file mode 100644
index 0000000..d70a17a
--- /dev/null
+++ b/purge_path/purge_path.ini
@@ -0,0 +1,31 @@
+[package]
+name: purge_path
+version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home: http://bitbucket.org/jhunkeler/${package:name}
+license: GPL
+summary: ${package:name} a small PATH manipulator
+
+[source]
+git_url: https://bitbucket.org/jhunkeler/${package:name}.git
+
+[build]
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build:
+ python
+ setuptools
+run:
+ python
+
+
+[cbc_build]
+linux:
+ python setup.py install || exit 1
+
+windows:
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/sextractor/sextractor.ini b/sextractor/sextractor.ini
new file mode 100644
index 0000000..30918e3
--- /dev/null
+++ b/sextractor/sextractor.ini
@@ -0,0 +1,39 @@
+[package]
+name : sextractor
+version : 2.19.5
+
+[about]
+home : http://www.astromatic.net/download/${package:name}
+license : GPL
+summary : ${package:name}
+
+[source]
+fn : ${package:name}-${package:version}.tar.gz
+url : ${about:home}/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ #gcc >=4.6 [darwin]
+ fftw
+ pkgconfig
+
+run :
+ fftw
+ #none
+
+[cbc_build]
+linux :
+ ./configure --prefix=$$PREFIX \
+ --with-fftw-libdir=$$PREFIX/lib \
+ --with-fftw-incdir=$$PREFIX/include \
+ --with-atlas-libdir='/usr/local/atlas/lib' \
+ --with-atlas-incdir='/usr/local/atlas/include'
+ make -j $${CPU_COUNT}
+ make install
+windows :
+ echo Unsupported
+
+
diff --git a/stwcs/stwcs.ini b/stwcs/stwcs.ini
new file mode 100644
index 0000000..c0ad552
--- /dev/null
+++ b/stwcs/stwcs.ini
@@ -0,0 +1,46 @@
+[package]
+name : stwcs
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : ssh://git@bitbucket.org/stsci_ssb/stwcs.git
+license :
+summary : ${package:name}
+
+[source]
+#fn : ${package:name}-${package:version}.tar.gz
+#url : ${about:home}/${fn}
+git_url : ${about:home}
+#git_tag :
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ astropy
+ astropy-helpers
+ stsci.distutils
+ stsci.tools
+ setuptools
+ python
+run :
+ astropy
+ stsci.tools
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ pip install --no-deps --upgrade --force d2to1
+ python setup.py install || exit 1
+windows :
+
+ python setup.py install
+ if errorlevel 1 exit 1
+