danj 5b2a3b6abc Import py-simpleeval-0.9.5 from semarie with minor tweaks from me
A quick single file 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.
2017-05-22 02:23:18 +00:00

22 lines
386 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2017/05/22 02:23:18 danj Exp $
COMMENT = simple, safe single expression evaluator library
MODPY_EGG_VERSION = 0.9.5
DISTNAME = simpleeval-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
# MIT
PERMIT_PACKAGE_CDROM= Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
.include <bsd.port.mk>