Hello community,

here is the log from the commit of package python-CairoSVG for openSUSE:Factory 
checked in at 2019-02-28 21:39:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-CairoSVG (Old)
 and      /work/SRC/openSUSE:Factory/.python-CairoSVG.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-CairoSVG"

Thu Feb 28 21:39:23 2019 rev:3 rq:674604 version:2.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-CairoSVG/python-CairoSVG.changes  
2018-12-13 19:47:08.724801911 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-CairoSVG.new.28833/python-CairoSVG.changes   
    2019-02-28 21:39:23.773621449 +0100
@@ -1,0 +2,21 @@
+Wed Feb 13 14:53:22 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.3.0:
+  * Drop Python 3.4 support
+  * Make text selectable on generated PDF files
+  * Don't inherit dx and dy attributes
+  * Fix support of alignment-baseline="hanging"
+  * Fix backslashes in docstrings and comments
+  * Fix local anchors with files with no given URL
+  * Close VERSION's file descriptor
+  * Fix T commands used with previous relative commands in paths
+  * Use real functions for svg2* commands, improving IDE integration
+  * Handle image-rendering property
+  * Fix crash with some text samples
+  * Fix position of embedded svg tags with a viewbox not at position (0, 0)
+  * Add output-width and output-height options
+  * Handle references to inner document tags defined after the anchor
+  * Fix offsets for texts on paths
+- Run tests manualy reducing the test dependencies a bit
+
+-------------------------------------------------------------------

Old:
----
  CairoSVG-2.1.3.tar.gz

New:
----
  CairoSVG-2.3.0.tar.gz

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

Other differences:
------------------
++++++ python-CairoSVG.spec ++++++
--- /var/tmp/diff_new_pack.rhlnNg/_old  2019-02-28 21:39:24.925621086 +0100
+++ /var/tmp/diff_new_pack.rhlnNg/_new  2019-02-28 21:39:24.949621079 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-CairoSVG
 #
-# 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
@@ -19,28 +19,22 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-CairoSVG
-Version:        2.1.3
+Version:        2.3.0
 Release:        0
 Summary:        A Python SVG converter based on Cairo
 License:        LGPL-3.0-or-later
 Group:          Development/Languages/Python
-Url:            http://www.cairosvg.org/
+URL:            http://www.cairosvg.org/
 Source:         
https://files.pythonhosted.org/packages/source/C/CairoSVG/CairoSVG-%{version}.tar.gz
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module cairocffi}
 BuildRequires:  %{python_module cssselect2}
 BuildRequires:  %{python_module defusedxml}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module tinycss2}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# SECTION test requirements
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest-flake8}
-BuildRequires:  %{python_module pytest-isort}
-BuildRequires:  %{python_module pytest-runner}
-BuildRequires:  %{python_module pytest}
-# /SECTION
 Requires:       python-Pillow
 Requires:       python-cairocffi
 Requires:       python-cssselect2
@@ -49,7 +43,6 @@
 Requires(post):   update-alternatives
 Requires(postun):  update-alternatives
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -60,6 +53,11 @@
 
 %prep
 %setup -q -n CairoSVG-%{version}
+# remove needless pytest dependencies
+sed -i setup.cfg \
+    -e '/pytest-runner/d' \
+    -e '/--flake8/d' \
+    -e '/--isort/d'
 
 %build
 %python_build
@@ -70,7 +68,7 @@
 %python_clone -a %{buildroot}/%{_bindir}/cairosvg
 
 %check
-%python_exec setup.py test
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix}
 
 %post
 %python_install_alternative cairosvg
@@ -79,8 +77,8 @@
 %python_uninstall_alternative cairosvg
 
 %files %{python_files}
-%doc NEWS.rst README.rst
-%license COPYING
+%doc README.rst
+%license LICENSE
 %python_alternative %{_bindir}/cairosvg
 %{python_sitelib}/*
 

++++++ CairoSVG-2.1.3.tar.gz -> CairoSVG-2.3.0.tar.gz ++++++
++++ 2025 lines of diff (skipped)


Reply via email to