Skip to content
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (34 sloc) 1.73 KB
# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-asteval
version 0.9.13
categories-append math
license BSD
maintainers {@reneeotten} openmaintainer
description 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 \
used if available.
platforms darwin
master_sites pypi:a/asteval/
distname asteval-${version}
checksums rmd160 36f24c2c4509ba66e3a532686393b838e4ae12b4 \
sha256 8faf9f92b2b0d2ed376dc149d6bab2e01f614f6994722be9c16f982cbdd07c99 \
size 51640
python.versions 27 34 35 36 37
if {${subport} ne ${name}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-numpy \
depends_test-append port:py${python.version}-pytest yes
test.cmd py.test-${python.branch}
test.env PYTHONPATH=${worksrcpath}/build/lib
livecheck.type none
You can’t perform that action at this time.