Search
SailfishOS Open Build Service
>
Projects
>
home:wrzof
>
python3-numexpr
> python3-numexpr.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python3-numexpr.spec of Package python3-numexpr
# # spec file for package python3-numexpr for Mer, based on OpenSuse version # Name: python3-numexpr Version: 2.4 Release: 0 Url: http://code.google.com/p/numexpr/ Summary: Fast numerical expression evaluator for NumPy License: MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: python3-numpy-devel >= 1.6 Requires: python3-numpy >= 1.6 %define python3_sitearch %{_libdir}/python3.?/site-packages %description Numexpr is a fast numerical expression evaluator for NumPy. With it, expressions that operate on arrays (like "3*a+4*b") are accelerated and use less memory than doing the same calculation in Python. %prep %setup -q -n numexpr-%{version} %build CFLAGS="%{optflags} -fno-strict-aliasing" python3 setup.py build %install python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc ANNOUNCE.rst AUTHORS.txt LICENSE.txt README.rst RELEASE_NOTES.rst site.cfg.example %{python3_sitearch}/numexpr/ %{python3_sitearch}/numexpr-%{version}-py*.egg-info %changelog