From b636af5c833b0994a36d5b84c3178c16b844221b Mon Sep 17 00:00:00 2001 From: Dan D'Avella Date: Thu, 1 Feb 2018 10:20:10 -0500 Subject: Create new recipe for spectral-cube (#99) * Create new recipe for spectral-cube (dependency of cubeviz) * Reset build revision; Normalize dependencies --- spectral-cube/bld.bat | 2 ++ spectral-cube/build.sh | 2 ++ spectral-cube/meta.yaml | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) create mode 100644 spectral-cube/bld.bat create mode 100644 spectral-cube/build.sh create mode 100644 spectral-cube/meta.yaml 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 -- cgit