forked from pool/python-asteval
Accepting request 873123 from home:bnavigator:branches:devel:languages:python
- Update to 0.9.22 * another important but small fix for Python 3.9 * Merge branch 'nested_interrupts_returns' - Drop hard numpy requirement, don't test on python36 OBS-URL: https://build.opensuse.org/request/show/873123 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asteval?expand=0&rev=20
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-asteval
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-asteval
|
||||
Version: 0.9.18
|
||||
Version: 0.9.22
|
||||
Release: 0
|
||||
Summary: Safe, minimalistic evaluator of python expression using ast module
|
||||
License: MIT
|
||||
@@ -29,13 +29,10 @@ Source: https://files.pythonhosted.org/packages/source/a/asteval/asteval
|
||||
BuildRequires: %{python_module setuptools}
|
||||
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}
|
||||
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user