commit 109ecbcdb95d16456668aa912a55f6ab45412fd15815eb8fc28f1be3c2622c91 Author: Markéta Machová Date: Tue Mar 5 09:46:13 2024 +0000 Accepting request 1154421 from home:bnavigator:branches:server:database required by python-influxdb-client for influxdb 2 OBS-URL: https://build.opensuse.org/request/show/1154421 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-reactivex?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-reactivex.changes b/python-reactivex.changes new file mode 100644 index 0000000..d36528b --- /dev/null +++ b/python-reactivex.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Mar 3 11:48:45 UTC 2024 - Ben Greiner + +- Initial specfile for v4.0.4 required for python-influxdb-client diff --git a/python-reactivex.spec b/python-reactivex.spec new file mode 100644 index 0000000..713f681 --- /dev/null +++ b/python-reactivex.spec @@ -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 diff --git a/reactivex-4.0.4-gh.tar.gz b/reactivex-4.0.4-gh.tar.gz new file mode 100644 index 0000000..13b348e --- /dev/null +++ b/reactivex-4.0.4-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4222862253bfc7c34baefffc8761fea7b66446576791450cacb65584d9c92fb8 +size 916572