diff --git a/numexpr-2.8.4.tar.gz b/numexpr-2.8.4.tar.gz new file mode 100644 index 0000000..6df58e6 --- /dev/null +++ b/numexpr-2.8.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d5432537418d18691b9115d615d6daa17ee8275baef3edf1afbbf8bc69806147 +size 98719 diff --git a/numexpr-2.8.5.tar.gz b/numexpr-2.8.5.tar.gz deleted file mode 100644 index 370efe9..0000000 --- a/numexpr-2.8.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45ed41e55a0abcecf3d711481e12a5fb7a904fe99d42bc282a17cc5f8ea510be -size 101666 diff --git a/python-numexpr.changes b/python-numexpr.changes index 2f32312..747eb03 100644 --- a/python-numexpr.changes +++ b/python-numexpr.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Sep 4 19:07:09 UTC 2023 - Ben Greiner + +- Revert to version 2.8.4: Patch release breaks its API and thus + Pandas -- gh#pydata/numexpr#442, gh#pydata/numexpr#444 +- Move to PEP517 build + ------------------------------------------------------------------- Sun Aug 27 21:31:12 UTC 2023 - Arun Persaud diff --git a/python-numexpr.spec b/python-numexpr.spec index 352ca50..679c4df 100644 --- a/python-numexpr.spec +++ b/python-numexpr.spec @@ -17,7 +17,7 @@ Name: python-numexpr -Version: 2.8.5 +Version: 2.8.4 Release: 0 Summary: Numerical expression evaluator for NumPy License: MIT @@ -26,7 +26,9 @@ URL: https://github.com/pydata/numexpr/ Source: https://files.pythonhosted.org/packages/source/n/numexpr/numexpr-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.7} BuildRequires: %{python_module numpy-devel >= 1.13.3} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: python-rpm-macros @@ -48,10 +50,10 @@ sed -i '/^#!/ d' numexpr/cpuinfo.py %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -65,7 +67,7 @@ popd %files %{python_files} %doc ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst site.cfg.example %license LICENSE.txt -%{python_sitearch}/numexpr/ -%{python_sitearch}/numexpr-%{version}-py*.egg-info +%{python_sitearch}/numexpr +%{python_sitearch}/numexpr-%{version}.dist-info %changelog