|
 |
d1fbc2 |
Summary: Fast numerical array expression evaluator for Python and NumPy
|
|
 |
d1fbc2 |
Name: python-numexpr
|
|
 |
d1fbc2 |
Version: 2.7.1
|
|
 |
d1fbc2 |
Release: 5%{?dist}
|
|
 |
d1fbc2 |
URL: https://github.com/pydata/numexpr
|
|
 |
d1fbc2 |
Source0: https://github.com/pydata/numexpr/archive/v%{version}/numexpr-%{version}.tar.gz
|
|
 |
d1fbc2 |
License: MIT
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
BuildRequires: gcc-c++
|
|
 |
d1fbc2 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
 |
d1fbc2 |
BuildRequires: python%{python3_pkgversion}-numpy
|
|
 |
d1fbc2 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%global _description %{expand:
|
|
 |
d1fbc2 |
The numexpr package evaluates multiple-operator array expressions many
|
|
 |
d1fbc2 |
times faster than NumPy can. It accepts the expression as a string,
|
|
 |
d1fbc2 |
analyzes it, rewrites it more efficiently, and compiles it to faster
|
|
 |
d1fbc2 |
Python code on the fly. It’s the next best thing to writing the
|
|
 |
d1fbc2 |
expression in C and compiling it with a specialized just-in-time (JIT)
|
|
 |
d1fbc2 |
compiler, i.e. it does not require a compiler at runtime.}
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%description %_description
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%package -n python%{python3_pkgversion}-numexpr
|
|
 |
d1fbc2 |
Summary: %{summary}
|
|
 |
d1fbc2 |
Requires: python%{python3_pkgversion}-numpy >= 1.6
|
|
 |
d1fbc2 |
%{?python_provide:%python_provide python%{python3_pkgversion}-numexpr}
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%description -n python%{python3_pkgversion}-numexpr %_description
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
This is the version for Python 3.
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%prep
|
|
 |
d1fbc2 |
%autosetup -n numexpr-%{version} -p1
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%build
|
|
 |
d1fbc2 |
%py3_build
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%install
|
|
 |
d1fbc2 |
%py3_install
|
|
 |
d1fbc2 |
chmod 0755 %{buildroot}%{python3_sitearch}/numexpr/cpuinfo.py
|
|
 |
d1fbc2 |
sed -i "1s|/usr/bin/env python$|%{__python3}|" %{buildroot}%{python3_sitearch}/numexpr/cpuinfo.py
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%check
|
|
 |
d1fbc2 |
pushd build/lib.linux*%{python3_version}
|
|
 |
d1fbc2 |
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -c 'import numexpr, sys; sys.exit(not numexpr.test().wasSuccessful())'
|
|
 |
d1fbc2 |
popd
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%files -n python%{python3_pkgversion}-numexpr
|
|
 |
d1fbc2 |
%license LICENSE.txt
|
|
 |
d1fbc2 |
%doc ANNOUNCE.rst RELEASE_NOTES.rst README.rst
|
|
 |
d1fbc2 |
%{python3_sitearch}/numexpr/
|
|
 |
d1fbc2 |
%{python3_sitearch}/numexpr-%{version}-py*.egg-info
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
%changelog
|
|
 |
d1fbc2 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-5
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-4
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 2.7.1-3
|
|
 |
d1fbc2 |
- Rebuilt for Python 3.9
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Jan 5 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7.1-1
|
|
 |
