diff options
author | Dan D'Avella <ddavella@stsci.edu> | 2018-02-01 10:20:10 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2018-02-01 10:20:10 -0500 |
commit | b636af5c833b0994a36d5b84c3178c16b844221b (patch) | |
tree | 04ac5edb6912b0a22557212512fe82edab6b8c04 | |
parent | 77769ae6a8fdd9d1d9a2b5c07e73ab9bbab91f3b (diff) | |
download | astroconda-dev-b636af5c833b0994a36d5b84c3178c16b844221b.tar.gz |
Create new recipe for spectral-cube (#99)
* Create new recipe for spectral-cube (dependency of cubeviz)
* Reset build revision; Normalize dependencies
-rw-r--r-- | spectral-cube/bld.bat | 2 | ||||
-rw-r--r-- | spectral-cube/build.sh | 2 | ||||
-rw-r--r-- | spectral-cube/meta.yaml | 40 |
3 files changed, 44 insertions, 0 deletions
diff --git a/spectral-cube/bld.bat b/spectral-cube/bld.bat new file mode 100644 index 0000000..760380e --- /dev/null +++ b/spectral-cube/bld.bat @@ -0,0 +1,2 @@ + +%PYTHON% setup.py install diff --git a/spectral-cube/build.sh b/spectral-cube/build.sh new file mode 100644 index 0000000..6bd6081 --- /dev/null +++ b/spectral-cube/build.sh @@ -0,0 +1,2 @@ + +$PYTHON setup.py install diff --git a/spectral-cube/meta.yaml b/spectral-cube/meta.yaml new file mode 100644 index 0000000..0f69bcf --- /dev/null +++ b/spectral-cube/meta.yaml @@ -0,0 +1,40 @@ +{% set name = 'spectral-cube' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '0' %} + +about: + home: https://github.com/radio-astro-tools/{{ name }} + license: BSD + summary: Library for reading and analyzing astrophysical spectral data cubes + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +requirements: + build: + - astropy + - numpy {{ numpy }} + - radio-beam + - setuptools + - python {{ python }} + + run: + - astropy + - numpy + - radio-beam + - setuptools + - python + +source: + git_url: https://github.com/radio-astro-tools/{{ name }}.git + +test: + imports: + - spectral_cube |