diff options
author | Megan Sosey <sosey@stsci.edu> | 2021-02-19 17:59:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 17:59:48 -0500 |
commit | f7ef1e659e0a2107f738f1ee8dfac04648ae3b6f (patch) | |
tree | fca95cde8d89dda8ebd7079215e16d755b6f940f | |
parent | 87d8dc3f55b16c143e68183a721c44ad6c6267ad (diff) | |
download | astroconda-contrib-f7ef1e659e0a2107f738f1ee8dfac04648ae3b6f.tar.gz |
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 <jhunkeler@gmail.com>
-rw-r--r-- | hstaxe/bld.bat | 1 | ||||
-rw-r--r-- | hstaxe/build.sh | 3 | ||||
-rw-r--r-- | hstaxe/meta.yaml | 50 |
3 files changed, 54 insertions, 0 deletions
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 |