forked from pool/python-quicktions
- use PEP517/wheel build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-quicktions?expand=0&rev=25
This commit is contained in:
@@ -4,8 +4,7 @@ Mon Jun 10 09:45:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|||||||
- update to 1.18:
|
- update to 1.18:
|
||||||
* New binary wheels were added built with gcc 12
|
* New binary wheels were added built with gcc 12
|
||||||
(manylinux_2_28).
|
(manylinux_2_28).
|
||||||
* x86_64 wheels now require SSE4.2.
|
- use PEP517/wheel build
|
||||||
* Built using Cython 3.0.10.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 25 12:27:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Mar 25 12:27:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
@@ -26,7 +26,9 @@ URL: https://github.com/scoder/quicktions
|
|||||||
Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/q/quicktions/quicktions-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Cython >= 3}
|
BuildRequires: %{python_module Cython >= 3}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -54,10 +56,10 @@ Py3.4, quicktions is currently about 10x faster, and still about
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export CFLAGS="%{optflags}"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -67,6 +69,7 @@ export PYTHONDONTWRITEBYTECODE=1
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/quicktions.cpython-*so
|
||||||
|
%{python_sitearch}/quicktions-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user