pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-expressions Arithmetic expression parser libr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8531ab790857
branches: trunk
changeset: 363112:8531ab790857
user: adam <adam%pkgsrc.org@localhost>
date: Thu Jun 01 12:05:09 2017 +0000
description:
Arithmetic expression parser library. Embed customized expression evaluation
into your application or library. Example uses:
* Safely process an expression entered through a web application, for example
some formula to be plotted. The library allows safe translation of such
expression without exposing any application's internals
* precompiler that checks for allowed and denied identifiers in an expression
* have a common expression language through your application regardless of the
backend languages
* compile arithmetic expression to any other expression tree (semantic), for
example SQLAlchemy expression objects
diffstat:
devel/py-expressions/ALTERNATIVES | 1 +
devel/py-expressions/DESCR | 10 ++++++++++
devel/py-expressions/Makefile | 18 ++++++++++++++++++
devel/py-expressions/PLIST | 18 ++++++++++++++++++
devel/py-expressions/distinfo | 6 ++++++
5 files changed, 53 insertions(+), 0 deletions(-)
diffs (73 lines):
diff -r 4f726e965df7 -r 8531ab790857 devel/py-expressions/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expressions/ALTERNATIVES Thu Jun 01 12:05:09 2017 +0000
@@ -0,0 +1,1 @@
+bin/slicer @PREFIX@/bin/slicer@PYVERSSUFFIX@
diff -r 4f726e965df7 -r 8531ab790857 devel/py-expressions/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expressions/DESCR Thu Jun 01 12:05:09 2017 +0000
@@ -0,0 +1,10 @@
+Arithmetic expression parser library. Embed customized expression evaluation
+into your application or library. Example uses:
+* Safely process an expression entered through a web application, for example
+ some formula to be plotted. The library allows safe translation of such
+ expression without exposing any application's internals
+* precompiler that checks for allowed and denied identifiers in an expression
+* have a common expression language through your application regardless of the
+ backend languages
+* compile arithmetic expression to any other expression tree (semantic), for
+ example SQLAlchemy expression objects
diff -r 4f726e965df7 -r 8531ab790857 devel/py-expressions/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expressions/Makefile Thu Jun 01 12:05:09 2017 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/06/01 12:05:09 adam Exp $
+
+DISTNAME= expressions-0.2.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=e/expressions/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://databrewery.org/
+COMMENT= Extensible arithmetic expression parser and compiler
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-grako>=3.9.3:../../devel/py-grako
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4f726e965df7 -r 8531ab790857 devel/py-expressions/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expressions/PLIST Thu Jun 01 12:05:09 2017 +0000
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1 2017/06/01 12:05:09 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}/expressions/__init__.py
+${PYSITELIB}/expressions/__init__.pyc
+${PYSITELIB}/expressions/__init__.pyo
+${PYSITELIB}/expressions/compat.py
+${PYSITELIB}/expressions/compat.pyc
+${PYSITELIB}/expressions/compat.pyo
+${PYSITELIB}/expressions/compiler.py
+${PYSITELIB}/expressions/compiler.pyc
+${PYSITELIB}/expressions/compiler.pyo
+${PYSITELIB}/expressions/grammar.py
+${PYSITELIB}/expressions/grammar.pyc
+${PYSITELIB}/expressions/grammar.pyo
diff -r 4f726e965df7 -r 8531ab790857 devel/py-expressions/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-expressions/distinfo Thu Jun 01 12:05:09 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/06/01 12:05:09 adam Exp $
+
+SHA1 (expressions-0.2.3.tar.gz) = be6d5316c631a0b59d806b1bd56f7568fe1cad31
+RMD160 (expressions-0.2.3.tar.gz) = 857f87779c7b0b559c174d7920246448c57a824c
+SHA512 (expressions-0.2.3.tar.gz) = 987b4bb6606b9e9014d0bc16bf4634aa4e056c5982bd23d9600e296a6042461a510355c913c731f3249a6654299df9e8afadc285272764f7453846dbc5e8a26a
+Size (expressions-0.2.3.tar.gz) = 5476 bytes
Home |
Main Index |
Thread Index |
Old Index