15
0
forked from pool/python-ZEO

Accepting request 958061 from devel:languages:python

- Set ZEO4_SERVER env. variable to skip expected failing tests.

OBS-URL: https://build.opensuse.org/request/show/958061
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ZEO?expand=0&rev=13
This commit is contained in:
2022-02-28 18:43:56 +00:00
committed by Git OBS Bridge
3 changed files with 9 additions and 5 deletions

View File

@@ -1,2 +0,0 @@
# these are only shipped for testing purposes
addFilter(".*ZEO/tests/.*pem$")

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 28 14:09:54 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Set ZEO4_SERVER env. variable to skip expected failing tests.
-------------------------------------------------------------------
Fri Sep 24 09:30:12 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ZEO
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -26,7 +26,6 @@ Summary: Client-Server storage implementation for ZODB
License: ZPL-2.1
URL: https://github.com/zopefoundation/ZEO
Source: https://files.pythonhosted.org/packages/source/Z/ZEO/ZEO-%{version}.tar.gz
Source99: %{name}-rpmlintrc
# https://github.com/zopefoundation/ZEO/issues/184
Patch0: python-ZEO-no-mock.patch
BuildRequires: %{python_module ZConfig}
@@ -77,7 +76,8 @@ This package contains documentation files for %{name}.
%prep
%setup -q -n ZEO-%{version}
%patch0 -p1
%autopatch -p1
# delete backup files
find . -name "*~" -print -delete
# remove unwanted shebang
@@ -100,6 +100,7 @@ sed -i -e 's:msgpack < 0.6:msgpack:g' setup.py
%check
pushd src
export ZEO4_SERVER=1
%pyunittest -v ZEO/tests/test*.py
%post