pkgsrc/math/Makefile
richard 992efc35cf Add py-simpleeval
A quick single-file MIT-Licenced library for easily adding evaluatable
expressions into python projects. Say you want to allow a user to set an alarm
volume, which could depend on the time of day, alarm level, how many previous
alarms had gone off, and if there is music playing at the time.

Or if you want to allow simple formulae in a web application, but don't want
to give full eval() access, or don't want to run in javascript on the client side.

It's deliberately very simple, just a single file you can dump into a project,
or import from pypi (pip or easy_install).

Internally, it's using the amazing python ast module to parse the expression,
which allows very fine control of what is and isn't allowed. It should be
completely safe in terms of what operations can be performed by the expression.

The only issue I know to be aware of is that you can create an expression which
takes a long time to evaluate, or which evaluating requires an awful lot of
memory, which leaves the potential for DOS attacks. There is basic protection
against this, and you can lock it down further if you desire.

You should be aware of this when deploying in a public setting.

The defaults are pretty locked down and basic, and it's very easy to add whatever
extra specific functionality you need (your own functions, variable/name lookup, etc).
2015-08-25 05:05:39 +00:00

289 lines
5.5 KiB
Makefile

# $NetBSD: Makefile,v 1.306 2015/08/25 05:05:39 richard Exp $
COMMENT= Mathematics
SUBDIR+= R
SUBDIR+= R-CGIwithR
SUBDIR+= R-DAAG
SUBDIR+= R-DBI
SUBDIR+= R-GRASS
SUBDIR+= R-ISwR
SUBDIR+= R-PHYLOGR
SUBDIR+= R-R2HTML
SUBDIR+= R-RArcInfo
SUBDIR+= R-RColorBrewer
SUBDIR+= R-RPostgreSQL
SUBDIR+= R-RandomFields
SUBDIR+= R-Rcmdr
SUBDIR+= R-XML
SUBDIR+= R-abind
SUBDIR+= R-akima
SUBDIR+= R-bitops
SUBDIR+= R-car
SUBDIR+= R-chron
SUBDIR+= R-circular
SUBDIR+= R-classInt
SUBDIR+= R-clim.pact
SUBDIR+= R-combinat
SUBDIR+= R-date
SUBDIR+= R-e1071
SUBDIR+= R-gdata
SUBDIR+= R-genetics
SUBDIR+= R-geoR
SUBDIR+= R-geoRglm
SUBDIR+= R-gstat
SUBDIR+= R-gtools
SUBDIR+= R-httpRequest
SUBDIR+= R-hwde
SUBDIR+= R-intervals
SUBDIR+= R-lmm
SUBDIR+= R-mapproj
SUBDIR+= R-maps
SUBDIR+= R-mvtnorm
SUBDIR+= R-ncdf
SUBDIR+= R-pixmap
SUBDIR+= R-plyr
SUBDIR+= R-randomForest
SUBDIR+= R-sgeostat
SUBDIR+= R-shapefiles
SUBDIR+= R-sp
SUBDIR+= R-spacetime
SUBDIR+= R-splancs
SUBDIR+= R-statmod
SUBDIR+= R-wle
SUBDIR+= R-xts
SUBDIR+= R-zoo
SUBDIR+= TinySVM
SUBDIR+= aamath
SUBDIR+= abs
SUBDIR+= admesh
SUBDIR+= algae
SUBDIR+= analitza
SUBDIR+= antixls
SUBDIR+= aribas
SUBDIR+= arpack
SUBDIR+= bc
SUBDIR+= blas
SUBDIR+= blitz++
SUBDIR+= calc
SUBDIR+= calcoo
SUBDIR+= cantor
SUBDIR+= capc-calc
SUBDIR+= cgal
SUBDIR+= clisp-pari
SUBDIR+= cln
SUBDIR+= cloog
SUBDIR+= coinmp
SUBDIR+= crfsuite
SUBDIR+= dcdflib.c
SUBDIR+= dcdflib.f
SUBDIR+= dfftpack
SUBDIR+= dieharder
SUBDIR+= djbfft
SUBDIR+= eigen2
SUBDIR+= eigen3
SUBDIR+= eispack
SUBDIR+= ess
SUBDIR+= eukleides
SUBDIR+= eukleides10
SUBDIR+= euler
SUBDIR+= extcalc
SUBDIR+= fftpack
SUBDIR+= fftw
SUBDIR+= fftw2
SUBDIR+= fftwf
SUBDIR+= fgmp
SUBDIR+= fityk
SUBDIR+= fricas
SUBDIR+= galculator
SUBDIR+= gap
SUBDIR+= gcalctool
SUBDIR+= geg
SUBDIR+= genius
SUBDIR+= glpk
SUBDIR+= gnome-calculator
SUBDIR+= gnumeric
SUBDIR+= gnumeric110
SUBDIR+= gnumeric112
SUBDIR+= gp-autpgrp
SUBDIR+= gp-factint
SUBDIR+= gp-fplsa
SUBDIR+= gp-grape
SUBDIR+= gp-grpconst
SUBDIR+= gp-lag
SUBDIR+= grace
SUBDIR+= graphopt
SUBDIR+= grpn
SUBDIR+= gsl
SUBDIR+= gtklife
SUBDIR+= harminv
SUBDIR+= heirloom-factor
SUBDIR+= heirloom-units
SUBDIR+= hs-distributive
SUBDIR+= hs-mwc-random
SUBDIR+= hs-nats
SUBDIR+= hs-scientific
SUBDIR+= hs-semigroups
SUBDIR+= ipopt
SUBDIR+= isl
SUBDIR+= itpp
SUBDIR+= kalgebra
SUBDIR+= kcalc
SUBDIR+= kseg
SUBDIR+= lapack
SUBDIR+= libffm
SUBDIR+= libint
SUBDIR+= liblbfgs
SUBDIR+= liblinear
SUBDIR+= libmatheval
SUBDIR+= libshorttext
SUBDIR+= libsvm
SUBDIR+= linpack
SUBDIR+= lp_solve
SUBDIR+= ltm
SUBDIR+= mapm
SUBDIR+= mathomatic
SUBDIR+= maxima
SUBDIR+= mcsim
SUBDIR+= meschach
SUBDIR+= metis
SUBDIR+= minisat
SUBDIR+= minpack
SUBDIR+= mpcomplex
SUBDIR+= mpfr
SUBDIR+= mprime-bin
SUBDIR+= mtl
SUBDIR+= muparser
SUBDIR+= newmat
SUBDIR+= nickle
SUBDIR+= ntl
SUBDIR+= octave
SUBDIR+= odepack
SUBDIR+= openaxiom
SUBDIR+= openfst
SUBDIR+= ordCalc
SUBDIR+= otter
SUBDIR+= p5-Algorithm-Cluster
SUBDIR+= p5-Algorithm-Munkres
SUBDIR+= p5-Excel-Template
SUBDIR+= p5-Excel-Template-Plus
SUBDIR+= p5-Math-Base-Convert
SUBDIR+= p5-Math-Base36
SUBDIR+= p5-Math-Base85
SUBDIR+= p5-Math-BaseCnv
SUBDIR+= p5-Math-Bezier
SUBDIR+= p5-Math-BigInt-GMP
SUBDIR+= p5-Math-BigInt-Pari
SUBDIR+= p5-Math-BigInteger
SUBDIR+= p5-Math-Complex
SUBDIR+= p5-Math-Derivative
SUBDIR+= p5-Math-FFT
SUBDIR+= p5-Math-GMP
SUBDIR+= p5-Math-Interpolate
SUBDIR+= p5-Math-MatrixReal
SUBDIR+= p5-Math-Pari
SUBDIR+= p5-Math-Permute-List
SUBDIR+= p5-Math-Prime-Util
SUBDIR+= p5-Math-Random
SUBDIR+= p5-Math-Random-ISAAC
SUBDIR+= p5-Math-Random-ISAAC-XS
SUBDIR+= p5-Math-Random-MT
SUBDIR+= p5-Math-Random-MT-Auto
SUBDIR+= p5-Math-Random-MT-Perl
SUBDIR+= p5-Math-Round
SUBDIR+= p5-Math-Spline
SUBDIR+= p5-Math-VecStat
SUBDIR+= p5-Number-Compare
SUBDIR+= p5-Number-Latin
SUBDIR+= p5-Number-Range
SUBDIR+= p5-Number-Tolerant
SUBDIR+= p5-Roman
SUBDIR+= p5-Set-Crontab
SUBDIR+= p5-Set-Infinite
SUBDIR+= p5-Spreadsheet-ParseExcel
SUBDIR+= p5-Spreadsheet-Read
SUBDIR+= p5-Spreadsheet-ReadSXC
SUBDIR+= p5-Spreadsheet-WriteExcel
SUBDIR+= p5-Spreadsheet-XLSX
SUBDIR+= p5-Statistics-Descriptive
SUBDIR+= p5-Statistics-Distributions
SUBDIR+= p5-Statistics-TTest
SUBDIR+= p5-Test-Number-Delta
SUBDIR+= pari
SUBDIR+= pari-galdata
SUBDIR+= pear-Math_BigInteger
SUBDIR+= pear-Numbers_Roman
SUBDIR+= pear-Numbers_Words
SUBDIR+= php-bcmath
SUBDIR+= ppl
SUBDIR+= prng
SUBDIR+= pspp
SUBDIR+= py-Numeric
SUBDIR+= py-Scientific
SUBDIR+= py-Scientific-doc
SUBDIR+= py-almost
SUBDIR+= py-cdecimal
SUBDIR+= py-ephem
SUBDIR+= py-ephem3
SUBDIR+= py-fpconst
SUBDIR+= py-gmpy
SUBDIR+= py-infinity
SUBDIR+= py-intervals
SUBDIR+= py-mpmath
SUBDIR+= py-munkres
SUBDIR+= py-networkx
SUBDIR+= py-numarray
SUBDIR+= py-numexpr
SUBDIR+= py-numpy
SUBDIR+= py-pandas
SUBDIR+= py-pytables
SUBDIR+= py-roman
SUBDIR+= py-rpy
SUBDIR+= py-scipy
SUBDIR+= py-simpleeval
SUBDIR+= py-sympy
SUBDIR+= qalculate
SUBDIR+= qalculate-bases
SUBDIR+= qalculate-currency
SUBDIR+= qalculate-gtk
SUBDIR+= qalculate-kde
SUBDIR+= qalculate-units
SUBDIR+= qhull
SUBDIR+= quadpack
SUBDIR+= randlib
SUBDIR+= ruby-gsl
SUBDIR+= ruby-narray
SUBDIR+= ruby-spreadsheet
SUBDIR+= sc
SUBDIR+= scilab
SUBDIR+= slatec
SUBDIR+= snns
SUBDIR+= speedcrunch
SUBDIR+= statist
SUBDIR+= superlu
SUBDIR+= tasp-vsipl
SUBDIR+= teapot
SUBDIR+= tex-apnum
SUBDIR+= tex-apnum-doc
SUBDIR+= tex-fp
SUBDIR+= tex-fp-doc
SUBDIR+= tex-kastrup
SUBDIR+= tex-kastrup-doc
SUBDIR+= texdrive
SUBDIR+= tochnog
SUBDIR+= udunits
SUBDIR+= units
SUBDIR+= vista
SUBDIR+= wxmaxima
SUBDIR+= xeukleides10
SUBDIR+= xfractint
SUBDIR+= xgap
SUBDIR+= xldlas
SUBDIR+= xlife
SUBDIR+= xlispstat
SUBDIR+= xmgr
SUBDIR+= xylib
SUBDIR+= yacas
SUBDIR+= yorick
.include "../mk/misc/category.mk"