From 484a3d98d224e6c73c29a0a0cfbbbc14c34c2d705ead724c55e2d9a6ac8d107b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 27 Sep 2024 07:32:51 +0000 Subject: [PATCH] Accepting request 1203966 from home:alarrosa:branches:devel:languages:python New package python-async-wrapper, needed by python-timeout-executor that I'll submit later OBS-URL: https://build.opensuse.org/request/show/1203966 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async-wrapper?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + async_wrapper-0.10.0.tar.gz | 3 ++ python-async-wrapper.changes | 4 ++ python-async-wrapper.spec | 71 ++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 async_wrapper-0.10.0.tar.gz create mode 100644 python-async-wrapper.changes create mode 100644 python-async-wrapper.spec 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/async_wrapper-0.10.0.tar.gz b/async_wrapper-0.10.0.tar.gz new file mode 100644 index 0000000..58947f0 --- /dev/null +++ b/async_wrapper-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be5730859590366f7b0f8856035ea95612f745ea5c58c2b70d411366c7729a81 +size 16083 diff --git a/python-async-wrapper.changes b/python-async-wrapper.changes new file mode 100644 index 0000000..034123c --- /dev/null +++ b/python-async-wrapper.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Sep 26 19:14:00 UTC 2024 - Antonio Larrosa + +- Initial release of python-async-wrapper 0.10.0 diff --git a/python-async-wrapper.spec b/python-async-wrapper.spec new file mode 100644 index 0000000..bd1006f --- /dev/null +++ b/python-async-wrapper.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-async-wrapper +# +# 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-async-wrapper +Version: 0.10.0 +Release: 0 +Summary: async wrapper python library +License: MIT +URL: None +Source: https://files.pythonhosted.org/packages/source/a/async-wrapper/async_wrapper-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module hatch-vcs} +BuildRequires: %{python_module hatchling} +BuildRequires: %{python_module pip} +# SECTION test requirements +BuildRequires: %{python_module anyio >= 4.0.0} +BuildRequires: %{python_module sniffio >= 1.3.1} +BuildRequires: %{python_module typing-extensions >= 4.4.0} +BuildRequires: %{python_module aiosqlite >= 0.20.0} +BuildRequires: %{python_module pytest >= 8.0.0} +BuildRequires: %{python_module pytest-cov >= 5.0.0} +BuildRequires: %{python_module pytest-xdist >= 3.6.1} +BuildRequires: %{python_module trio >= 0.24.0} +# /SECTION +BuildRequires: fdupes +Requires: python-anyio >= 4.0.0 +Requires: python-sniffio >= 1.3.1 +Requires: python-typing-extensions >= 4.4.0 +Suggests: python-uvloop +Suggests: python-sqlalchemy +Suggests: python-greenlet +Suggests: python-sphinx >= 7.1.0 +Suggests: python-readthedocs-sphinx-search >= 0.3.2 +Suggests: python-sphinx-rtd-theme >= 2.0.0 +Suggests: python-sphinx-mdinclude >= 0.5.3 +BuildArch: noarch +%python_subpackages + +%description +async-wrapper + +%prep +%autosetup -p1 -n async_wrapper-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%{python_sitelib}/async_wrapper +%{python_sitelib}/async_wrapper-%{version}.dist-info + +%changelog