forked from pool/python-simpleeval
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
851c699b0c
commit
71591c8402
@@ -37,9 +37,13 @@ BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
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.
|
||||
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.
|
||||
Or if you want to allow simple formulare 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.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
@@ -55,6 +59,7 @@ rm -rf %{buildroot}%{python_sitelib}/%{mod2nam}/*.exe # Remove unneeded files
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user