Accepting request 731165 from devel:languages:python:pytest

OBS-URL: https://build.opensuse.org/request/show/731165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-trio?expand=0&rev=2
This commit is contained in:
2019-09-18 11:10:42 +00:00
committed by Git OBS Bridge
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