Accepting request 730897 from home:jayvdb:py3only

- Add a temporary hack in the spec to alter the conftest.py used
  when testing the plugin, fixing the builds.
- Remove unnecessary build dependency on python-devel

OBS-URL: https://build.opensuse.org/request/show/730897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-trio?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2019-09-16 07:37:27 +00:00
committed by Git OBS Bridge
parent bcded946a5
commit 7d643de3a3
2 changed files with 11 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Sep 14 11:52:57 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Add a temporary hack in the spec to alter the conftest.py used
when testing the plugin, fixing the builds.
- Remove unnecessary build dependency on python-devel
-------------------------------------------------------------------
Sat May 11 19:30:37 UTC 2019 - Torsten Gruner <t.gruner@katodev.de>

View File

@@ -26,7 +26,6 @@ License: MIT OR Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/python-trio/pytest-trio
Source: file:///home/herman/OBS/home:Simmphonie:python/python-pytest-trio/pytest-trio-%{version}.tar.gz#/pytest-trio-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -49,6 +48,10 @@ This is a pytest plugin to help you test projects that use Trio, a friendly libr
%prep
%setup -q -n pytest-trio-%{version}
# Temporary hack on a temporary hack
# https://github.com/pytest-dev/pytest/issues/4039
sed -i /RemovedInPytest4Warning/d pytest_trio/_tests/conftest.py
%build
%python_build