Hello community,

here is the log from the commit of package python-dominate for openSUSE:Factory 
checked in at 2020-03-31 17:15:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dominate (Old)
 and      /work/SRC/openSUSE:Factory/.python-dominate.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dominate"

Tue Mar 31 17:15:12 2020 rev:4 rq:789929 version:2.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dominate/python-dominate.changes  
2019-08-13 13:17:58.617468047 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-dominate.new.3160/python-dominate.changes    
    2020-03-31 17:15:15.955628386 +0200
@@ -1,0 +2,8 @@
+Tue Mar 31 05:23:00 UTC 2020 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 2.5.1:
+  * Support for Python 3.8
+  * Add main element. Fixes #117
+  * Use tagname property from object, not class. Fixes #89
+
+-------------------------------------------------------------------

Old:
----
  dominate-2.4.0.tar.gz

New:
----
  dominate-2.5.1.tar.gz

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

Other differences:
------------------
++++++ python-dominate.spec ++++++
--- /var/tmp/diff_new_pack.xrVCp2/_old  2020-03-31 17:15:17.927629638 +0200
+++ /var/tmp/diff_new_pack.xrVCp2/_new  2020-03-31 17:15:17.967629664 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dominate
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-dominate
-Version:        2.4.0
+Version:        2.5.1
 Release:        0
 Summary:        Python library for creating and manipulating HTML documents
 License:        GPL-3.0-only

++++++ dominate-2.4.0.tar.gz -> dominate-2.5.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/PKG-INFO new/dominate-2.5.1/PKG-INFO
--- old/dominate-2.4.0/PKG-INFO 2019-08-04 06:55:12.000000000 +0200
+++ new/dominate-2.5.1/PKG-INFO 2020-03-07 06:16:20.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: dominate
-Version: 2.4.0
+Version: 2.5.1
 Summary: Dominate is a Python library for creating and manipulating HTML 
documents using an elegant DOM API.
 Home-page: https://github.com/Knio/dominate/
 Author: Tom Flanagan and Jake Wharton
@@ -603,6 +603,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/dominate/_version.py 
new/dominate-2.5.1/dominate/_version.py
--- old/dominate-2.4.0/dominate/_version.py     2019-08-04 06:52:29.000000000 
+0200
+++ new/dominate-2.5.1/dominate/_version.py     2020-03-07 06:14:11.000000000 
+0100
@@ -1 +1 @@
-__version__ = '2.4.0'
+__version__ = '2.5.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/dominate/dom_tag.py 
new/dominate-2.5.1/dominate/dom_tag.py
--- old/dominate-2.4.0/dominate/dom_tag.py      2019-08-04 06:52:29.000000000 
+0200
+++ new/dominate-2.5.1/dominate/dom_tag.py      2020-03-07 06:09:56.000000000 
+0100
@@ -77,7 +77,7 @@
 
   def __init__(self, *args, **kwargs):
     '''
-    Creates a new tag. Child tags should be passed as aruguments and attributes
+    Creates a new tag. Child tags should be passed as arguments and attributes
     should be passed as keyword arguments.
 
     There is a non-rendering attribute which controls how the tag renders:
@@ -320,8 +320,7 @@
   def _render(self, sb, indent_level, indent_str, pretty, xhtml):
     pretty = pretty and self.is_pretty
 
-    t = type(self)
-    name = getattr(t, 'tagname', t.__name__)
+    name = getattr(self, 'tagname', type(self).__name__)
 
     # Workaround for python keywords and standard classes/methods
     # (del, object, input)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/dominate/tags.py 
new/dominate-2.5.1/dominate/tags.py
--- old/dominate-2.4.0/dominate/tags.py 2019-08-04 06:52:29.000000000 +0200
+++ new/dominate-2.5.1/dominate/tags.py 2020-03-07 06:13:34.000000000 +0100
@@ -217,6 +217,14 @@
   '''
   pass
 
+class main(html_tag):
+  '''
+  The main content area of a document includes content that is unique to that
+  document and excludes content that is repeated across a set of documents such
+  as site navigation links, copyright information, site logos and banners and
+  search forms (unless the document or application's main function is that of a
+  search form).
+  '''
 
 class section(html_tag):
   '''
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/dominate/util.py 
new/dominate-2.5.1/dominate/util.py
--- old/dominate-2.4.0/dominate/util.py 2019-08-04 06:52:29.000000000 +0200
+++ new/dominate-2.5.1/dominate/util.py 2020-03-07 06:09:56.000000000 +0100
@@ -52,14 +52,14 @@
   return out.decode('utf8')
 
 
-def escape(data, quote=True):  # stoled from std lib cgi
+def escape(data, quote=True):  # stolen from std lib cgi
   '''
   Escapes special characters into their html entities
   Replace special characters "&", "<" and ">" to HTML-safe sequences.
   If the optional flag quote is true, the quotation mark character (")
   is also translated.
 
-  This is used to escape content that appears in the body of an HTML cocument
+  This is used to escape content that appears in the body of an HTML document
   '''
   data = data.replace("&", "&amp;")  # Must be done first!
   data = data.replace("<", "&lt;")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/dominate.egg-info/PKG-INFO 
new/dominate-2.5.1/dominate.egg-info/PKG-INFO
--- old/dominate-2.4.0/dominate.egg-info/PKG-INFO       2019-08-04 
06:55:12.000000000 +0200
+++ new/dominate-2.5.1/dominate.egg-info/PKG-INFO       2020-03-07 
06:16:19.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: dominate
-Version: 2.4.0
+Version: 2.5.1
 Summary: Dominate is a Python library for creating and manipulating HTML 
documents using an elegant DOM API.
 Home-page: https://github.com/Knio/dominate/
 Author: Tom Flanagan and Jake Wharton
@@ -603,6 +603,7 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/setup.py new/dominate-2.5.1/setup.py
--- old/dominate-2.4.0/setup.py 2018-09-25 06:49:44.000000000 +0200
+++ new/dominate-2.5.1/setup.py 2020-03-07 06:09:56.000000000 +0100
@@ -49,6 +49,7 @@
     'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
     'Programming Language :: Python :: 3.7',
+    'Programming Language :: Python :: 3.8',
     'Programming Language :: Python :: Implementation :: PyPy',
     'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
     'Topic :: Software Development :: Libraries :: Python Modules',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dominate-2.4.0/tests/test_html.py 
new/dominate-2.5.1/tests/test_html.py
--- old/dominate-2.4.0/tests/test_html.py       2019-08-04 06:52:29.000000000 
+0200
+++ new/dominate-2.5.1/tests/test_html.py       2020-03-07 06:14:31.000000000 
+0100
@@ -8,7 +8,7 @@
 
 def test_version():
   import dominate
-  version = '2.4.0'
+  version = '2.5.1'
   assert dominate.version == version
   assert dominate.__version__ == version
 


Reply via email to