pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math py-asteval: added version 0.9.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd9afe39e677
branches:  trunk
changeset: 378716:dd9afe39e677
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Apr 14 05:31:08 2018 +0000

description:
py-asteval: added version 0.9.12

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.

diffstat:

 math/Makefile            |   3 ++-
 math/py-asteval/DESCR    |   5 +++++
 math/py-asteval/Makefile |  19 +++++++++++++++++++
 math/py-asteval/PLIST    |  18 ++++++++++++++++++
 math/py-asteval/distinfo |   6 ++++++
 5 files changed, 50 insertions(+), 1 deletions(-)

diffs (81 lines):

diff -r 3852cc92842e -r dd9afe39e677 math/Makefile
--- a/math/Makefile     Sat Apr 14 05:20:25 2018 +0000
+++ b/math/Makefile     Sat Apr 14 05:31:08 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.382 2018/04/13 15:26:33 minskim Exp $
+# $NetBSD: Makefile,v 1.383 2018/04/14 05:31:08 adam Exp $
 
 COMMENT=       Mathematics
 
@@ -270,6 +270,7 @@
 SUBDIR+=       py-Scientific-doc
 SUBDIR+=       py-abcpmc
 SUBDIR+=       py-almost
+SUBDIR+=       py-asteval
 SUBDIR+=       py-autograd
 SUBDIR+=       py-bottleneck
 SUBDIR+=       py-cdecimal
diff -r 3852cc92842e -r dd9afe39e677 math/py-asteval/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-asteval/DESCR     Sat Apr 14 05:31:08 2018 +0000
@@ -0,0 +1,5 @@
+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.
diff -r 3852cc92842e -r dd9afe39e677 math/py-asteval/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-asteval/Makefile  Sat Apr 14 05:31:08 2018 +0000
@@ -0,0 +1,19 @@
+# $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@localhost
+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"
diff -r 3852cc92842e -r dd9afe39e677 math/py-asteval/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-asteval/PLIST     Sat Apr 14 05:31:08 2018 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/14 05:31:08 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/asteval/__init__.py
+${PYSITELIB}/asteval/__init__.pyc
+${PYSITELIB}/asteval/__init__.pyo
+${PYSITELIB}/asteval/_version.py
+${PYSITELIB}/asteval/_version.pyc
+${PYSITELIB}/asteval/_version.pyo
+${PYSITELIB}/asteval/asteval.py
+${PYSITELIB}/asteval/asteval.pyc
+${PYSITELIB}/asteval/asteval.pyo
+${PYSITELIB}/asteval/astutils.py
+${PYSITELIB}/asteval/astutils.pyc
+${PYSITELIB}/asteval/astutils.pyo
diff -r 3852cc92842e -r dd9afe39e677 math/py-asteval/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-asteval/distinfo  Sat Apr 14 05:31:08 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/04/14 05:31:08 adam Exp $
+
+SHA1 (asteval-0.9.12.tar.gz) = 4c70b6da6a002d295be5d18b76b8ba315bb1cb33
+RMD160 (asteval-0.9.12.tar.gz) = 68782a598a9532d5384151796883fb42f1138b8a
+SHA512 (asteval-0.9.12.tar.gz) = 56a760db1fa8bf479406db90e7187f8824f1cf26ba346579a7c45ba1d3d569485cdbe9e7c8f0e1fb29055956e81fe4256ea2c1b9645fa47d16ce825dcd208e0f
+Size (asteval-0.9.12.tar.gz) = 50686 bytes



Home | Main Index | Thread Index | Old Index