## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 Name: python-socketio Version: 5.11.4 Release: %autorelease Summary: Socket.IO server # SPDX License: MIT URL: https://github.com/miguelgrinberg/python-socketio Source: %{url}/archive/v%{version}/python-socketio-%{version}.tar.gz # Downstream-only: patch out test coverage analysis # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters Patch: 0001-Downstream-only-patch-out-test-coverage-analysis.patch BuildArch: noarch BuildRequires: python3-devel # Extra testing dependencies BuildRequires: python3dist(pytest) %global common_description %{expand: Socket.IO is a transport protocol that enables real-time bidirectional event-based communication between clients (typically, though not always, web browsers) and a server. The official implementations of the client and server components are written in JavaScript. This package provides Python implementations of both, each with standard and asyncio variants.} %description %{common_description} %package -n python3-socketio Summary: %{summary} # Dropped in F41; can be removed in F45. Obsoletes: python-socketio-doc < 5.11.2-4 %description -n python3-socketio %{common_description} %pyproject_extras_subpkg -n python3-socketio client asyncio_client %prep %autosetup -p1 %generate_buildrequires %pyproject_buildrequires -x client,asyncio_client -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l socketio %check %pytest %files -n python3-socketio -f %{pyproject_files} %doc CHANGES.md %doc README.md %doc SECURITY.md %changelog ## START: Generated by rpmautospec * Sun Sep 22 2024 Benjamin A. Beasley - 5.11.4-2 - F41+: Clean up residual bits of the removed -doc subpackage * Mon Sep 02 2024 Packit - 5.11.4-1 - Update to 5.11.4 upstream release - Resolves: rhbz#2309296 * Fri Jul 19 2024 Fedora Release Engineering - 5.11.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 22 2024 Benjamin A. Beasley - 5.11.3-2 - Rebuilt for Python 3.13 (close RHBZ#2291920) * Fri Jun 21 2024 Packit - 5.11.3-1 - Update to 5.11.3 upstream release - Resolves: rhbz#2293566 * Sat Jun 08 2024 Benjamin A. Beasley - 5.11.2-4 - F41+: Stop building PDF documentation; drop -doc subpackage * Fri Jun 07 2024 Benjamin A. Beasley - 5.11.2-3 - Stop packaging the examples * Tue Mar 26 2024 Sandro Mani - 5.11.2-1 - Update to 5.11.2 * Mon Feb 05 2024 Packit - 5.11.1-1 - [packit] 5.11.1 upstream release - Resolves rhbz#2262831 * Fri Jan 26 2024 Fedora Release Engineering - 5.11.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 5.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 07 2024 Benjamin A. Beasley - 5.11.0-1 - Update to 5.11.0 (close RHBZ#2257113) * Mon Dec 18 2023 Benjamin A. Beasley - 5.10.0-2 - Assert that %%pyproject_files contains a license file * Sun Oct 29 2023 Benjamin A. Beasley - 5.10.0-1 - Update to 5.10.0 (close RHBZ#2244294) * Tue Sep 05 2023 Benjamin A. Beasley - 5.9.0-1 - Update to 5.9.0 (close RHBZ#2237128) * Fri Jul 21 2023 Fedora Release Engineering - 5.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 18 2023 Benjamin A. Beasley - 5.8.0-4 - Use new (rpm 4.17.1+) bcond style * Mon Mar 20 2023 Benjamin A. Beasley - 5.8.0-2 - Patch out test coverage analysis * Sun Mar 19 2023 Benjamin A. Beasley - 5.8.0-1 - Update to 5.8.0 (close RHBZ#2179194) * Sat Mar 18 2023 Benjamin A. Beasley - 5.7.2-6 - Do not require installed wheel metadata to build docs * Fri Jan 20 2023 Fedora Release Engineering - 5.7.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 21 2022 Benjamin A. Beasley - 5.7.2-4 - Indicate dirs. in files list with trailing slashes * Wed Nov 23 2022 Benjamin A. Beasley - 5.7.2-3 - Strip package-lock.json files from the examples * Wed Nov 23 2022 Benjamin A. Beasley - 5.7.2-2 - Confirm license is SPDX MIT * Mon Oct 17 2022 Benjamin A. Beasley - 5.7.2-1 - Update to 5.7.2 (close RHBZ#2135313) * Fri Jul 22 2022 Fedora Release Engineering - 5.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Benjamin A. Beasley - 5.7.1-1 - Update to 5.7.1 (close RHBZ#2107761) * Thu Jul 14 2022 Benjamin A. Beasley - 5.7.0-1 - Update to 5.7.0 (close RHBZ#2103685) * Sun Apr 24 2022 Benjamin A. Beasley - 5.6.0-1 - Update to 5.6.0 (close RHBZ#2078194) * Tue Feb 15 2022 Benjamin A. Beasley - 5.5.2-1 - Update to 5.5.2 (close RHBZ#2054647) * Fri Jan 21 2022 Fedora Release Engineering - 5.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 12 2022 Benjamin A. Beasley - 5.5.1-1 - Update to 5.5.1 (close RHBZ#2039293) * Fri Nov 26 2021 Benjamin A. Beasley - 5.5.0-2 - Reduce LaTeX PDF build verbosity * Sun Nov 14 2021 Benjamin A. Beasley - 5.5.0-1 - Update to 5.5.0 (close RHBZ#2023066) * Fri Oct 15 2021 Benjamin A. Beasley - 5.4.1-1 - Update to 5.4.1 * Fri Oct 01 2021 Benjamin A. Beasley - 5.4.0-6 - Fix PYTHONPATH when building documentation * Wed Sep 29 2021 Benjamin A. Beasley - 5.4.0-5 - Generate PDF instead of HTML Sphinx documentation. * Sun Sep 12 2021 Benjamin A. Beasley - 5.4.0-4 - Let pyproject-rpm-mmacros handle the license file * Sun Sep 12 2021 Benjamin A. Beasley - 5.4.0-3 - Drop BR on pyproject-rpm-macros, now implied by python3-devel * Sun Sep 12 2021 Benjamin A. Beasley - 5.4.0-2 - Reduce macro indirection in the spec file * Mon Aug 02 2021 Benjamin A. Beasley - 5.4.0-1 - Update to 5.4.0 * Tue Jul 27 2021 Benjamin A. Beasley - 5.3.0-2 - Move %%generate_buildrequires after %%prep to make the spec file easier to follow * Wed Jul 21 2021 Benjamin A. Beasley - 5.3.0-1 - Update to 5.3.0 (closes RHBZ#1875537) * Mon Jul 05 2021 Benjamin A. Beasley - 4.6.1-1 - Update to 4.6.1 - Near-total spec file rewrite - Remove obsolete practices like python_provide macro and manual Requires - Add documentation subpackage - Use pytest as test runner - Fix spurious executable permissions (upstream PR#748) * Fri Jun 04 2021 Python Maint - 4.6.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 03 2020 Mukundan Ragavan - 4.6.0-1 - Update to 4.6.0 * Wed Jul 29 2020 Fedora Release Engineering - 4.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 4.4.0-4 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 4.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 30 2019 Mukundan Ragavan - 4.4.0-2 - Use expand macro for description * Sun Dec 22 2019 Mukundan Ragavan - 4.4.0-1 - Initial package. ## END: Generated by rpmautospec