!11 Update package

From: @Wangjunqi123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-11-03 11:01:18 +00:00 committed by Gitee
commit d3d99edccc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 18 additions and 4 deletions

9
0001-add-setup.py.patch Normal file
View File

@ -0,0 +1,9 @@
--- a/setup.py 1970-01-01 08:00:00.000000000 +0800
+++ b/setup.py 2022-10-19 09:38:57.746598491 +0800
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup()

Binary file not shown.

BIN
pytest-xdist-3.0.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,12 @@
%global _empty_manifest_terminate_build 0
Name: python-pytest-xdist
Version: 2.5.0
Version: 3.0.2
Release: 1
Summary: pytest xdist plugin for distributed testing and loop-on-failing modes
License: MIT
URL: https://github.com/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/5d/43/9dbc32d297d6eae85d6c05dc8e8d3371061bd6cbe56a2f645d9ea4b53d9b/pytest-xdist-2.5.0.tar.gz
Source0: https://files.pythonhosted.org/packages/0b/74/3ba11ebecb6f3f69a472a3c19be65c46a1dd3efaa580d973118455c74c34/pytest-xdist-3.0.2.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
BuildRequires: python3-setuptools_scm
@ -20,7 +21,7 @@ pytest xdist plugin for distributed testing and loop-on-failing modes.
%package -n python3-pytest-xdist
Summary: pytest xdist plugin for distributed testing and loop-on-failing modes
Provides: python-pytest-xdist
Provides: python-pytest-xdist = %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
@ -34,7 +35,8 @@ Provides: python3-pytest-xdist-doc
pytest xdist plugin for distributed testing and loop-on-failing modes.
%prep
%autosetup -n pytest-xdist-2.5.0
%autosetup -n pytest-xdist-%{version}
%patch0
%build
%py3_build
@ -74,6 +76,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Oct 28 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2
* Thu Jun 16 2022 OpenStack_SIG <openstack@openeuler.org> - 2.5.0-1
- Upgrade version for openstack yoga