diff --git a/pytest-forked-0.2.tar.gz b/pytest-forked-0.2.tar.gz deleted file mode 100644 index 9a7ac1a..0000000 --- a/pytest-forked-0.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e4500cd0509ec4a26535f7d4112a8cc0f17d3a41c29ffd4eab479d2a55b30805 -size 9617 diff --git a/pytest-forked-1.0.2.tar.gz b/pytest-forked-1.0.2.tar.gz new file mode 100644 index 0000000..8c1006f --- /dev/null +++ b/pytest-forked-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d352aaced2ebd54d42a65825722cb433004b4446ab5d2044851d9cc7a00c9e38 +size 6809 diff --git a/python-pytest-forked.changes b/python-pytest-forked.changes index c092148..f45fe5d 100644 --- a/python-pytest-forked.changes +++ b/python-pytest-forked.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Feb 15 09:50:14 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.2: + * Fix support for pytest 4.2 + +------------------------------------------------------------------- +Thu Feb 14 12:55:27 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.0: + * Fix support for pytest 4.1. + ------------------------------------------------------------------- Wed Nov 15 12:24:04 UTC 2017 - mimi.vx@gmail.com diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec index 15e62b2..533a29c 100644 --- a/python-pytest-forked.spec +++ b/python-pytest-forked.spec @@ -1,7 +1,7 @@ # -# spec file for package python-pytest-pythonpath +# spec file for package python-pytest-forked # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-forked -Version: 0.2 +Version: 1.0.2 Release: 0 Summary: Run each test in a forked subprocess License: MIT Group: Development/Languages/Python URL: https://github.com/pytest-dev/pytest-forked Source: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz +BuildRequires: %{python_module pytest >= 3.1.0} BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest +Requires: python-pytest >= 3.1.0 BuildArch: noarch %python_subpackages @@ -45,6 +47,8 @@ Extraction of pytest-xdist --forked module used for running tests in forked subp %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v %files %{python_files} %license LICENSE