diff options
| -rw-r--r-- | asteval/meta.yaml | 60 | ||||
| -rw-r--r-- | cubeviz/bld.bat | 2 | ||||
| -rw-r--r-- | cubeviz/build.sh | 12 | ||||
| -rw-r--r-- | cubeviz/meta.yaml | 43 | ||||
| -rw-r--r-- | mosviz/meta.yaml | 2 | ||||
| -rw-r--r-- | pysynphot/meta.yaml | 2 | ||||
| -rw-r--r-- | stsci-data-analysis/meta.yaml | 40 | 
7 files changed, 136 insertions, 25 deletions
diff --git a/asteval/meta.yaml b/asteval/meta.yaml new file mode 100644 index 0000000..b387816 --- /dev/null +++ b/asteval/meta.yaml @@ -0,0 +1,60 @@ +{% set name = "asteval" %} +{% set version = "0.9.11" %} +{% set file_ext = "tar.gz" %} +{% set hash_type = "sha256" %} +{% set hash_value = "5995f1863c1685cd00df010663c15be880035a38b1e58c6340fb1d3adc499d8e" %} + +package: +  name: '{{ name|lower }}' +  version: '{{ version }}' + +source: +  fn: '{{ name }}-{{ version }}.{{ file_ext }}' +  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.{{ file_ext }} +  '{{ hash_type }}': '{{ hash_value }}' + +build: +  number: 0 +  script: python setup.py install --single-version-externally-managed --record=record.txt + +requirements: +  host: +    - python {{ python }} +    - setuptools +    - numpy {{ numpy }} +    - six +  run: +    - python +    - numpy +    - six + +test: +  imports: +    - asteval + +about: +  home: http://github.com/newville/asteval +  license: BSD License +  license_family: BSD +  license_file: '' +  summary: Safe, minimalistic evaluator of python expression using ast module +  description: 'ASTEVAL provides a numpy-aware, safe(ish) ''eval'' function + + +    Emphasis is on mathematical expressions, and so numpy ufuncs + +    are used if available.  Symbols are held in the Interpreter + +    symbol table ''symtable'':  a simple dictionary supporting a + +    simple, flat namespace. + + +    Expressions can be compiled into ast node for later evaluation, + +    using the values in the symbol table current at evaluation time.' +  doc_url: '' +  dev_url: '' + +extra: +  recipe-maintainers: '' diff --git a/cubeviz/bld.bat b/cubeviz/bld.bat new file mode 100644 index 0000000..760380e --- /dev/null +++ b/cubeviz/bld.bat @@ -0,0 +1,2 @@ + +%PYTHON% setup.py install diff --git a/cubeviz/build.sh b/cubeviz/build.sh new file mode 100644 index 0000000..582ae83 --- /dev/null +++ b/cubeviz/build.sh @@ -0,0 +1,12 @@ +# Replace malformed pytest requirement with something sane +pytest_pattern='s/pytest==/pytest>=/' +glue_pattern='s/glueviz//' +numpy_pattern='s|numpy>=1.13|numpy>=1.11|' + +for f in setup.* +do +    sed -e ${pytest_pattern} -e ${glue_pattern} -e ${numpy_pattern} "${f}" > "${f}.new" +    mv "${f}.new" "${f}" +done + +$PYTHON setup.py install diff --git a/cubeviz/meta.yaml b/cubeviz/meta.yaml new file mode 100644 index 0000000..b2a18e3 --- /dev/null +++ b/cubeviz/meta.yaml @@ -0,0 +1,43 @@ +{% set name = 'cubeviz' %} +{% set version = '0.0.2' %} +{% set number = '0' %} + +about: +    home: https://github.com/spacetelescope/{{ name }} +    license: BSD +    summary: Data analysis package for cubes. + +build: +    number: {{ number }} + +package: +    name: {{ name }} +    version: {{ version }} + +requirements: +    build: +    - asdf +    - asteval +    - astropy +    - glueviz +    - numpy {{ numpy }} +    - pytest +    - setuptools +    - python {{ python }} + +    run: +    - asdf +    - asteval +    - astropy +    - glueviz +    - numpy +    - pytest +    - python + +source: +    git_tag: {{ version }} +    git_url: https://github.com/spacetelescope/{{ name }}.git + +test: +    imports: +    - cubeviz diff --git a/mosviz/meta.yaml b/mosviz/meta.yaml index 314fe1d..3d1ce69 100644 --- a/mosviz/meta.yaml +++ b/mosviz/meta.yaml @@ -1,5 +1,5 @@  {% set name = 'mosviz' %} -{% set version = '0.1.0' %} +{% set version = '0.1.1' %}  {% set tag = 'v' + version %}  {% set number = '0' %} diff --git a/pysynphot/meta.yaml b/pysynphot/meta.yaml index 0237f3d..d9e5817 100644 --- a/pysynphot/meta.yaml +++ b/pysynphot/meta.yaml @@ -1,5 +1,5 @@  {% set name = 'pysynphot' %} -{% set version = '0.9.8.7' %} +{% set version = '0.9.8.8' %}  {% set number = '0' %}  about: diff --git a/stsci-data-analysis/meta.yaml b/stsci-data-analysis/meta.yaml index 50e6ac9..8f46f65 100644 --- a/stsci-data-analysis/meta.yaml +++ b/stsci-data-analysis/meta.yaml @@ -1,5 +1,5 @@  {% set name = 'stsci-data-analysis' %} -{% set version = '2.0.2' %} +{% set version = '2.1.0' %}  {% set number = '0' %}  about: @@ -15,27 +15,21 @@ package:      version: {{ version }}  requirements: -    build: -    - astropy >=1.3 -    - astroimtools >=0.1 -    - stginga >=0.1 -    - specviz >=0.2.3 -    #- mosviz -    - photutils >=0.2.2 -    - glueviz >=0.9.0 -    - imexam >=0.6.2 -    - asdf >=1.0.2 -    - numpy -    - python x.x      run: -    - astropy >=1.3 -    - astroimtools >=0.1 -    - stginga >=0.1 -    - specviz >=0.2.3 -    #- mosviz -    - photutils >=0.2.2 -    - glueviz >=0.9.0 -    - imexam >=0.6.2 -    - asdf >=1.0.2 +    - asdf >=1.3.1 +    - astropy >=2.0.0 +    - astroimtools >=0.1.1 +    - cubeviz >=0.0.2 +    - glueviz >=0.12.0 +    - glue-ginga >=0.2 +    - glue-vispy-viewers >=0.9 +    - gwcs >=0.8.0 +    - mosviz >=0.1.1 +    - photutils >=0.4 +    - imexam >=0.8.0 +    - specutils >=0.2.2 +    - specviz >=0.4.4 +    - spherical-geometry >=1.0.12 +    - stginga >=0.2.1      - numpy -    - python x.x +    - python  | 
