Name: python-boltons Version: 23.1.1 Release: 2%{?dist} Summary: Functionality that should be in the standard library License: BSD-3-Clause URL: https://github.com/mahmoud/boltons %global pypi_name boltons Source: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: make BuildRequires: python3-sphinx BuildRequires: python3-sphinx_rtd_theme %global _description %{expand: Boltons is a set of over 230 BSD-licensed, pure-Python utilities in the same spirit as — and yet conspicuously missing from — the standard library, including: * Atomic file saving, bolted on with fileutils * A highly-optimized OrderedMultiDict, in dictutils * Two types of PriorityQueue, in queueutils * Chunked and windowed iteration, in iterutils * Recursive data structure iteration and merging, with iterutils.remap * Exponential backoff functionality, including jitter, through iterutils.backoff * A full-featured TracebackInfo type, for representing stack traces, in tbutils} %description %_description %package -n python3-boltons Summary: %{summary} %description -n python3-boltons %_description %prep %autosetup -p1 -n boltons-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel make -C docs man %install %pyproject_install mkdir -p %{buildroot}%{_mandir}/man1 install -m644 docs/_build/man/boltons.1 %{buildroot}%{_mandir}/man1/ %pyproject_save_files boltons %check %pytest -v %files -n python3-boltons -f %{pyproject_files} %doc CHANGELOG.md README.md TODO.rst %{_mandir}/man1/boltons.1* %changelog * Wed Nov 29 2023 Orion Poplawski - 23.1.1-2 - Build man page * Tue Nov 28 2023 Orion Poplawski - 23.1.1-1 - Initial Fedora package