## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 Name: python-reactivex Version: 4.0.4 Release: %autorelease Summary: API for asynchronous programming with observable streams License: MIT URL: https://github.com/ReactiveX/RxPY # Use two sources. # Only PyPi sources contains a version number in pyproject files # Only github archive contains tests Source0: %{pypi_source reactivex} Source1: %{url}/archive/v%{version}/RxPy-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Test dependencies: BuildRequires: python3dist(pytest) %global _description\ ReactiveX for Python (RxPY) is a library for composing asynchronous and\ event-based programs using observable sequences and pipable query\ operators in Python. Using Rx, developers represent asynchronous\ data streams with Observables, query asynchronous data streams\ using operators, and parameterize concurrency in data/event\ streams using Schedulers. %description %_description %package -n python3-reactivex Summary: %{summary} %description -n python3-reactivex %_description %prep %autosetup -n reactivex-%{version} tar -xf %{SOURCE1} RxPY-%{version}/tests --strip-components=1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files reactivex %check %pytest %pyproject_check_import %files -n python3-reactivex -f %{pyproject_files} %doc README.rst %license LICENSE %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 4.0.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 4.0.4-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 4.0.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 4.0.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 4.0.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 4.0.4-2 - Rebuilt for Python 3.12 * Fri Mar 03 2023 Steve Traylen - 4.0.4-1 - Initial Package ## END: Generated by rpmautospec