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:
|
||||
* New binary wheels were added built with gcc 12
|
||||
(manylinux_2_28).
|
||||
* x86_64 wheels now require SSE4.2.
|
||||
* Built using Cython 3.0.10.
|
||||
- use PEP517/wheel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
BuildRequires: %{python_module Cython >= 3}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
@@ -54,10 +56,10 @@ Py3.4, quicktions is currently about 10x faster, and still about
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -67,6 +69,7 @@ export PYTHONDONTWRITEBYTECODE=1
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/quicktions.cpython-*so
|
||||
%{python_sitearch}/quicktions-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user