17
0

4 Commits

Author SHA256 Message Date
b00c1b44b1 Accepting request 1314480 from devel:languages:python
- Update to 1.0.3:
  * Fix support for 3.14 (deprecated features actually being removed, so
    getattr use was incorrect).
  * Fix a sandbox escape via generators and _frame methods.
  * Supporting dictionary comprehensions
  * A custom exception rather than KeyError when names not found
  * Dropping support for old python versions
  * Various cleanups & tidying warnings, deprecation warnings etc.

OBS-URL: https://build.opensuse.org/request/show/1314480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simpleeval?expand=0&rev=9
2025-10-30 16:10:03 +00:00
c3e139b831 - Update to 1.0.3:
* Fix support for 3.14 (deprecated features actually being removed, so
    getattr use was incorrect).
  * Fix a sandbox escape via generators and _frame methods.
  * Supporting dictionary comprehensions
  * A custom exception rather than KeyError when names not found
  * Dropping support for old python versions
  * Various cleanups & tidying warnings, deprecation warnings etc.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=19
2025-10-30 04:12:56 +00:00
a80483644b Accepting request 1285131 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1285131
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-simpleeval?expand=0&rev=8
2025-06-12 13:54:43 +00:00
0973580002 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-simpleeval?expand=0&rev=17
2025-06-12 12:04:29 +00:00
4 changed files with 33 additions and 12 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Oct 30 04:11:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.0.3:
* Fix support for 3.14 (deprecated features actually being removed, so
getattr use was incorrect).
* Fix a sandbox escape via generators and _frame methods.
* Supporting dictionary comprehensions
* A custom exception rather than KeyError when names not found
* Dropping support for old python versions
* Various cleanups & tidying warnings, deprecation warnings etc.
-------------------------------------------------------------------
Thu Jun 12 12:04:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sun Jan 14 18:55:00 UTC 2024 - Axel Braun <axel.braun@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-simpleeval
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
# Copyright (c) 2015-2024 Dr. Axel Braun
#
# All modifications and additions to the file contributed by third parties
@@ -16,17 +16,19 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define modname simpleeval
%{?sle15_python_module_pythons}
Name: python-%{modname}
Version: 0.9.13
Version: 1.0.3
Release: 0
Summary: A simple, safe single expression evaluator library
License: MIT
URL: https://github.com/danthedeckie/simpleeval
Source0: https://files.pythonhosted.org/packages/source/s/simpleeval/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -48,10 +50,10 @@ to give full eval() access, or dont want to run in javascript on the client s
%setup -q -n %{modname}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +62,8 @@ to give full eval() access, or dont want to run in javascript on the client s
%files %{python_files}
%doc README.rst
%license LICENCE
%{python_sitelib}/*
%{python_sitelib}/simpleeval.py
%pycache_only %{python_sitelib}/__pycache__/simpleeval*pyc
%{python_sitelib}/simpleeval-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac
size 24535

3
simpleeval-1.0.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829
size 24358