89b5c72214
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.
19 lines
553 B
Makefile
19 lines
553 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/04/14 05:31:08 adam Exp $
|
|
|
|
DISTNAME= asteval-0.9.12
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asteval/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/newville/asteval
|
|
COMMENT= Safe, minimalistic expression evaluator using ast module
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-numpy>=1.6:../../math/py-numpy
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|