forked from pool/python-mrcz
		
	Accepting request 1226889 from home:mcalabkova:branches:devel:languages:python
- Update to 0.5.7 * Renamed np.product to np.prod as the old name is deprecated in NumPy 2.0. - Add patch new-pythons.patch to fix build with Python 3.13 - Python 2 can be finally gone OBS-URL: https://build.opensuse.org/request/show/1226889 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mrcz?expand=0&rev=9
This commit is contained in:
		| @@ -18,7 +18,7 @@ | ||||
|  | ||||
| %{?sle15_python_module_pythons} | ||||
| Name:           python-mrcz | ||||
| Version:        0.5.6 | ||||
| Version:        0.5.7 | ||||
| Release:        0 | ||||
| Summary:        MRCZ meta-compressed image file-format library | ||||
| License:        BSD-3-Clause | ||||
| @@ -26,6 +26,8 @@ URL:            https://github.com/em-MRCZ/python-mrcz | ||||
| Source:         https://github.com/em-MRCZ/python-mrcz/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz | ||||
| # PATCH-FIX-UPSTREAM https://github.com/em-MRCZ/python-mrcz/pull/15 Numpy 2.0 and deprecation fixes | ||||
| Patch:          numpy2.patch | ||||
| # PATCH-FIX-UPSTREAM https://github.com/em-MRCZ/python-mrcz/pull/16 Remove distutils / support python >=3.12 | ||||
| Patch:          new-pythons.patch | ||||
| BuildRequires:  %{python_module blosc} | ||||
| BuildRequires:  %{python_module numpy} | ||||
| BuildRequires:  %{python_module pytest} | ||||
| @@ -36,14 +38,6 @@ BuildRequires:  python-rpm-macros | ||||
| Requires:       python-numpy | ||||
| Recommends:     python-blosc | ||||
| BuildArch:      noarch | ||||
| %if %{with python2} | ||||
| BuildRequires:  python-enum34 | ||||
| BuildRequires:  python-futures | ||||
| %endif | ||||
| %ifpython2 | ||||
| Requires:       python-enum34 | ||||
| Requires:       python-futures | ||||
| %endif | ||||
| %python_subpackages | ||||
|  | ||||
| %description | ||||
|   | ||||
		Reference in New Issue
	
	Block a user