Hello community, here is the log from the commit of package python-pydot for openSUSE:Factory checked in at 2016-11-05 21:25:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pydot (Old) and /work/SRC/openSUSE:Factory/.python-pydot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pydot" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pydot/python-pydot.changes 2014-05-21 16:23:19.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydot.new/python-pydot.changes 2016-11-05 21:25:27.000000000 +0100 @@ -1,0 +2,58 @@ +Tue Nov 1 20:19:09 UTC 2016 - toddrme2...@gmail.com + +- Update source url +- Remove some obsolete parts of the spec file + +------------------------------------------------------------------- +Tue Nov 1 19:38:17 UTC 2016 - toddrme2...@gmail.com + +- Update to 1.2.3 + - support Python 2.6 + - several corrections + - quote empty strings to avoid graphviz errors +- Update to 1.2.0 + - support Python 3 + - bumped dependency to `pyparsing >= 2.1.4` + - tests running on Travis CI + - tests require `chardet` + - detect character encoding for most test files + using the package `chardet` + - API: + + on all operating systems, search GraphViz + executables in environment `$PATH`, + using `subprocess.Popen`. + No paths hard-coded due to security and privacy issues. + + add option to pass GraphViz executable name + or absolute path as `prog` to `pydot.Dot.write_*` methods. + This provides an alternative to + adding GraphViz to the `$PATH`. + + the functions: + * `pydot.graph_from_dot_data` + * `pydot.graph_from_dot_file` + * `dot_parser.parse_dot_data` + changed to always return a `list` of graphs, + instead of behaving differently for singletons. + + require that the user explicitly give an encoding to + the function `pydot.graph_from_dot_file`, + with default encoding same as `io.open`. + + decode to unicode at program boundaries, and + treat binary images as bytes, + for more compatibility with python 3. + Use `io.open`, instead of the built-in `open`. + + rm function `pydot.set_graphviz_executables` + + rm attribute `pydot.Dot.progs` +- Update to 1.1.0 + - compatibility with `pyparsing >= 1.5.7` + - API: + + `pydot.Graph.to_string`: hide `subgraph` keyword only if so requested + + produce `warnings.warn` if `pydot.dot_parser` fails to import, + instead of `print` +- Update to 1.0.29 + - Maintenance release that keeps the same API + - pin `pyparsing == 1.5.7` + - update version number in source code + - update `setup.py` +- Remove unneeded python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch +- Remove out-of-date example files + +------------------------------------------------------------------- Old: ---- example-demo.py example-rank.py pydot-1.0.28.tar.gz python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch New: ---- pydot-1.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pydot.spec ++++++ --- /var/tmp/diff_new_pack.0uI7hG/_old 2016-11-05 21:25:30.000000000 +0100 +++ /var/tmp/diff_new_pack.0uI7hG/_new 2016-11-05 21:25:30.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pydot # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,54 +16,40 @@ # -%define modname pydot -Name: python-%{modname} -Version: 1.0.28 +Name: python-pydot +Version: 1.2.3 Release: 0 -Url: http://code.google.com/p/pydot +Url: https://github.com/erocarrera/pydot Summary: Create (dot) graphs from python License: MIT Group: Development/Libraries/Python -Source: http://%{modname}.googlecode.com/files/%{modname}-%{version}.tar.gz -Source1: example-demo.py -Source2: example-rank.py -Patch0: %{name}-1.0.28_fix_pyparser_2_incompatibility.patch +Source: https://files.pythonhosted.org/packages/source/p/pydot/pydot-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -Requires: python-pyparsing +BuildRequires: python-pyparsing >= 2.1.4 +BuildRequires: python-setuptools Requires: graphviz -%if 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%else +Requires: python-pyparsing >= 2.1.4 BuildArch: noarch -%py_requires -%endif %description pydot allows to easily create both directed and non directed graphs from Python. Currently all attributes implemented in the Dot language are supported (up to Graphviz 2.16). %prep -%setup -q -n %{modname}-%{version} -%patch0 -p1 -mkdir examples && cp %{SOURCE1} %{SOURCE2} examples +%setup -q -n pydot-%{version} %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} -rm -rf %{buildroot}/usr/{LICENSE,README} # Wronly installed by setup script - -%clean -rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc README LICENSE examples +%doc README.md LICENSE %{python_sitelib}/dot_parser.py* -%{python_sitelib}/%{modname}.py* -%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/pydot.py* +%{python_sitelib}/pydot-%{version}-py*.egg-info %changelog ++++++ pydot-1.0.28.tar.gz -> pydot-1.2.3.tar.gz ++++++ ++++ 3758 lines of diff (skipped)