!3 Update package
From: @liqiuyu123 Reviewed-by: @yangzhao_kl Signed-off-by: @yangzhao_kl
This commit is contained in:
commit
bc9f91543b
Binary file not shown.
BIN
asteval-0.9.27.tar.gz
Normal file
BIN
asteval-0.9.27.tar.gz
Normal file
Binary file not shown.
@ -1,22 +1,21 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-asteval
|
Name: python-asteval
|
||||||
Version: 0.9.25
|
Version: 0.9.27
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Safe, minimalistic evaluator of python expression using ast module
|
Summary: Safe, minimalistic evaluator of python expression using ast module
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://github.com/newville/asteval
|
URL: https://github.com/newville/asteval
|
||||||
Source0: https://files.pythonhosted.org/packages/f0/81/c1385350267c5c02be74acba7167fd6608083324a51421c6b8a57240eb35/asteval-0.9.25.tar.gz
|
Source0: https://files.pythonhosted.org/packages/ef/db/2bd8a1738784ba36a9ffbe2b697d79e3989a8be5c1b01f5f3fffb8c6915a/asteval-0.9.27.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Requires: python3-importlib-metadata
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
||||||
|
|
||||||
Emphasis is on mathematical expressions, and so numpy ufuncs
|
Emphasis is on mathematical expressions, and so numpy ufuncs
|
||||||
are used if available. Symbols are held in the Interpreter
|
are used if available. Symbols are held in the Interpreter
|
||||||
symbol table 'symtable': a simple dictionary supporting a
|
symbol table 'symtable': a simple dictionary supporting a
|
||||||
simple, flat namespace.
|
simple, flat namespace.
|
||||||
|
|
||||||
Expressions can be compiled into ast node for later evaluation,
|
Expressions can be compiled into ast node for later evaluation,
|
||||||
using the values in the symbol table current at evaluation time.
|
using the values in the symbol table current at evaluation time.
|
||||||
|
|
||||||
@ -26,16 +25,17 @@ Provides: python-asteval
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-pip
|
||||||
BuildRequires: python-setuptools_scm
|
BuildRequires: python3-setuptools_scm
|
||||||
BuildRequires: python3-toml
|
BuildRequires: python3-coverage
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-pytest-cov
|
||||||
|
BuildRequires: python3-sphinx
|
||||||
%description -n python3-asteval
|
%description -n python3-asteval
|
||||||
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
||||||
|
|
||||||
Emphasis is on mathematical expressions, and so numpy ufuncs
|
Emphasis is on mathematical expressions, and so numpy ufuncs
|
||||||
are used if available. Symbols are held in the Interpreter
|
are used if available. Symbols are held in the Interpreter
|
||||||
symbol table 'symtable': a simple dictionary supporting a
|
symbol table 'symtable': a simple dictionary supporting a
|
||||||
simple, flat namespace.
|
simple, flat namespace.
|
||||||
|
|
||||||
Expressions can be compiled into ast node for later evaluation,
|
Expressions can be compiled into ast node for later evaluation,
|
||||||
using the values in the symbol table current at evaluation time.
|
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
|
Provides: python3-asteval-doc
|
||||||
%description help
|
%description help
|
||||||
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
|
||||||
|
|
||||||
Emphasis is on mathematical expressions, and so numpy ufuncs
|
Emphasis is on mathematical expressions, and so numpy ufuncs
|
||||||
are used if available. Symbols are held in the Interpreter
|
are used if available. Symbols are held in the Interpreter
|
||||||
symbol table 'symtable': a simple dictionary supporting a
|
symbol table 'symtable': a simple dictionary supporting a
|
||||||
simple, flat namespace.
|
simple, flat namespace.
|
||||||
|
|
||||||
Expressions can be compiled into ast node for later evaluation,
|
Expressions can be compiled into ast node for later evaluation,
|
||||||
using the values in the symbol table current at evaluation time.
|
using the values in the symbol table current at evaluation time.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n asteval-0.9.25
|
%autosetup -n asteval-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -94,6 +92,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 22 2021 Xu Jin <jinxu@kylinos.cn> - 0.9.25-1
|
||||||
- Update package to 0.9.25
|
- Update package to 0.9.25
|
||||||
- Add BuildRequires:python3-pip python-setuptools_scm python3-toml
|
- Add BuildRequires:python3-pip python-setuptools_scm python3-toml
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user