Blame SPECS/python-numexpr.spec

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