## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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-ypy-websocket Version: 0.8.4 Release: %autorelease Summary: WebSocket connector for Ypy License: MIT URL: https://github.com/y-crdt/ypy-websocket Source: %{pypi_source ypy_websocket} BuildArch: noarch BuildRequires: python3-devel # Manual test requires because upstream [test] extra # contains also mypy and pre-commit. BuildRequires: python3-pytest BuildRequires: python3-pytest-asyncio BuildRequires: python3-websockets %global _description %{expand: ypy-websocket is an async WebSocket connector for Ypy.} %description %_description %package -n python3-ypy-websocket Summary: %{summary} %description -n python3-ypy-websocket %_description %prep %autosetup -p1 -n ypy_websocket-%{version} # Remove upper version limit from aiofiles sed -i "s/,<23//" pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files ypy_websocket %check # test_ypy_yjs.py requires https://www.npmjs.com/package/yjs %pytest --ignore=tests/test_ypy_yjs.py %files -n python3-ypy-websocket -f %{pyproject_files} %doc README.md %changelog * Fri Jul 21 2023 Fedora Release Engineering - 0.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 0.8.4-2 - Rebuilt for Python 3.12 * Thu Feb 23 2023 Lumir Balhar - 0.8.4-1 - Update to 0.8.4 (rhbz#2171400) * Fri Feb 17 2023 Lumír Balhar - 0.8.2-2 - Fix FTI with newer aiofiles * Thu Jan 05 2023 Lumír Balhar - 0.8.2-1 - Initial package