Search
SailfishOS Open Build Service
>
Projects
>
home:rcolistete
>
python-mpmath
> python-mpmath.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-mpmath.spec of Package python-mpmath
# # spec file for package python-mpmath for Mer, based on OpenSuse version # %define modname mpmath Name: python-%{modname} Version: 0.19 Release: 1 License: BSD-3-Clause Summary: Python library for arbitrary-precision floating-point arithmetic Url: http://mpmath.googlecode.com Packager: Roberto Colistete Jr. <rcolistete.maemo@gmail.com> Vendor: Fredrik Johansson <mpmath@googlegroups.com> Group: Development/Libraries/Python Source0: %{modname}-%{version}.tar.gz BuildRequires: python-devel >= 2.5 BuildRequires: python-six Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Mpmath is a pure-Python library for multiprecision floating-point arithmetic. It provides an extensive set of transcendental functions, unlimited exponent sizes, complex numbers, interval arithmetic, numerical integration and differentiation, root-finding, linear algebra, and much more. Almost any calculation can be performed just as well at 10-digit or 1000-digit precision, and in many cases mpmath implements asymptotically fast algorithms that scale well for extremely high precision work. If available, mpmath will (optionally) use gmpy to speed up high precision operations. %prep %setup -q -n %{modname}-%{version} sed -i 's/\r//' mpmath/tests/runtests.py # fix wrong-script-end-of-line-encoding rpmlint warning sed -i '1d' mpmath/tests/runtests.py # fix non-executable-script rpmlint warning %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root) %{python_sitelib}/* %changelog * Sun Aug 14 2016 Roberto Colistete Jr. <rcolistete.maemo@gmail.com> - 0.19 - mpmath 0.19 (10/06/2014) for Mer (14/08/2016) : - * first release.