Hello community,

here is the log from the commit of package python-cssselect for 
openSUSE:Factory checked in at 2019-09-23 12:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cssselect (Old)
 and      /work/SRC/openSUSE:Factory/.python-cssselect.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cssselect"

Mon Sep 23 12:19:49 2019 rev:12 rq:732109 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cssselect/python-cssselect.changes        
2018-12-14 20:46:46.873559575 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-cssselect.new.7948/python-cssselect.changes  
    2019-09-23 12:19:51.261782769 +0200
@@ -1,0 +2,13 @@
+Fri Sep 20 08:39:42 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Switch to multibuild to avoid build cycle with lxml
+
+-------------------------------------------------------------------
+Fri Sep 13 10:31:51 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.1.0:
+  * Support for the :scope selector, which allows to access immediate children 
of a selector.
+  * Support for the |E syntax for type selectors without a namespace.
+  * A new selector method, canonical, returns the CSS expression of the 
selector, as a string.
+
+-------------------------------------------------------------------

Old:
----
  cssselect-1.0.3.tar.gz

New:
----
  _multibuild
  v1.1.0.tar.gz

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

Other differences:
------------------
++++++ python-cssselect.spec ++++++
--- /var/tmp/diff_new_pack.73RElT/_old  2019-09-23 12:19:51.849782673 +0200
+++ /var/tmp/diff_new_pack.73RElT/_new  2019-09-23 12:19:51.849782673 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cssselect
 #
-# 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,19 +17,30 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:           python-cssselect
-Version:        1.0.3
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-cssselect%{psuffix}
+Version:        1.1.0
 Release:        0
 Summary:        CSS3 selectors for Python
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-Url:            http://packages.python.org/cssselect/
-Source:         
https://pypi.io/packages/source/c/cssselect/cssselect-%{version}.tar.gz
+URL:            https://github.com/scrapy/cssselect
+Source:         https://github.com/scrapy/cssselect/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-
+%if %{with test}
+BuildRequires:  %{python_module lxml}
+BuildRequires:  %{python_module pytest}
+%endif
 %python_subpackages
 
 %description
@@ -47,11 +58,21 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+
+%check
+%if %{with test}
+%pytest
+%endif
 
-%files %python_files
-%defattr(-,root,root,-)
+%if !%{with test}
+%files %{python_files}
 %{python_sitelib}/*
-%doc README.rst LICENSE CHANGES AUTHORS
+%license LICENSE
+%doc README.rst CHANGES AUTHORS
+%endif
 
 %changelog

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

Reply via email to