## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 16; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # no tests in pypi tar and they haven't tagged any releases on GitHub so we # can't use tars from there. %global _description %{expand: Lazy transposing and slicing of h5py Datasets and zarr arrays} Name: python-lazy-ops Version: 0.2.0 Release: %{autorelease} Summary: Lazy transposing and slicing of h5py and Zarr Datasets # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://pypi.org/pypi/lazy_ops Source0: %{pypi_source lazy_ops} # Not included in PyPi, issue filed # https://github.com/catalystneuro/lazy_ops/issues/26 Source1: https://github.com/catalystneuro/lazy_ops/raw/407504d1c4b1447e9527e7bddd771b6cc6f4810a/LICENSE BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %description %_description %package -n python3-lazy-ops Summary: %{summary} BuildRequires: python3-devel # Not listed in requirements # PR for future releases: # https://github.com/catalystneuro/lazy_ops/pull/27 BuildRequires: %{py3_dist numpy} %description -n python3-lazy-ops %_description %prep %autosetup -n lazy_ops-%{version} cp %{SOURCE1} . %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l lazy_ops %check %pyproject_check_import %files -n python3-lazy-ops -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Wed Sep 04 2024 Miroslav Suchý - 0.2.0-16 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.2.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 17 2024 Python Maint - 0.2.0-14 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.2.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.2.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 03 2024 Benjamin A. Beasley - 0.2.0-11 - Assert that the .dist-info directory contains a license file * Fri Jul 21 2023 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Python Maint - 0.2.0-7 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Elliott Sales de Andrade - 0.2.0-5 - Drop support for i686 * Fri Jul 22 2022 Fedora Release Engineering - 0.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jun 21 2022 Python Maint - 0.2.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Oct 19 2021 Ankur Sinha (Ankur Sinha Gmail) - 0.2.0-1 - feat: init ## END: Generated by rpmautospec