forked from pool/python-mrcz
Accepting request 1282932 from devel:languages:python
- Switch to pyproject macros. - Do not mark everything as pycache_only. OBS-URL: https://build.opensuse.org/request/show/1282932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mrcz?expand=0&rev=5
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 04:39:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
- Do not mark everything as pycache_only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 11:40:39 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mrcz
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -30,8 +30,10 @@ Patch: numpy2.patch
|
||||
Patch: new-pythons.patch
|
||||
BuildRequires: %{python_module blosc}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -52,10 +54,10 @@ microscopy.
|
||||
dos2unix README.rst
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -64,9 +66,7 @@ dos2unix README.rst
|
||||
%files %{python_files}
|
||||
%doc AUTHORS.txt README.rst
|
||||
%license LICENSE.txt
|
||||
%dir %{python_sitelib}/mrcz/
|
||||
%pycache_only %{python_sitelib}/mrcz-%{version}-py%{python_version}.egg-info/
|
||||
%pycache_only %{python_sitelib}/mrcz/*.py
|
||||
%pycache_only %{python_sitelib}/mrcz/__pycache__/
|
||||
%{python_sitelib}/mrcz
|
||||
%{python_sitelib}/mrcz-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user