From b4ea8dfb81b9ab7e69772a5532a60b50c83c57f7565c00f3228ca499748ed665 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 3 Sep 2015 12:32:11 +0000 Subject: [PATCH] Accepting request 328796 from home:TheBlackCat:branches:devel:languages:python Disable tests to avoid dependency loop OBS-URL: https://build.opensuse.org/request/show/328796 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zope.exceptions?expand=0&rev=9 --- python-zope.exceptions.changes | 5 +++++ python-zope.exceptions.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-zope.exceptions.changes b/python-zope.exceptions.changes index f44c9c4..01c2f28 100644 --- a/python-zope.exceptions.changes +++ b/python-zope.exceptions.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 3 12:28:13 UTC 2015 - toddrme2178@gmail.com + +- Disable tests to avoid dependency loop + ------------------------------------------------------------------- Fri May 15 11:55:03 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-zope.exceptions.spec b/python-zope.exceptions.spec index fb49f04..f18d801 100644 --- a/python-zope.exceptions.spec +++ b/python-zope.exceptions.spec @@ -29,12 +29,12 @@ BuildRequires: python-setuptools # Documentation requirements: BuildRequires: python-Sphinx BuildRequires: python-repoze.sphinx.autointerface +# Test result in a dependency loop # Test requirements: -BuildRequires: python-six -BuildRequires: python-zope.interface -BuildRequires: python-zope.testrunner +# BuildRequires: python-six +# BuildRequires: python-zope.interface +# BuildRequires: python-zope.testrunner Requires: python-zope.interface -Requires: python-zope.testrunner BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -64,11 +64,12 @@ PYTHONPATH=$(pwd)/build/lib python setup.py build_sphinx && rm build/sphinx/html %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# Test result in a dependency loop #NOTE(saschpe): Tests are self-referential, i.e. move to sperarate spec file #NOTE(frispete): run tests against source in order to avoid the need for an # external test package -%check -PYTHONPATH=$(pwd)/src python setup.py -q test +# %check +# PYTHONPATH=$(pwd)/src python setup.py -q test %files %defattr(-,root,root,-)