Hello community, here is the log from the commit of package python-pydot for openSUSE:Factory checked in at 2014-05-21 16:23:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-03-30 12:25:57.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pydot.new/python-pydot.changes 2014-05-21 16:23:19.000000000 +0200 @@ -1,0 +2,6 @@ +Sat May 3 14:00:00 UTC 2014 - and...@opensuse.org + +- added python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch to fix + incompatibility when using pydot with pyparser 2 + +------------------------------------------------------------------- New: ---- python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pydot.spec ++++++ --- /var/tmp/diff_new_pack.ntbYt4/_old 2014-05-21 16:23:20.000000000 +0200 +++ /var/tmp/diff_new_pack.ntbYt4/_new 2014-05-21 16:23:20.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pydot # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 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 @@ -11,10 +11,11 @@ # case the license is the MIT License). An "Open Source License" is a # 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/ # + %define modname pydot Name: python-%{modname} Version: 1.0.28 @@ -26,6 +27,7 @@ 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel Requires: python-pyparsing @@ -43,6 +45,7 @@ %prep %setup -q -n %{modname}-%{version} +%patch0 -p1 mkdir examples && cp %{SOURCE1} %{SOURCE2} examples %build ++++++ python-pydot-1.0.28_fix_pyparser_2_incompatibility.patch ++++++ diff --git a/dot_parser.py b/dot_parser.py index dedd61a..138d152 100644 --- a/dot_parser.py +++ b/dot_parser.py @@ -25,8 +25,9 @@ from pyparsing import __version__ as pyparsing_version from pyparsing import ( nestedExpr, Literal, CaselessLiteral, Word, Upcase, OneOrMore, ZeroOrMore, Forward, NotAny, delimitedList, oneOf, Group, Optional, Combine, alphas, nums, restOfLine, cStyleComment, nums, alphanums, printables, empty, quotedString, - ParseException, ParseResults, CharsNotIn, _noncomma, dblQuotedString, QuotedString, ParserElement ) + ParseException, ParseResults, CharsNotIn, dblQuotedString, QuotedString, ParserElement ) +_noncomma = "".join( [ c for c in printables if c != "," ] ) class P_AttrList: -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org