From 96178d7defb2b8e712a03f050a9671c90580bb460c98a024b70587abed6c78cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 17 Jan 2020 12:55:06 +0000 Subject: [PATCH] Accepting request 765256 from home:mcalabkova:branches:devel:languages:python - update to 0.9.18 * drop python2 * few fixes OBS-URL: https://build.opensuse.org/request/show/765256 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=18 --- asteval-0.9.17.tar.gz | 3 --- asteval-0.9.18.tar.gz | 3 +++ python-asteval.changes | 7 +++++++ python-asteval.spec | 9 +++++---- 4 files changed, 15 insertions(+), 7 deletions(-) delete mode 100644 asteval-0.9.17.tar.gz create mode 100644 asteval-0.9.18.tar.gz diff --git a/asteval-0.9.17.tar.gz b/asteval-0.9.17.tar.gz deleted file mode 100644 index 2e2ab35..0000000 --- a/asteval-0.9.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e291b2cb71284bc55816fe7ff65ee15e47fa66df98490cdd95f5531fc37b81e -size 53878 diff --git a/asteval-0.9.18.tar.gz b/asteval-0.9.18.tar.gz new file mode 100644 index 0000000..6d04ba3 --- /dev/null +++ b/asteval-0.9.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d64e18b8a72c2c7ae8f9b70d1f80b68bbcaa98c1c0d7047c35489d03209bc86 +size 52727 diff --git a/python-asteval.changes b/python-asteval.changes index c028357..1180c2b 100644 --- a/python-asteval.changes +++ b/python-asteval.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 17 12:49:59 UTC 2020 - Marketa Calabkova + +- update to 0.9.18 + * drop python2 + * few fixes + ------------------------------------------------------------------- Mon Dec 9 17:26:14 UTC 2019 - Todd R diff --git a/python-asteval.spec b/python-asteval.spec index bbae22e..459233b 100644 --- a/python-asteval.spec +++ b/python-asteval.spec @@ -1,7 +1,7 @@ # # spec file for package python-asteval # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,15 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-asteval -Version: 0.9.17 +Version: 0.9.18 Release: 0 Summary: Safe, minimalistic evaluator of python expression using ast module License: MIT Group: Development/Languages/Python -URL: http://github.com/newville/asteval +URL: https://github.com/newville/asteval Source: https://files.pythonhosted.org/packages/source/a/asteval/asteval-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -61,7 +62,7 @@ sed -i -e '/^#!\//, 1d' asteval/asteval.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%pytest %files %{python_files} %doc README.rst