From f7ef1e659e0a2107f738f1ee8dfac04648ae3b6f Mon Sep 17 00:00:00 2001 From: Megan Sosey Date: Fri, 19 Feb 2021 17:59:48 -0500 Subject: add hstaxe to package list (#685) * add hstaxe to package list * Update build requirements * update release to 1.0.0 Co-authored-by: Joseph Hunkeler --- hstaxe/bld.bat | 1 + hstaxe/build.sh | 3 +++ hstaxe/meta.yaml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 hstaxe/bld.bat create mode 100644 hstaxe/build.sh create mode 100644 hstaxe/meta.yaml diff --git a/hstaxe/bld.bat b/hstaxe/bld.bat new file mode 100644 index 0000000..6d5f099 --- /dev/null +++ b/hstaxe/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install --single-version-externally-managed --record=root.txt diff --git a/hstaxe/build.sh b/hstaxe/build.sh new file mode 100644 index 0000000..8bc9f95 --- /dev/null +++ b/hstaxe/build.sh @@ -0,0 +1,3 @@ +set -x +export PKG_CONFIG_PATH="$CONDA_PREFIX/lib/pkgconfig" +$PYTHON setup.py install --single-version-externally-managed --record=root.txt diff --git a/hstaxe/meta.yaml b/hstaxe/meta.yaml new file mode 100644 index 0000000..adf42a4 --- /dev/null +++ b/hstaxe/meta.yaml @@ -0,0 +1,50 @@ +{% set name = 'hstaxe' %} +{% set version = '1.0.0' %} +{% set number = '0' %} + +about: + home: https://github.com/spacetelescope/{{ name }} + license: BSD + summary: | + Spectral extraction tools for Hubble Space Telescope Grisms + Based on the original aXe package. + +build: + number: {{ number }} + +package: + name: {{ name }} + version: {{ version }} + +requirements: + build: + - setuptools + - setuptools_scm + - autoconf + - automake + - libtool + - pkg-config + - make + - numpy {{ numpy }} + - cfitsio + - gsl + - wcstools + - python {{ python }} + run: + - numpy + - astropy + - cfitsio + - gsl + - stwcs + - stsci.imagestats + - drizzlepac + - drizzle + - wcstools + +source: + git_tag: {{ version }} + git_url: https://github.com/spacetelescope/{{ name }}.git + +test: + imports: + - hstaxe -- cgit