d1fbc2 |
- Update to latest version (#1787863)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.7.0-3
|
|
 |
d1fbc2 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Aug 18 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7.0-2
|
|
 |
d1fbc2 |
- Rebuilt for Python 3.8
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Aug 17 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.7.0-1
|
|
 |
d1fbc2 |
- Update to latest version (#1614993)
|
|
 |
d1fbc2 |
- Various modernization to the spec file. Actually fail %%check if the test
|
|
 |
d1fbc2 |
suite fails.
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.6-4
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Mon Jul 08 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6.6-3
|
|
 |
d1fbc2 |
- Subpackage python2-numexpr has been removed
|
|
 |
d1fbc2 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.6-2
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Jul 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.6-1
|
|
 |
d1fbc2 |
- Update to latest version (#1491485)
|
|
 |
d1fbc2 |
- Update spec file, use versioned python macros
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-11
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6.1-10
|
|
 |
d1fbc2 |
- Rebuilt for Python 3.7
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-9
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Oct 24 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 2.6.1-8
|
|
 |
d1fbc2 |
- Fix ELF stripping
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-7
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-6
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-5
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 2.6.1-4
|
|
 |
d1fbc2 |
- Rebuild for Python 3.6
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Jul 30 2016 Petr Viktorin <pviktori@redhat.com> - 2.6.1-3
|
|
 |
d1fbc2 |
- Make shebang of cpuinfo.py refer to specific Python version (#1361799)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
|
|
 |
d1fbc2 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Jul 19 2016 Thibault North <tnorth@fedoraproject.org> - 2.6.1-1
|
|
 |
d1fbc2 |
- Update to 2.6.1
|
|
 |
d1fbc2 |
- Fix project URL
|
|
 |
d1fbc2 |
- Fix cpuinfo permission in py3 package
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Wed Jun 1 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.6.0-1
|
|
 |
d1fbc2 |
- Update to latest version
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue May 17 2016 Orion Poplawski <orion@cora.nwra.com> - 2.5.2-2
|
|
 |
d1fbc2 |
- Update provides filter
|
|
 |
d1fbc2 |
- Use %%python3_pkgversion for EPEL7 compatibility
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Apr 12 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5.2-1
|
|
 |
d1fbc2 |
- Update to latest version (#1305251)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Feb 6 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5-1
|
|
 |
d1fbc2 |
- Update to latest version
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-3
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Wed Nov 18 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.6-2
|
|
 |
d1fbc2 |
- Create python2 subpackage
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Nov 14 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.4.6-1
|
|
 |
d1fbc2 |
- Update to latest version
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-7
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-6
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.3-5
|
|
 |
d1fbc2 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-4
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.3-2
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Jan 28 2014 Thibault North <tnorth@fedoraproject.org> -2.3-1
|
|
 |
d1fbc2 |
- Update to new release 2.3
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Fri Jan 17 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.2-2
|
|
 |
d1fbc2 |
- Move requirements to the proper package (#1054683)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Sep 29 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.2-1
|
|
 |
d1fbc2 |
- Update to 2.2.2 (#1013130)
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Mon Sep 09 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2.1-1
|
|
 |
d1fbc2 |
- Update to 2.2.1
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Sep 05 2013 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.2-1
|
|
 |
d1fbc2 |
- Update to 2.2
|
|
 |
d1fbc2 |
- Add python3-numexpr package
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-4
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-3
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.1-2
|
|
 |
d1fbc2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Jan 8 2012 Thibault North <tnorth@fedoraproject.org> - 2.0.1-1
|
|
 |
d1fbc2 |
- Update to 2.0.1
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Nov 27 2011 Thibault North <tnorth@fedoraproject.org> - 2.0-1
|
|
 |
d1fbc2 |
- Update to 2.0
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Sun Oct 30 2011 Thibault North <tnorth@fedoraproject.org> - 1.4.2-2
|
|
 |
d1fbc2 |
- Add check section
|
|
 |
d1fbc2 |
- Fix permissions and remove useless sections
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Thu Oct 20 2011 Thibault North <tnorth@fedoraproject.org> - 1.4.2-1
|
|
 |
d1fbc2 |
- Updated to 1.4.2
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Fri Apr 29 2011 Thibault North <tnorth@fedoraproject.org> - 1.4.1-3
|
|
 |
d1fbc2 |
- Fix buildroot issue
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Tue Dec 21 2010 Thibault North <tnorth@fedoraproject.org> - 1.4.1-2
|
|
 |
d1fbc2 |
- Fixes for the review process
|
|
 |
d1fbc2 |
|
|
 |
d1fbc2 |
* Fri Nov 05 2010 Thibault North <tnorth@fedoraproject.org> - 1.4.1-1
|
|
 |
d1fbc2 |
- Initial package based on Mandriva's one
|