15
0

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
This commit is contained in:
Tomáš Chvátal
2020-01-17 12:55:06 +00:00
committed by Git OBS Bridge
parent 8bf626efbf
commit 96178d7def
4 changed files with 15 additions and 7 deletions

View File

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

3
asteval-0.9.18.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5d64e18b8a72c2c7ae8f9b70d1f80b68bbcaa98c1c0d7047c35489d03209bc86
size 52727

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jan 17 12:49:59 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- update to 0.9.18
* drop python2
* few fixes
-------------------------------------------------------------------
Mon Dec 9 17:26:14 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@@ -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