Compare commits

..

No commits in common. "635b998b9bc24f3aff7277562e31dbbab7626fa2" and "d3d99edccc9788bd051dcee04fcbef698cb7304a" have entirely different histories.

4 changed files with 46 additions and 30 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()

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

Binary file not shown.

Binary file not shown.

View File

@ -1,25 +1,30 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-pytest-xdist Name: python-pytest-xdist
Version: 3.3.1 Version: 3.0.2
Release: 1 Release: 1
Summary: pytest xdist plugin for distributed testing and loop-on-failing modes Summary: pytest xdist plugin for distributed testing and loop-on-failing modes
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-xdist URL: https://github.com/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/eb/27/91ef12c3b2e334ae8803dd461eacdb8258760f241fbbf3a4f053456fed3a/pytest-xdist-3.3.1.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 BuildArch: noarch
BuildRequires: python3-setuptools_scm
Requires: python3-execnet
Requires: python3-pytest
Requires: python3-pytest-forked
Requires: python3-psutil
Requires: python3-filelock
%description %description
pytest xdist plugin for distributed testing and loop-on-failing modes. pytest xdist plugin for distributed testing and loop-on-failing modes.
%package -n python3-pytest-xdist %package -n python3-pytest-xdist
Summary: pytest xdist plugin for distributed testing and loop-on-failing modes Summary: pytest xdist plugin for distributed testing and loop-on-failing modes
Provides: python-pytest-xdist = %{version}-%{release} Provides: python-pytest-xdist = %{version}-%{release}
BuildRequires: python3-pip python3-hatchling python3-hatch-vcs python3-wheel
BuildRequires: python3-setuptools_scm
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
Requires: python3-execnet BuildRequires: python3-setuptools_scm
Requires: python3-pytest
%description -n python3-pytest-xdist %description -n python3-pytest-xdist
pytest xdist plugin for distributed testing and loop-on-failing modes. pytest xdist plugin for distributed testing and loop-on-failing modes.
@ -31,44 +36,46 @@ pytest xdist plugin for distributed testing and loop-on-failing modes.
%prep %prep
%autosetup -n pytest-xdist-%{version} %autosetup -n pytest-xdist-%{version}
%patch0
%build %build
%pyproject_build %py3_build
%install %install
%pyproject_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{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 example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{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 pushd %{buildroot}
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -d usr/lib ]; then
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi 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
fi
if [ -d usr/bin ]; then
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
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-pytest-xdist %files -n python3-pytest-xdist -f filelist.lst
%{python3_sitelib}/xdist %dir %{python3_sitelib}/*
%{python3_sitelib}/pytest_xdist*
%files help %files help -f doclist.lst
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Fri Jun 9 2023 xiaotong <tongxiaof@isoftstone.com> - 3.3.1-1
- Update package to version 3.3.1
* Tue May 16 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.3.0-1
- Update package to version 3.3.0
* Wed Apr 26 2023 xu_ping <707078654@qq.com> - 3.2.1-2
- Adapting to the pyproject.toml compilation mode
* Fri Mar 24 2023 wangjunqi <wangjunqi@kylinos.cn> - 3.2.1-1
- Update package to version 3.2.1
* 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 * Fri Oct 28 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.0.2-1
- Update package to version 3.0.2 - Update package to version 3.0.2