!3 Update package

From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-09-15 09:06:50 +00:00 committed by Gitee
commit 247ee43ff7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 38 additions and 7 deletions

23
0001-add-setup-file.patch Normal file
View File

@ -0,0 +1,23 @@
From b276dd6e1666229731318520902377eecefa07d7 Mon Sep 17 00:00:00 2001
From: liqiuyu123 <liqiuyu@kylinos.cn>
Date: Thu, 15 Sep 2022 10:23:38 +0800
Subject: [PATCH] add setup file
---
setup.py | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 setup.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..7f1a176
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,4 @@
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup()
--
2.37.1.windows.1

Binary file not shown.

Binary file not shown.

View File

@ -1,27 +1,31 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pytest-asyncio Name: python-pytest-asyncio
Version: 0.14.0 Version: 0.19.0
Release: 2 Release: 1
Summary: Pytest support for asyncio. Summary: Pytest support for asyncio.
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pytest-dev/pytest-asyncio URL: https://github.com/pytest-dev/pytest-asyncio
Source0: https://files.pythonhosted.org/packages/65/09/9472d4db0625cf56d40f4e405f955faf6469be00858a273b71332f3fcd1f/pytest-asyncio-0.14.0.tar.gz Source0: https://files.pythonhosted.org/packages/43/1c/4293ce5ddfd1db78fbf192bd3c47183c9ecc2816b8de382ed1b2491c7cea/pytest-asyncio-0.19.0.tar.gz
Patch0: 0001-add-setup-file.patch
BuildArch: noarch BuildArch: noarch
Requires: python3-pytest Requires: python3-pytest
Requires: python3-async-generator Requires: python3-typing-extensions
Requires: python3-async-generator
Requires: python3-coverage Requires: python3-coverage
Requires: python3-hypothesis Requires: python3-hypothesis
Requires: python3-flaky
Requires: python3-mypy
Requires: python3-pytest-trio
%description %description
Pytest support for asyncio Pytest support for asyncio
%package -n python3-pytest-asyncio %package -n python3-pytest-asyncio
Summary: Pytest support for asyncio. Summary: Pytest support for asyncio
Provides: python-pytest-asyncio Provides: python-pytest-asyncio
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-pytest
%description -n python3-pytest-asyncio %description -n python3-pytest-asyncio
Pytest support for asyncio Pytest support for asyncio
@ -32,7 +36,8 @@ Provides: python3-pytest-asyncio-doc
Pytest support for asyncio Pytest support for asyncio
%prep %prep
%autosetup -n pytest-asyncio-0.14.0 %autosetup -n pytest-asyncio-0.19.0
%patch0
%build %build
%py3_build %py3_build
@ -72,6 +77,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Aug 02 2022 liqiuyu <liqiuyu@kylinos.cn> - 0.19.0-1
- update to 0.19.0
* Wed May 18 2022 liukuo <liukuo@kylinos.cn> - 0.14.0-2 * Wed May 18 2022 liukuo <liukuo@kylinos.cn> - 0.14.0-2
- License compliance rectification - License compliance rectification