15
0

- Update 0.9.13:

* Various spelling fixes
  * Error reporting tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=8
This commit is contained in:
Tomáš Chvátal
2019-03-06 12:18:41 +00:00
committed by Git OBS Bridge
parent 1883c361d4
commit 40e4c7c625
4 changed files with 20 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-asteval
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,31 +12,30 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asteval
Version: 0.9.12
Version: 0.9.13
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: http://github.com/newville/asteval
Source: https://files.pythonhosted.org/packages/source/a/asteval/asteval-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
# SECTION test requirements
BuildRequires: %{python_module numpy >= 1.6}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
# /SECTION
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.6
Requires: python-six
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module numpy >= 1.6}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
%description
@@ -62,9 +61,7 @@ sed -i -e '/^#!\//, 1d' asteval/asteval.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
pushd tests
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix}
popd
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
%files %{python_files}
%doc README.rst