diff options
| author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 04:15:42 +0000 |
|---|---|---|
| committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-02-25 04:15:42 +0000 |
| commit | 0b1917fcffb8c8299b2594b99d6683a321a2d03c (patch) | |
| tree | 4280e40b8975545ca3ae0c3868a4d191462f13ae | |
| parent | 0ec7f83f25e0906f992ab886674cf7154f1817b8 (diff) | |
automatic import of python3-mpmathopeneuler20.03
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-mpmath.spec | 92 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 94 insertions, 0 deletions
@@ -0,0 +1 @@ +/mpmath-1.2.1.tar.gz diff --git a/python-mpmath.spec b/python-mpmath.spec new file mode 100644 index 0000000..ae9b3e0 --- /dev/null +++ b/python-mpmath.spec @@ -0,0 +1,92 @@ +%global _empty_manifest_terminate_build 0 +Name: python-mpmath +Version: 1.2.1 +Release: 1 +Summary: Python library for arbitrary-precision floating-point arithmetic +License: BSD +URL: http://mpmath.org/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/95/ba/7384cb4db4ed474d4582944053549e02ec25da630810e4a23454bc9fa617/mpmath-1.2.1.tar.gz +BuildArch: noarch + +Requires: python3-pytest +Requires: python3-pycodestyle +Requires: python3-pytest-cov +Requires: python3-codecov +Requires: python3-wheel +Requires: python3-pytest + +%description +|pypi version| |Build status| |Code coverage status| |Zenodo Badge| +A Python library for arbitrary-precision floating-point arithmetic. +Website: http://mpmath.org/ +Main author: Fredrik Johansson <fredrik.johansson@gmail.com> +Mpmath is free software released under the New BSD License (see the +LICENSE file for details) + +%package -n python3-mpmath +Summary: Python library for arbitrary-precision floating-point arithmetic +Provides: python-mpmath +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-mpmath +|pypi version| |Build status| |Code coverage status| |Zenodo Badge| +A Python library for arbitrary-precision floating-point arithmetic. +Website: http://mpmath.org/ +Main author: Fredrik Johansson <fredrik.johansson@gmail.com> +Mpmath is free software released under the New BSD License (see the +LICENSE file for details) + +%package help +Summary: Development documents and examples for mpmath +Provides: python3-mpmath-doc +%description help +|pypi version| |Build status| |Code coverage status| |Zenodo Badge| +A Python library for arbitrary-precision floating-point arithmetic. +Website: http://mpmath.org/ +Main author: Fredrik Johansson <fredrik.johansson@gmail.com> +Mpmath is free software released under the New BSD License (see the +LICENSE file for details) + +%prep +%autosetup -n mpmath-1.2.1 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-mpmath -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Sat Feb 25 2023 Python_Bot <Python_Bot@openeuler.org> - 1.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +ef8a6449851755319673b06f71731d52 mpmath-1.2.1.tar.gz |
