From 5bfb107c3800d95137d5c8117d897d4d1ff0bf72 Mon Sep 17 00:00:00 2001 From: Marshall Perrin Date: Tue, 22 May 2018 12:44:45 -0400 Subject: add pysiaf recipe (#352) * add pysiaf astroconda setup files * Minor touchups * Use `-` in "test/imports" list * Remove `python-dateutil` provided by `matplotlib` --- pysiaf/bld.bat | 2 ++ pysiaf/build.sh | 2 ++ pysiaf/meta.yaml | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 pysiaf/bld.bat create mode 100644 pysiaf/build.sh create mode 100644 pysiaf/meta.yaml (limited to 'pysiaf') diff --git a/pysiaf/bld.bat b/pysiaf/bld.bat new file mode 100644 index 0000000..760380e --- /dev/null +++ b/pysiaf/bld.bat @@ -0,0 +1,2 @@ + +%PYTHON% setup.py install diff --git a/pysiaf/build.sh b/pysiaf/build.sh new file mode 100644 index 0000000..56f0b30 --- /dev/null +++ b/pysiaf/build.sh @@ -0,0 +1,2 @@ + +$PYTHON setup.py install \ No newline at end of file diff --git a/pysiaf/meta.yaml b/pysiaf/meta.yaml new file mode 100644 index 0000000..b3e9e1d --- /dev/null +++ b/pysiaf/meta.yaml @@ -0,0 +1,42 @@ +{% set name = 'pysiaf' %} +{% set version = '0.1.8' %} +{% set tag = version %} +{% 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_tag: {{ tag }} + git_url: https://github.com/spacetelescope/{{ name }}.git + +package: + name: {{ name }} + version: {{ version }} + +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 From 13c9642345c67b6133394f559c2e0f3201aa59e1 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 31 May 2018 09:47:40 -0400 Subject: pysiaf: Add missing build number field (#355) --- pysiaf/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pysiaf') diff --git a/pysiaf/meta.yaml b/pysiaf/meta.yaml index b3e9e1d..588d833 100644 --- a/pysiaf/meta.yaml +++ b/pysiaf/meta.yaml @@ -17,6 +17,9 @@ package: name: {{ name }} version: {{ version }} +build: + number: {{ number }} + requirements: build: - astropy >=1.2 -- cgit