-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update python-reactivex to version 4.0.4 / rev 1 via SR 1155045
https://build.opensuse.org/request/show/1155045 by user mcalabkova + dimstar_suse needed by python-influxdb-client (I think?)
- Loading branch information
1 parent
522523d
commit 70a389f
Showing
6 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<package name="python-reactivex" project="openSUSE:Factory"> | ||
<title></title> | ||
<description></description> | ||
<devel project="devel:languages:python" package="python-reactivex"/> | ||
</package> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<revisionlist> | ||
<revision rev="1" vrev="1"> | ||
<srcmd5>e988025cff1db63e70055336ab91c853</srcmd5> | ||
<version>4.0.4</version> | ||
<time>1709762656</time> | ||
<user>dimstar_suse</user> | ||
<comment>needed by python-influxdb-client (I think?)</comment> | ||
<requestid>1155045</requestid> | ||
</revision> | ||
</revisionlist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
------------------------------------------------------------------- | ||
Sun Mar 3 11:48:45 UTC 2024 - Ben Greiner <[email protected]> | ||
|
||
- Initial specfile for v4.0.4 required for python-influxdb-client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# spec file for package python-reactivex | ||
# | ||
# Copyright (c) 2024 SUSE LLC | ||
# | ||
# All modifications and additions to the file contributed by third parties | ||
# remain the property of their copyright owners, unless otherwise agreed | ||
# upon. The license for this file, and modifications and additions to the | ||
# file, is the same license as for the pristine package itself (unless the | ||
# license for the pristine package is not an Open Source License, in which | ||
# case the license is the MIT License). An "Open Source License" is a | ||
# license that conforms to the Open Source Definition (Version 1.9) | ||
# published by the Open Source Initiative. | ||
|
||
# Please submit bugfixes or comments via https://bugs.opensuse.org/ | ||
# | ||
|
||
|
||
Name: python-reactivex | ||
Version: 4.0.4 | ||
Release: 0 | ||
Summary: ReactiveX (Rx) for Python | ||
License: MIT | ||
URL: https://reactivex.io | ||
# SourceRepository: https://github.com/ReactiveX/RxPY | ||
Source: https://github.com/ReactiveX/RxPY/archive/refs/tags/v%{version}.tar.gz#/reactivex-%{version}-gh.tar.gz | ||
BuildRequires: %{python_module base >= 3.7} | ||
BuildRequires: %{python_module pip} | ||
BuildRequires: %{python_module poetry-core >= 1.0.0} | ||
BuildRequires: fdupes | ||
BuildRequires: python-rpm-macros | ||
Requires: python-typing-extensions >= 4.1.1 | ||
BuildArch: noarch | ||
# SECTION test | ||
BuildRequires: %{python_module pytest-asyncio} | ||
BuildRequires: %{python_module pytest-xdist} | ||
BuildRequires: %{python_module pytest} | ||
BuildRequires: %{python_module typing-extensions >= 4.1.1} | ||
# /SECTION | ||
%python_subpackages | ||
|
||
%description | ||
A library for composing asynchronous and event-based programs using observable | ||
collections and query operator functions in Python | ||
|
||
%prep | ||
%autosetup -p1 -n RxPY-%{version} | ||
# https://github.com/ReactiveX/RxPY/blob/master/.github/workflows/python-publish.yml | ||
echo "__version__ = \"%{version}\"" > reactivex/_version.py | ||
sed -i 's/version = "0.0.0" # NOTE: will be updated by publish script/version = "%{version}"/' pyproject.toml | ||
|
||
%build | ||
%pyproject_wheel | ||
|
||
%install | ||
%pyproject_install | ||
%python_expand %fdupes %{buildroot}%{$python_sitelib} | ||
|
||
%check | ||
# -n 1: async errors on parallel build | ||
%pytest -n 1 | ||
|
||
%files %{python_files} | ||
%doc README.rst | ||
%license LICENSE | ||
%{python_sitelib}/reactivex | ||
%{python_sitelib}/reactivex-%{version}.dist-info | ||
|
||
%changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/ipfs/bafybeiheizvmlplwgfus7hwkog3pqlgcfziew5c54t3xkrnyhwl6uky4iu |