[packages/python-pytest-xdist] - updated to 1.22.5
qboosh
qboosh at pld-linux.org
Wed Aug 1 20:22:03 CEST 2018
commit 22462ed116931e024be6e80eaeda843201eaf81c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Aug 1 20:24:07 2018 +0200
- updated to 1.22.5
python-pytest-xdist.spec | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec
index 0f44cab..58198a2 100644
--- a/python-pytest-xdist.spec
+++ b/python-pytest-xdist.spec
@@ -8,42 +8,43 @@
Summary: py.test distributed testing plugin
Summary(pl.UTF-8): Wtyczka py.test do testów rozproszonych
Name: python-pytest-xdist
-Version: 1.15.0
-Release: 2
+Version: 1.22.5
+Release: 1
License: MIT
Group: Libraries/Python
-#Source0Download: https://pypi.python.org/simple/pytest-xdist
+#Source0Download: https://pypi.org/simple/pytest-xdist/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz
-# Source0-md5: 84fe5080fb0aa525b0c3ddd5e9b7eb56
-Patch0: %{name}-ModuleNotFoundError.patch
+# Source0-md5: 82b4a70d5f1c8f5a10cc22f8b8fba2b8
URL: https://github.com/pytest-dev/pytest-xdist
%if %{with python2}
-BuildRequires: python-modules >= 1:2.6
+BuildRequires: python-modules >= 1:2.7
BuildRequires: python-setuptools
BuildRequires: python-setuptools_scm
%if %{with tests_py2}
BuildRequires: python-execnet >= 1.1
BuildRequires: python-pexpect >= 3
BuildRequires: python-py >= 1.4.22
-BuildRequires: python-pytest >= 2.4.2
+BuildRequires: python-pytest >= 3.0.0
+BuildRequires: python-pytest-forked
BuildConflicts: python-pytest-capturelog
%endif
%endif
%if %{with python3}
-BuildRequires: python3-modules >= 1:3.3
+BuildRequires: python3-modules >= 1:3.4
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
%if %{with tests}
BuildRequires: python3-execnet >= 1.1
BuildRequires: python3-pexpect >= 3
BuildRequires: python3-py >= 1.4.22
-BuildRequires: python3-pytest >= 2.4.2
+BuildRequires: python3-pytest >= 3.0.0
+BuildRequires: python3-pytest-forked
BuildConflicts: python-pytest-capturelog
%endif
%endif
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.6
+Requires: python-modules >= 1:2.7
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -59,7 +60,7 @@ trybów wykonywania testów, jak choćby zrównoleglenie.
Summary: py.test distributed testing plugin
Summary(pl.UTF-8): Wtyczka py.test do testów rozproszonych
Group: Libraries/Python
-Requires: python3-modules >= 1:3.3
+Requires: python3-modules >= 1:3.4
%description -n python3-pytest-xdist
The pytest-xdist plugin extends py.test with some unique test
@@ -71,14 +72,14 @@ trybów wykonywania testów, jak choćby zrównoleglenie.
%prep
%setup -q -n pytest-xdist-%{version}
-%patch0 -p1
%build
%if %{with python2}
%py_build
%if %{with tests_py2}
-PYTHONPATH=$(pwd) %{__python} -m pytest testing
+PYTHONPATH=$(pwd) \
+%{__python} -m pytest testing
%endif
%endif
@@ -86,7 +87,8 @@ PYTHONPATH=$(pwd) %{__python} -m pytest testing
%py3_build
%if %{with tests}
-PYTHONPATH=$(pwd) %{__python3} -m pytest testing
+PYTHONPATH=$(pwd) \
+%{__python3} -m pytest testing
%endif
%endif
@@ -109,7 +111,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python2}
%files
%defattr(644,root,root,755)
-%doc CHANGELOG ISSUES.txt LICENSE OVERVIEW.md README.rst example/boxed.txt
+%doc CHANGELOG.rst ISSUES.txt LICENSE OVERVIEW.md README.rst example/boxed.txt
%{py_sitescriptdir}/xdist
%{py_sitescriptdir}/pytest_xdist-%{version}-py*.egg-info
%endif
@@ -117,7 +119,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with python3}
%files -n python3-pytest-xdist
%defattr(644,root,root,755)
-%doc CHANGELOG ISSUES.txt LICENSE OVERVIEW.md README.rst example/boxed.txt
+%doc CHANGELOG.rst ISSUES.txt LICENSE OVERVIEW.md README.rst example/boxed.txt
%{py3_sitescriptdir}/xdist
%{py3_sitescriptdir}/pytest_xdist-%{version}-py*.egg-info
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pytest-xdist.git/commitdiff/22462ed116931e024be6e80eaeda843201eaf81c
More information about the pld-cvs-commit
mailing list