blob: d2aa3a2da713abb247e4696aef99a943a46db192 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
{% set name = "asteval" %}
{% set version = "0.9.11" %}
{% if version[0] == 'v' %}
{% set version = version[1:] %}
{% endif %}
{% 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: ''
|