forked from pool/python-mrcfile
		
	Accepting request 1251737 from home:glaubitz:branches:devel:languages:python
- Update to 1.5.4 * Fix rare bug in mmap alignment with certain extended header sizes * Add test and documentation code to source distribution * Add support for Python 3.13 and numpy 2.1 & 2.2 - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install - Use Python 3.11 on SLE-15 by default OBS-URL: https://build.opensuse.org/request/show/1251737 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mrcfile?expand=0&rev=9
This commit is contained in:
		| @@ -1,3 +1,16 @@ | |||||||
|  | ------------------------------------------------------------------- | ||||||
|  | Mon Mar 10 10:05:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> | ||||||
|  |  | ||||||
|  | - Update to 1.5.4 | ||||||
|  |   * Fix rare bug in mmap alignment with certain extended header sizes | ||||||
|  |   * Add test and documentation code to source distribution | ||||||
|  |   * Add support for Python 3.13 and numpy 2.1 & 2.2 | ||||||
|  | - Switch build system from setuptools to pyproject.toml | ||||||
|  |   * Add python-pip and python-wheel to BuildRequires | ||||||
|  |   * Replace %python_build with %pyproject_wheel | ||||||
|  |   * Replace %python_install with %pyproject_install | ||||||
|  | - Use Python 3.11 on SLE-15 by default | ||||||
|  |  | ||||||
| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ||||||
| Mon Sep  9 13:31:02 UTC 2024 - Markéta Machová <mmachova@suse.com> | Mon Sep  9 13:31:02 UTC 2024 - Markéta Machová <mmachova@suse.com> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| # | # | ||||||
| # spec file for package python-mrcfile | # spec file for package python-mrcfile | ||||||
| # | # | ||||||
| # Copyright (c) 2024 SUSE LLC | # Copyright (c) 2025 SUSE LLC | ||||||
| # | # | ||||||
| # All modifications and additions to the file contributed by third parties | # All modifications and additions to the file contributed by third parties | ||||||
| # remain the property of their copyright owners, unless otherwise agreed | # remain the property of their copyright owners, unless otherwise agreed | ||||||
| @@ -16,14 +16,17 @@ | |||||||
| # | # | ||||||
|  |  | ||||||
|  |  | ||||||
|  | %{?sle15_python_module_pythons} | ||||||
| Name:           python-mrcfile | Name:           python-mrcfile | ||||||
| Version:        1.5.3 | Version:        1.5.4 | ||||||
| Release:        0 | Release:        0 | ||||||
| Summary:        MRC file I/O library | Summary:        MRC file I/O library | ||||||
| License:        BSD-3-Clause | License:        BSD-3-Clause | ||||||
| URL:            https://github.com/ccpem/mrcfile | URL:            https://github.com/ccpem/mrcfile | ||||||
| Source:         https://github.com/ccpem/mrcfile/archive/refs/tags/v%{version}.tar.gz | Source:         https://github.com/ccpem/mrcfile/archive/refs/tags/v%{version}.tar.gz | ||||||
|  | BuildRequires:  %{python_module pip} | ||||||
| BuildRequires:  %{python_module setuptools} | BuildRequires:  %{python_module setuptools} | ||||||
|  | BuildRequires:  %{python_module wheel} | ||||||
| BuildRequires:  python-rpm-macros | BuildRequires:  python-rpm-macros | ||||||
| # SECTION test requirements | # SECTION test requirements | ||||||
| BuildRequires:  %{python_module numpy >= 1.16.0} | BuildRequires:  %{python_module numpy >= 1.16.0} | ||||||
| @@ -44,10 +47,10 @@ is used in structural biology to store image and volume data. | |||||||
| %autosetup -p1 -n mrcfile-%{version} | %autosetup -p1 -n mrcfile-%{version} | ||||||
|  |  | ||||||
| %build | %build | ||||||
| %python_build | %pyproject_wheel | ||||||
|  |  | ||||||
| %install | %install | ||||||
| %python_install | %pyproject_install | ||||||
| %python_clone -a %{buildroot}%{_bindir}/mrcfile-header | %python_clone -a %{buildroot}%{_bindir}/mrcfile-header | ||||||
| %python_clone -a %{buildroot}%{_bindir}/mrcfile-validate | %python_clone -a %{buildroot}%{_bindir}/mrcfile-validate | ||||||
| %python_expand %fdupes %{buildroot}%{$python_sitelib} | %python_expand %fdupes %{buildroot}%{$python_sitelib} | ||||||
|   | |||||||
| @@ -1,3 +0,0 @@ | |||||||
| version https://git-lfs.github.com/spec/v1 |  | ||||||
| oid sha256:5111e12347db75028e4c231117910dfa3fdf9608f30bec2c2868f9c523df24e8 |  | ||||||
| size 148151409 |  | ||||||
							
								
								
									
										3
									
								
								v1.5.4.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								v1.5.4.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | version https://git-lfs.github.com/spec/v1 | ||||||
|  | oid sha256:16d8f3dc15dbf5fc0fbe55accad9de053dd2ac8d065a1160ac781cad94a0beef | ||||||
|  | size 52054331 | ||||||
		Reference in New Issue
	
	Block a user