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) --- asteval/meta.yaml | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 asteval/meta.yaml (limited to 'asteval') 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: '' -- cgit