!5 Upgrade package to version 1.3.0
From: @wk333 Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
ca38562306
Binary file not shown.
BIN
mpmath-1.3.0.tar.gz
Normal file
BIN
mpmath-1.3.0.tar.gz
Normal file
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-mpmath
|
Name: python-mpmath
|
||||||
Version: 1.2.1
|
Version: 1.3.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python library for arbitrary-precision floating-point arithmetic
|
Summary: Python library for arbitrary-precision floating-point arithmetic
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: http://github.com/fredrik-johansson/mpmath
|
URL: http://github.com/fredrik-johansson/mpmath
|
||||||
Source0: https://files.pythonhosted.org/packages/95/ba/7384cb4db4ed474d4582944053549e02ec25da630810e4a23454bc9fa617/mpmath-1.2.1.tar.gz
|
Source0: https://github.com/fredrik-johansson/mpmath/archive/%{version}/mpmath-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|
||||||
@ -36,7 +36,11 @@ Summary: Development documents and examples for mpmath
|
|||||||
Provides: python3-mpmath-doc
|
Provides: python3-mpmath-doc
|
||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: dvipng
|
BuildRequires: dvipng
|
||||||
BuildRequires: tex(latex)
|
BuildRequires: latexmk
|
||||||
|
BuildRequires: texlive-collection-basic
|
||||||
|
BuildRequires: texlive-collection-latexrecommended
|
||||||
|
BuildRequires: texlive-collection-latexextra
|
||||||
|
BuildRequires: texlive-collection-fontsrecommended
|
||||||
%description help
|
%description help
|
||||||
A Python library for arbitrary-precision floating-point arithmetic.
|
A Python library for arbitrary-precision floating-point arithmetic.
|
||||||
|
|
||||||
@ -49,7 +53,7 @@ for doc in CHANGES LICENSE README.rst TODO mpmath/tests/runtests.py; do
|
|||||||
touch -r $doc $doc.new && \
|
touch -r $doc $doc.new && \
|
||||||
mv $doc.new $doc
|
mv $doc.new $doc
|
||||||
done
|
done
|
||||||
find doc -name *.txt -exec sed -i "s|\r||g" {} \;
|
find docs -name *.txt -exec sed -i "s|\r||g" {} \;
|
||||||
|
|
||||||
shebangs="mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py mpmath/tests/runtests.py mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py mpmath/tests/test_levin.py"
|
shebangs="mpmath/matrices/eigen.py mpmath/matrices/eigen_symmetric.py mpmath/tests/runtests.py mpmath/tests/test_eigen.py mpmath/tests/test_eigen_symmetric.py mpmath/tests/test_levin.py"
|
||||||
# Get rid of unnecessary shebangs
|
# Get rid of unnecessary shebangs
|
||||||
@ -65,8 +69,8 @@ sed -i -r 's/use_scm_version=True/version="%{version}"/' setup.py
|
|||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
# Build documentation
|
# Build documentation
|
||||||
cd doc
|
%{__python3} setup.py build_sphinx -c docs -b html,latex
|
||||||
%{__python3} build.py
|
make -C build/sphinx/latex all-pdf
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
@ -108,6 +112,9 @@ xvfb-run -a pytest-3 -v
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 26 2023 wangkai <13474090681@163.com> - 1.3.0-1
|
||||||
|
- Upgrade package to version 1.3.0
|
||||||
|
|
||||||
* Wed Sep 28 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.2.1-1
|
* Wed Sep 28 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.2.1-1
|
||||||
- Upgrade package to version 1.2.1
|
- Upgrade package to version 1.2.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user