From c2cd9443c56d21c0c4b48c4fcff6db44053c5688 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Feb 20 2024 15:01:18 +0000 Subject: Import python-reactivex-4.0.4-5.fc40.src.rpm Related-to: https://review.rdoproject.org/r/q/I872bdc5ee7f638be69b3cea1b4a604cd5ce54de2 --- diff --git a/.python-reactivex.metadata b/.python-reactivex.metadata new file mode 100644 index 0000000..7006c59 --- /dev/null +++ b/.python-reactivex.metadata @@ -0,0 +1,2 @@ +fb7f361f0edbe885410709a79eb4d793dc7d0128 SOURCES/reactivex-4.0.4.tar.gz +cec33a74884903ce89fb405a2ca5a0ba3f7c9111 SOURCES/RxPy-4.0.4.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-reactivex.spec b/SPECS/python-reactivex.spec new file mode 100644 index 0000000..b317bd4 --- /dev/null +++ b/SPECS/python-reactivex.spec @@ -0,0 +1,80 @@ +Name: python-reactivex +Version: 4.0.4 +Release: 5%{dist} +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 +BuildRequires: pyproject-rpm-macros + +# 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 +* 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