!13 Upgrade to latest release [python-pytest-xdist -> 3.1.0]

From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2022-12-19 12:28:19 +00:00 committed by Gitee
commit d72e05a5ac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 18 additions and 14 deletions

View File

@ -1,9 +1,12 @@
--- 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 @@
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+
+from setuptools import setup
+
+if __name__ == "__main__":
+ setup()
+ setup(
+ name = "pytest-xdist",
+ version = "3.1.0"
+ )

Binary file not shown.

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

Binary file not shown.

View File

@ -1,30 +1,26 @@
%global _empty_manifest_terminate_build 0
Name: python-pytest-xdist
Version: 3.0.2
Version: 3.1.0
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/0b/74/3ba11ebecb6f3f69a472a3c19be65c46a1dd3efaa580d973118455c74c34/pytest-xdist-3.0.2.tar.gz
Source0: https://files.pythonhosted.org/packages/0d/e5/f7ece02dc1b4bc24a3e37be6a78251e03fff4193126d7ce126c450644696/pytest-xdist-3.1.0.tar.gz
Patch0: 0001-add-setup.py.patch
BuildArch: noarch
BuildRequires: python3-setuptools_scm
Requires: python3-execnet
Requires: python3-pytest
Requires: python3-pytest-forked
Requires: python3-psutil
Requires: python3-filelock
%description
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 = %{version}-%{release}
BuildRequires: python3-setuptools_scm
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
Requires: python3-execnet
Requires: python3-pytest
%description -n python3-pytest-xdist
pytest xdist plugin for distributed testing and loop-on-failing modes.
@ -36,7 +32,6 @@ pytest xdist plugin for distributed testing and loop-on-failing modes.
%prep
%autosetup -n pytest-xdist-%{version}
%patch0
%build
%py3_build
@ -48,6 +43,9 @@ if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
@ -76,6 +74,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Fri Dec 16 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.1.0-1
- Update package to version 3.1.0
* Fri Oct 28 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2