## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 %global srcname zict Name: python-%{srcname} Version: 3.0.0 Release: %autorelease Summary: Mutable mapping tools License: BSD-3-Clause URL: https://pypi.python.org/pypi/%{srcname} Source0: %pypi_source BuildArch: noarch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: python3-devel BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-asyncio) BuildRequires: python3dist(pytest-repeat) BuildRequires: python3dist(pytest-timeout) # lmdb is broken with python 3.13: # https://bugzilla.redhat.com/show_bug.cgi?id=2259530 # https://github.com/jnwatson/py-lmdb/issues/362 #BuildRequires: python3dist(lmdb) BuildRequires: python3dist(psutil) %global _description %{expand: Zict builds abstract MutableMapping classes that consume and build on other MutableMappings. They can be composed with each other to form intuitive interfaces over complex storage systems policies. Data can be stored in-memory, on disk, in archive files, etc., managed with different policies like LRU, and transformed when arriving or departing the dictionary.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} # drop LMDB bits till LMDB is buildable again rm -f zict/lmdb.py sed -i "/lmdb/d" zict/__init__.py rm -f zict/tests/test_lmdb.py %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{pytest} -ra %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Jun 18 2024 Adam Williamson - 3.0.0-6 - Disable LMDB support as LMDB is not working on Python 3.13 yet * Fri Jan 26 2024 Fedora Release Engineering - 3.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Python Maint - 3.0.0-2 - Rebuilt for Python 3.12 * Tue Apr 18 2023 Elliott Sales de Andrade - 3.0.0-1 - Update to latest version (#2187541) * Sun Apr 09 2023 Elliott Sales de Andrade - 2.2.0-6 - Switch to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 2.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Elliott Sales de Andrade - 2.2.0-4 - Drop support for i686 * Fri Jul 22 2022 Fedora Release Engineering - 2.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.0-2 - Rebuilt for Python 3.11 * Mon May 23 2022 Elliott Sales de Andrade - 2.2.0-1 - Update to latest version (#2079934) * Sun Feb 27 2022 Elliott Sales de Andrade - 2.1.0-1 - Update to latest version (#2058817) * Sun Feb 27 2022 Elliott Sales de Andrade - 2.0.0-11 - Switch to latest Python macros * Fri Jan 21 2022 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.0.0-2 - Rebuilt for Python 3.9 * Fri Feb 28 2020 Elliott Sales de Andrade - 2.0.0-1 - Update to latest version * Thu Jan 30 2020 Fedora Release Engineering - 1.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.0.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.0.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 26 2019 Elliott Sales de Andrade - 1.0.0-1 - Update to latest version * Sat Mar 09 2019 Elliott Sales de Andrade - 0.1.4-1 - Update to latest version * Sat Feb 02 2019 Fedora Release Engineering - 0.1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 13 2018 Elliott Sales de Andrade - 0.1.3-1 - Update to latest version * Wed Sep 19 2018 Elliott Sales de Andrade - 0.1.2-7 - Drop Python 2 subpackages * Sat Jul 14 2018 Fedora Release Engineering - 0.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.1.2-5 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 23 2017 Elliott Sales de Andrade 0.1.2-3 - Enable python-lmdb tests. * Wed Aug 23 2017 Elliott Sales de Andrade 0.1.2-2 - Standardize spec a bit more. - Simplify description a bit. * Mon Jun 5 2017 Elliott Sales de Andrade 0.1.2-1 - New upstream release. * Mon Feb 27 2017 Elliott Sales de Andrade 0.1.1-1 - Initial package release. ## END: Generated by rpmautospec