Hello community,

here is the log from the commit of package python-graphviz for openSUSE:Factory 
checked in at 2018-11-15 12:40:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-graphviz (Old)
 and      /work/SRC/openSUSE:Factory/.python-graphviz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-graphviz"

Thu Nov 15 12:40:50 2018 rev:3 rq:648969 version:0.10.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-graphviz/python-graphviz.changes  
2018-01-09 14:53:26.607098273 +0100
+++ /work/SRC/openSUSE:Factory/.python-graphviz.new/python-graphviz.changes     
2018-11-15 12:40:53.086220325 +0100
@@ -1,0 +2,7 @@
+Wed Nov 14 12:44:07 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.10.1:
+  * python 3.7 support
+  * Various fixes
+
+-------------------------------------------------------------------

Old:
----
  graphviz-0.8.2.zip

New:
----
  graphviz-0.10.1.zip

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

Other differences:
------------------
++++++ python-graphviz.spec ++++++
--- /var/tmp/diff_new_pack.J6wCn7/_old  2018-11-15 12:40:54.814218355 +0100
+++ /var/tmp/diff_new_pack.J6wCn7/_new  2018-11-15 12:40:54.826218341 +0100
@@ -12,37 +12,33 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
 Name:           python-graphviz
-Version:        0.8.2
+Version:        0.10.1
 Release:        0
 Summary:        Python interface for Graphviz
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://github.com/xflr6/graphviz
+URL:            http://github.com/xflr6/graphviz
 Source:         
https://files.pythonhosted.org/packages/source/g/graphviz/graphviz-%{version}.zip
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  fdupes
-BuildRequires:  graphviz
-BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
-%if %{with tests}
-# Test requirements
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  xdg-utils
-# For pdf rendered tests
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
+BuildRequires:  fdupes
+BuildRequires:  graphviz
 BuildRequires:  graphviz-gnome
+BuildRequires:  python-rpm-macros
+BuildRequires:  unzip
 BuildRequires:  w3m
-%endif
+BuildRequires:  xdg-utils
 Requires:       graphviz
 Recommends:     xdg-utils
 BuildArch:      noarch
@@ -64,10 +60,10 @@
 %setup -q -n graphviz-%{version}
 
 # Fix wrong-file-end-of-line-encoding
-sed -i 's/\r$//' CHANGES
-sed -i 's/\r$//' LICENSE
-sed -i 's/\r$//' README.rst
-sed -i 's/\r$//' docs/*.rst
+dos2unix CHANGES.txt LICENSE.txt README.rst docs/*.rst
+
+# Remove hardcoded pytest version
+sed -i -e '/minversion/d' setup.cfg
 
 %build
 %python_build
@@ -76,14 +72,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
 %python_expand pytest-%{$python_bin_suffix}
-%endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGES LICENSE README.rst
+%license LICENSE.txt
+%doc CHANGES.txt README.rst
 %{python_sitelib}/*
 
 %changelog


Reply via email to