summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegan Sosey <sosey@stsci.edu>2021-02-19 17:59:48 -0500
committerGitHub <noreply@github.com>2021-02-19 17:59:48 -0500
commitf7ef1e659e0a2107f738f1ee8dfac04648ae3b6f (patch)
treefca95cde8d89dda8ebd7079215e16d755b6f940f
parent87d8dc3f55b16c143e68183a721c44ad6c6267ad (diff)
downloadastroconda-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.bat1
-rw-r--r--hstaxe/build.sh3
-rw-r--r--hstaxe/meta.yaml50
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