devel/py-asteval 1.0.10 FreeBSD
Safe, minimalistic evaluator of python expression using ast module
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
a1c4c7ac4b- License
- MIT
- Categories
- devel, python
- Package size
- 55.9 KiB, 258.8 KiB installed
Description
asteval provides a numpy-aware, safe(ish) 'eval' function Emphasis is on mathematical expressions, and so numpy ufuncs are used if available. Symbols are held in the Interpreter symbol table 'symtable': a simple dictionary supporting a simple, flat namespace. Expressions can be compiled into ast node for later evaluation, using the values in the symbol table current at evaluation time.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-asteval | 1.0.10 |
| DragonFly | devel/py-asteval | 1.0.5_1 |
Install
Binary package:
pkg install py312-asteval
From the ports tree:
cd /usr/ports/devel/py-asteval/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-asteval>0:devel/py-asteval
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.0.10 | 1.0.10 | - | 1.0.5_1 | 1.0.10 |
| FreeBSD:14:quarterly | 1.0.10 | 1.0.10 | n/a | 1.0.5_1 | 1.0.10 |
| FreeBSD:15:latest | 1.0.10 | 1.0.10 | n/a | 1.0.5_1 | 1.0.5_1 |
| FreeBSD:15:quarterly | 1.0.10 | 1.0.10 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.0.10 | 1.0.10 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}numpy>=1.16: math/py-numpy
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 16
Required by 2
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| asteval-1.0.10.tar.gz | 59581 | 46a4ed13cc2e4a29a21418f89dedd57db70d98eb96db0fb4c441d4edb2f5afed |
Master sites 1
- PYPI