!9 [sync] PR-8: 修改编译依赖解决本地自编译问题
From: @openeuler-sync-bot Reviewed-by: @cherry530 Signed-off-by: @cherry530
This commit is contained in:
commit
d98fa1a8a4
@ -1,7 +1,7 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-mpmath
|
Name: python-mpmath
|
||||||
Version: 1.3.0
|
Version: 1.3.0
|
||||||
Release: 2
|
Release: 3
|
||||||
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
|
||||||
@ -25,7 +25,6 @@ BuildRequires: python3-pycodestyle
|
|||||||
BuildRequires: python3-codecov
|
BuildRequires: python3-codecov
|
||||||
BuildRequires: python3-wheel
|
BuildRequires: python3-wheel
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
BuildRequires: xorg-x11-server-Xvfb
|
||||||
BuildRequires: python3-mpmath
|
|
||||||
%description -n python3-mpmath
|
%description -n python3-mpmath
|
||||||
A Python library for arbitrary-precision floating-point arithmetic.
|
A Python library for arbitrary-precision floating-point arithmetic.
|
||||||
If you require plotting capabilities in mpmath, install python3-matplotlib.
|
If you require plotting capabilities in mpmath, install python3-matplotlib.
|
||||||
@ -36,10 +35,14 @@ Provides: python3-mpmath-doc
|
|||||||
BuildRequires: python3-sphinx
|
BuildRequires: python3-sphinx
|
||||||
BuildRequires: dvipng
|
BuildRequires: dvipng
|
||||||
BuildRequires: latexmk
|
BuildRequires: latexmk
|
||||||
BuildRequires: texlive-collection-basic
|
BuildRequires: tex(latex)
|
||||||
BuildRequires: texlive-collection-latexrecommended
|
BuildRequires: tex(framed.sty)
|
||||||
BuildRequires: texlive-collection-latexextra
|
BuildRequires: tex(fncychap.sty)
|
||||||
BuildRequires: texlive-collection-fontsrecommended
|
BuildRequires: tex(wrapfig.sty)
|
||||||
|
BuildRequires: tex(capt-of.sty)
|
||||||
|
BuildRequires: tex(upquote.sty)
|
||||||
|
BuildRequires: tex(needspace.sty)
|
||||||
|
BuildRequires: tex(tabulary.sty)
|
||||||
%description help
|
%description help
|
||||||
A Python library for arbitrary-precision floating-point arithmetic.
|
A Python library for arbitrary-precision floating-point arithmetic.
|
||||||
|
|
||||||
@ -67,6 +70,7 @@ sed -i -r 's/use_scm_version=True/version="%{version}"/' setup.py
|
|||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
export PYTHONPATH=build/lib
|
||||||
# Build documentation
|
# Build documentation
|
||||||
# sphinx's setuptools integration is deprecated since v5.0
|
# sphinx's setuptools integration is deprecated since v5.0
|
||||||
# https://github.com/mpmath/mpmath/commit/52a6a70d3c3979ccee48d9c4432579f1609be508
|
# https://github.com/mpmath/mpmath/commit/52a6a70d3c3979ccee48d9c4432579f1609be508
|
||||||
@ -114,6 +118,9 @@ xvfb-run -a pytest-3 -v
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 12 2023 wangkai <13474090681@163.com> - 1.3.0-3
|
||||||
|
- Modify buildrequires to fix local self-compilation
|
||||||
|
|
||||||
* Wed Aug 02 2023 yaoxin <yao_xin001@hoperun.com> - 1.3.0-2
|
* Wed Aug 02 2023 yaoxin <yao_xin001@hoperun.com> - 1.3.0-2
|
||||||
- Fix build failure caused by python-sphinx update to 7.0.1
|
- Fix build failure caused by python-sphinx update to 7.0.1
|
||||||
|
|
||||||
@ -126,5 +133,5 @@ xvfb-run -a pytest-3 -v
|
|||||||
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 1.2.0-2
|
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 1.2.0-2
|
||||||
- License compliance rectification
|
- License compliance rectification
|
||||||
|
|
||||||
* Wed Jul 08 2021 liuliang <liuliang1@kylinos.cn> - 1.2.0-1
|
* Thu Jul 08 2021 liuliang <liuliang1@kylinos.cn> - 1.2.0-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user