diff --git a/python-simpleeval.spec b/python-simpleeval.spec index ee3850680f26ac489e516f978bb2aafb0df032c2..c28472f43f494076145baad35ffdd1daa7ee6448 100644 --- a/python-simpleeval.spec +++ b/python-simpleeval.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-simpleeval -Version: 0.9.13 +Version: 1.0.3 Release: 1 Summary: A simple, safe single expression evaluator library. License: MIT License URL: https://github.com/danthedeckie/simpleeval -Source0: https://files.pythonhosted.org/packages/8f/fa/d2d5bbf9a03fe7b0956368ac5420cfcb072146be6e912a50747dc376133a/simpleeval-0.9.13.tar.gz +Source0: https://files.pythonhosted.org/packages/source/s/simpleeval/simpleeval-%{version}.tar.gz BuildArch: noarch %description @@ -19,6 +19,8 @@ Summary: A simple, safe single expression evaluator library. Provides: python-simpleeval = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-wheel %description -n python3-simpleeval An short, easy to use, safe and reasonably extensible expression evaluator. Designed for things like in a website where you want to allow the user to @@ -38,10 +40,10 @@ eval() or other unsafe or needlessly complex linguistics. %autosetup -n simpleeval-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -78,6 +80,15 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Thu Nov 07 2024 zhangyulong - 1.0.3-1 +- Update package to version 1.0.3 + -Supporting-multiple-python-versions + -Deprecation warnings + -Fix escaping the sandbox through generators bug + -Fix operator bug + -Fix MAX_STRING_LENGTH used on objects which do not increase size, creating false positives + -intercept evaluation of simpleeval and add if conditions + * Mon Feb 27 2023 wangjunqi - 0.9.13-1 - Update package to version 0.9.13 diff --git a/simpleeval-0.9.13.tar.gz b/simpleeval-0.9.13.tar.gz deleted file mode 100644 index a6281565a021a02d0988329dc7f8cbe877a843f4..0000000000000000000000000000000000000000 Binary files a/simpleeval-0.9.13.tar.gz and /dev/null differ diff --git a/simpleeval-1.0.3.tar.gz b/simpleeval-1.0.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..decb13cacbd6a6ac66866de621072af2f98efc43 Binary files /dev/null and b/simpleeval-1.0.3.tar.gz differ