From c6d57ad96e0a7e2d6911e645319e04c404c3041e Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 9 Aug 2018 09:24:23 -0400 Subject: Add pysiaf (#153) * add pysiaf recipe (#352) * add pysiaf astroconda setup files * Minor touchups * Use `-` in "test/imports" list * Remove `python-dateutil` provided by `matplotlib` * pysiaf: Add missing build number field (#355) * pysiaf: convert to dev-style --- pysiaf/bld.bat | 1 + pysiaf/build.sh | 1 + pysiaf/meta.yaml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 pysiaf/bld.bat create mode 100644 pysiaf/build.sh create mode 100644 pysiaf/meta.yaml diff --git a/pysiaf/bld.bat b/pysiaf/bld.bat new file mode 100644 index 0000000..39b5e1f --- /dev/null +++ b/pysiaf/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install diff --git a/pysiaf/build.sh b/pysiaf/build.sh new file mode 100644 index 0000000..5a5aeeb --- /dev/null +++ b/pysiaf/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install diff --git a/pysiaf/meta.yaml b/pysiaf/meta.yaml new file mode 100644 index 0000000..3c3f95d --- /dev/null +++ b/pysiaf/meta.yaml @@ -0,0 +1,46 @@ +{% set name = 'pysiaf' %} +{% 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/spacetelescope/{{ name }} + license: BSD + summary: + Handling of Science Instrument Aperture Files (SIAF) for space telescopes + +source: + git_url: https://github.com/spacetelescope/{{ name }}.git + +package: + name: {{ name }} + version: {{ version }} + +build: + number: {{ number }} + +requirements: + build: + - astropy >=1.2 + - numpy >=1.9 + - matplotlib >=1.4.3 + - lxml >=3.6.4 + - scipy >=0.17 + - openpyxl >=2.4 + - python {{ python }} + - setuptools + + run: + - astropy >=1.2 + - numpy >=1.9 + - matplotlib >=1.4.3 + - lxml >=3.6.4 + - scipy >=0.17 + - openpyxl >=2.4 + - python {{ python }} + +test: + imports: + - pysiaf -- cgit