forked from pool/python-asteval
- 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:
committed by
Git OBS Bridge
parent
1883c361d4
commit
40e4c7c625
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:38f3b0592cae7e7f65adc687e37aad1824a8e518245603a29ec33258277e779b
|
||||
size 50686
|
||||
3
asteval-0.9.13.tar.gz
Normal file
3
asteval-0.9.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8faf9f92b2b0d2ed376dc149d6bab2e01f614f6994722be9c16f982cbdd07c99
|
||||
size 51640
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 12:17:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update 0.9.13:
|
||||
* Various spelling fixes
|
||||
* Error reporting tweaks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 29 10:27:20 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user