diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch index b32246e1f542ca420a1cba0b8e57e212d8f629fa..c4da175463cd0039aafc5d3096b8ac1da7da9520 100644 --- a/0001-add-setup.py.patch +++ b/0001-add-setup.py.patch @@ -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" ++ ) diff --git a/pytest-xdist-3.0.2.tar.gz b/pytest-xdist-3.0.2.tar.gz deleted file mode 100644 index ea2bd9b621dae40b87762e95b90fd837dde798c1..0000000000000000000000000000000000000000 Binary files a/pytest-xdist-3.0.2.tar.gz and /dev/null differ diff --git a/pytest-xdist-3.1.0.tar.gz b/pytest-xdist-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..7304d84ed97af1dead28481985bd545d9970f2ad Binary files /dev/null and b/pytest-xdist-3.1.0.tar.gz differ diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index 702e3cd2565d3612588c908358c321cee02a876d..0a3a49bbf61df772b4239c7dc264db8ef52881ba 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -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 -Patch0: 0001-add-setup.py.patch +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 +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 - 3.1.0-1 +- Update package to version 3.1.0 + * Fri Oct 28 2022 wangjunqi - 3.0.2-1 - Update package to version 3.0.2