diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-12-22 14:11:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 14:11:21 -0500 |
commit | 9fe77b5a5fd60900291b5ec41bd92a18012dc623 (patch) | |
tree | ab786434031f4df994f2c2d8867081d876629a8b /asteval | |
parent | f3eea92c754ece7932ba767dd8b04925f6769411 (diff) | |
download | astroconda-contrib-9fe77b5a5fd60900291b5ec41bd92a18012dc623.tar.gz |
Contrib cubeviz & asteval (#293)
* Initial commit of cubeviz
* Initial commit of asteval
Diffstat (limited to 'asteval')
-rw-r--r-- | asteval/meta.yaml | 60 |
1 files changed, 60 insertions, 0 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: '' |