Hello community,

here is the log from the commit of package python-pyquery for openSUSE:Factory 
checked in at 2019-02-26 22:15:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyquery (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyquery.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyquery"

Tue Feb 26 22:15:32 2019 rev:16 rq:678841 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyquery/python-pyquery.changes    
2018-12-24 11:42:17.509404252 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyquery.new.28833/python-pyquery.changes 
2019-02-26 22:15:34.518207749 +0100
@@ -1,0 +2,14 @@
+Mon Feb 25 09:00:58 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Use _multibuild to run tests
+
+-------------------------------------------------------------------
+Mon Feb 25 03:24:33 UTC 2019 - John Vandenberg <jay...@gmail.com>
+
+- Add %license
+- Run test suite on both Python 2 & 3
+- Remove outdated build dependencies
+- Add minimum versions
+- Add python-coverage as build dependency as nose segfaults when missing
+
+-------------------------------------------------------------------

New:
----
  _multibuild

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyquery.spec ++++++
--- /var/tmp/diff_new_pack.tDX6ks/_old  2019-02-26 22:15:35.958207260 +0100
+++ /var/tmp/diff_new_pack.tDX6ks/_new  2019-02-26 22:15:35.962207259 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyquery
 #
-# Copyright (c) 2018 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
@@ -17,10 +17,15 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# NOTE: circular dependency between python-pyquery and python-WebTest
-# enable testing with a build conditional (off by default):
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
 %bcond_with test
-Name:           python-pyquery
+%endif
+Name:           python-pyquery%{psuffix}
 Version:        1.4.0
 Release:        0
 Summary:        A jQuery-like library for python
@@ -28,20 +33,20 @@
 Group:          Development/Languages/Python
 URL:            http://pypi.python.org/pypi/pyquery
 Source:         
https://files.pythonhosted.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
-BuildRequires:  %{python_module cssselect}
+BuildRequires:  %{python_module coverage}
+BuildRequires:  %{python_module cssselect > 0.7.9}
 BuildRequires:  %{python_module lxml >= 2.1}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-cssselect
+Requires:       python-cssselect > 0.7.9
 Requires:       python-lxml >= 2.1
 BuildArch:      noarch
 %if %{with test}
-BuildRequires:  %{python_module WebOb}
+BuildRequires:  %{python_module WebOb > 1.1.9}
 BuildRequires:  %{python_module WebTest}
-BuildRequires:  %{python_module beautifulsoup}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module restkit}
+BuildRequires:  %{python_module requests}
 %endif
 %python_subpackages
 
@@ -57,16 +62,22 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %if %{with test}
 %check
-nosetests -q tests
+# Disable tests which perform live fetch
+%python_exec -m nose tests -e test_get
 %endif
 
+%if !%{with test}
 %files %{python_files}
+%license LICENSE.txt
 %doc CHANGES.rst README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to