# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {reneeotten @reneeotten} openmaintainer
description Safe, minimalistic evaluator of python expression using ast module
long_description ASTEVAL is a safe(ish) evaluator of Python expressions and \
statements, using Python's ast module. The idea is to provide \
a simple, safe, and robust miniature mathematical language that \
can handle user-input. The emphasis here is on mathematical \
expressions, and so many functions from numpy are imported and \
homepage https://github.com/newville/asteval
master_sites pypi:a/asteval/
distname asteval-${version}
checksums rmd160 67e3710e4b0956b1da6e34c139ad2c470bfdd4b6 \
sha256 3e291b2cb71284bc55816fe7ff65ee15e47fa66df98490cdd95f5531fc37b81e \
python.versions 27 35 36 37 38
if {${subport} ne ${name}} {
port:py${python.version}-setuptools
port:py${python.version}-pytest
test.cmd py.test-${python.branch}
test.env PYTHONPATH=${worksrcpath}/build/lib
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst INSTALL \
LICENSE ${destroot}${docdir}