update package

This commit is contained in:
liqiuyu123 2022-10-13 10:45:51 +08:00
parent 4929c78417
commit 80b2aa46f8
3 changed files with 13 additions and 12 deletions

Binary file not shown.

BIN
asteval-0.9.27.tar.gz Normal file

Binary file not shown.

View File

@ -1,22 +1,21 @@
%global _empty_manifest_terminate_build 0
Name: python-asteval
Version: 0.9.25
Version: 0.9.27
Release: 1
Summary: Safe, minimalistic evaluator of python expression using ast module
License: MIT
URL: http://github.com/newville/asteval
Source0: https://files.pythonhosted.org/packages/f0/81/c1385350267c5c02be74acba7167fd6608083324a51421c6b8a57240eb35/asteval-0.9.25.tar.gz
URL: https://github.com/newville/asteval
Source0: https://files.pythonhosted.org/packages/ef/db/2bd8a1738784ba36a9ffbe2b697d79e3989a8be5c1b01f5f3fffb8c6915a/asteval-0.9.27.tar.gz
BuildArch: noarch
Requires: python3-importlib-metadata
%description
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
Emphasis is on mathematical expressions, and so numpy ufuncs
are used if available. Symbols are held in the Interpreter
symbol table 'symtable': a simple dictionary supporting a
simple, flat namespace.
Expressions can be compiled into ast node for later evaluation,
using the values in the symbol table current at evaluation time.
@ -26,16 +25,17 @@ Provides: python-asteval
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python-setuptools_scm
BuildRequires: python3-toml
BuildRequires: python3-setuptools_scm
BuildRequires: python3-coverage
BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
BuildRequires: python3-sphinx
%description -n python3-asteval
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
Emphasis is on mathematical expressions, and so numpy ufuncs
are used if available. Symbols are held in the Interpreter
symbol table 'symtable': a simple dictionary supporting a
simple, flat namespace.
Expressions can be compiled into ast node for later evaluation,
using the values in the symbol table current at evaluation time.
@ -44,17 +44,15 @@ Summary: Development documents and examples for asteval
Provides: python3-asteval-doc
%description help
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
Emphasis is on mathematical expressions, and so numpy ufuncs
are used if available. Symbols are held in the Interpreter
symbol table 'symtable': a simple dictionary supporting a
simple, flat namespace.
Expressions can be compiled into ast node for later evaluation,
using the values in the symbol table current at evaluation time.
%prep
%autosetup -n asteval-0.9.25
%autosetup -n asteval-%{version}
%build
%py3_build
@ -94,6 +92,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Oct 13 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.9.27-1
- Upgrade package to version 0.9.27
* Thu Jul 22 2021 Xu Jin <jinxu@kylinos.cn> - 0.9.25-1
- Update package to 0.9.25
- Add BuildRequires:python3-pip python-setuptools_scm python3-toml