diff --git a/pytest-xdist-2.3.0.tar.gz b/pytest-xdist-2.3.0.tar.gz deleted file mode 100644 index f9e62c9e5281dc167a31332a5aff5d1e74798889..0000000000000000000000000000000000000000 Binary files a/pytest-xdist-2.3.0.tar.gz and /dev/null differ diff --git a/pytest-xdist-2.5.0.tar.gz b/pytest-xdist-2.5.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c595dc6f9082491b63ba180366e613c0b650528c Binary files /dev/null and b/pytest-xdist-2.5.0.tar.gz differ diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index 4aa4952320b7cc432b96ca5d7857c766b53142c0..8bc3284610b4ccb7e5d159082d90fa61bea0f7f0 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -1,45 +1,57 @@ %global _empty_manifest_terminate_build 0 -Name: python-pytest-xdist -Version: 2.3.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/d8/2a/d6333010844cd3931a57d17ae1203d2404fee689704c3f9a665c31d7faae/pytest-xdist-2.3.0.tar.gz -BuildArch: noarch - -BuildRequires: python3-setuptools_scm -Requires: python3-execnet -Requires: python3-pytest -Requires: python3-pytest-forked -Requires: python3-psutil -Requires: python3-filelock - +Name: python-pytest-xdist +Version: 2.5.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/5d/43/9dbc32d297d6eae85d6c05dc8e8d3371061bd6cbe56a2f645d9ea4b53d9b/pytest-xdist-2.5.0.tar.gz +BuildArch: noarch %description -pytest xdist plugin for distributed testing and loop-on-failing modes. + pytest-xdist .. image:: %package -n python3-pytest-xdist -Summary: pytest xdist plugin for distributed testing and loop-on-failing modes -Provides: python-pytest-xdist -BuildRequires: python3-devel -BuildRequires: python3-setuptools +Summary: pytest xdist plugin for distributed testing and loop-on-failing modes +Provides: python-pytest-xdist +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# General requires +BuildRequires: python3-execnet +BuildRequires: python3-pytest +BuildRequires: python3-pytest-forked +BuildRequires: python3-psutil +BuildRequires: python3-setproctitle +# Tests running requires +BuildRequires: python3-filelock +# General requires +Requires: python3-execnet +Requires: python3-pytest +Requires: python3-pytest-forked +Requires: python3-psutil +# Tests running requires +Requires: python3-filelock %description -n python3-pytest-xdist -pytest xdist plugin for distributed testing and loop-on-failing modes. + pytest-xdist .. image:: %package help -Summary: Development documents and examples for pytest-xdist -Provides: python3-pytest-xdist-doc +Summary: pytest xdist plugin for distributed testing and loop-on-failing modes +Provides: python3-pytest-xdist-doc %description help -pytest xdist plugin for distributed testing and loop-on-failing modes. + pytest-xdist .. image:: %prep -%autosetup -n pytest-xdist-2.3.0 +%autosetup -n pytest-xdist-%{version} %build %py3_build %install %py3_install + install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -47,25 +59,28 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . +%check +%{__python3} setup.py test + %files -n python3-pytest-xdist -f filelist.lst %dir %{python3_sitelib}/* @@ -73,5 +88,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri May 27 2022 renliang - 2.5.0-1 +- Upgrade package python3-pytest-xdist to version 2.5.0 + * Tue Aug 17 2021 Python_Bot - 2.3.0-1 - Package Spec generated