From 286c9d0cd069759d090007da647e78afdb937596 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 5 Jan 2018 15:01:53 -0500 Subject: [WIP] Next (#75) * Purge x.x style selectors * Add python jinja2 selectors * Add numpy jinja2 selectors * Add basic build matrix configuration * Delete iraf package; see astroconda/astroconda-iraf * Bump all build revisions * Remove drizzlepac and nose dependencies * Fixup dependencies * Strip newlines in version declaration * Implements new package versioning scheme * Revert sandboxing * Purge old or unnecessary packages * Clean up meta-packages * Use fake version * Minor clean up * Add missing md5 hashes * Python is not a dependency of XPA * Remove GIT_ usage in non-git recipe * Initial commit of asteval * cubeviz: sed patching glue/numpy/pytest * Add missing curly braces * Remove references to pywcs * Add mosviz * Fix up specutils * Forcefully strip all "v" version prefixes. Please stop using them. * Fix ginga * Use PYTHON * Remove d2to1 dep * Remove d2to1 dep * Remove d2to1 dep * Remove d2to1 dep * Remove deprecated JWST pipeline packages * Simplify python builds * Simplify python builds (windows) * Remove d2to1 dep * Remove d2to1 dep * Stop using 2to3 * Remove ATLAS * Move sextractor to mainline * Sextractor Intel MKL integration patches (i.e NO ATLAS) --- mosviz/bld.bat | 1 + mosviz/build.sh | 5 +++++ mosviz/meta.yaml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 mosviz/bld.bat create mode 100644 mosviz/build.sh create mode 100644 mosviz/meta.yaml (limited to 'mosviz') diff --git a/mosviz/bld.bat b/mosviz/bld.bat new file mode 100644 index 0000000..39b5e1f --- /dev/null +++ b/mosviz/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install diff --git a/mosviz/build.sh b/mosviz/build.sh new file mode 100644 index 0000000..2291246 --- /dev/null +++ b/mosviz/build.sh @@ -0,0 +1,5 @@ +# Remove reference to glueviz from setup script, since this breaks the build +# as there is no file containing 'glueviz' produced for that package since +# glueviz has become a metapackage. +sed -i -e "/'glueviz.*',$/d" setup.py +$PYTHON setup.py install diff --git a/mosviz/meta.yaml b/mosviz/meta.yaml new file mode 100644 index 0000000..5deea70 --- /dev/null +++ b/mosviz/meta.yaml @@ -0,0 +1,47 @@ +{% set name = 'mosviz' %} +{% 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/mosviz + license: BSD + summary: | + Quick-look analysis and visualization tool for multi-object spectroscopy + +package: + name: {{ name }} + version: {{ version }} + +build: + number: {{ number }} + +source: + git_url: https://github.com/spacetelescope/mosviz.git + +requirements: + build: + - astropy + - specutils + - glueviz + - matplotlib + - numpy {{ numpy }} + - python {{ python }} + + run: + - astropy + - specutils + - glueviz + - matplotlib + - numpy + - python + +test: + requires: + - astropy + - specutils + imports: + - mosviz + -- cgit