commit python-html5-parser for openSUSE:Factory

2020-04-09 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2020-04-09 23:17:43

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new.3248 (New)


Package is "python-html5-parser"

Thu Apr  9 23:17:43 2020 rev:9 rq:792714 version:0.4.9

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2019-09-27 14:45:54.417161285 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new.3248/python-html5-parser.changes
2020-04-09 23:18:12.278339878 +0200
@@ -1,0 +2,7 @@
+Thu Apr  9 11:12:17 UTC 2020 - Marketa Calabkova 
+
+- Update to 0.4.9
+  * Fix an error parsing XHTML where the xlink namespace is defined on 
+the root node but not on a node where the default namespace is redefined
+
+---

Old:

  python-html5-parser-0.4.8.tar.gz

New:

  python-html5-parser-0.4.9.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.tv7eQT/_old  2020-04-09 23:18:12.954340269 +0200
+++ /var/tmp/diff_new_pack.tv7eQT/_new  2020-04-09 23:18:12.954340269 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-html5-parser
 #
-# 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-html5-parser
-Version:0.4.8
+Version:0.4.9
 Release:0
 Summary:C based HTML 5 parsing for Python
 License:Apache-2.0
@@ -48,6 +48,9 @@
 %install
 %python_install
 
+%check
+%python_exec setup.py test
+
 %files %{python_files}
 %license LICENSE
 %doc README.rst

++ python-html5-parser-0.4.8.tar.gz -> python-html5-parser-0.4.9.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.8/src/as-libxml.c 
new/html5-parser-0.4.9/src/as-libxml.c
--- old/html5-parser-0.4.8/src/as-libxml.c  2019-07-25 08:02:44.0 
+0200
+++ new/html5-parser-0.4.9/src/as-libxml.c  2019-11-03 04:13:38.0 
+0100
@@ -50,14 +50,25 @@
 static inline xmlNsPtr
 ensure_xml_ns(xmlDocPtr doc, ParseData *pd, xmlNodePtr node) {
 // By default libxml2 docs do not have the xml: namespace defined.
-xmlNodePtr root = pd->root ? pd->root : node;
 if (UNLIKELY(!pd->xml)) {
+xmlNodePtr root = pd->root ? pd->root : node;
 pd->xml = xmlSearchNs(doc, root, BAD_CAST "xml");
 }
 return pd->xml;
 }
 
 static inline xmlNsPtr
+ensure_xlink_ns(xmlDocPtr doc, ParseData *pd, xmlNodePtr node) {
+if (UNLIKELY(!pd->xlink)) {
+xmlNodePtr root = pd->root ? pd->root : node;
+pd->xlink = xmlSearchNs(doc, root, BAD_CAST "xlink");
+if (UNLIKELY(!pd->xlink)) pd->xlink = xmlNewNs(root, BAD_CAST 
"http://www.w3.org/1999/xlink;, BAD_CAST "xlink");
+}
+return pd->xlink;
+}
+
+
+static inline xmlNsPtr
 find_namespace_by_prefix(xmlDocPtr doc, xmlNodePtr node, xmlNodePtr 
xml_parent, const char* prefix) {
 xmlNsPtr ans = xmlSearchNs(doc, node, BAD_CAST prefix);
 if (ans) return ans;
@@ -75,7 +86,6 @@
 char buf[50] = {0};
 ParseData *pd = (ParseData*)doc->_private;
 xmlNsPtr ns;
-xmlNodePtr root;
 int added_lang = 0;
 
 for (unsigned int i = 0; i < elem->attributes.length; ++i) {
@@ -85,12 +95,8 @@
 ns = NULL;
 switch (attr->attr_namespace) {
 case GUMBO_ATTR_NAMESPACE_XLINK:
-root = pd->root ? pd->root : node;
-if (UNLIKELY(!pd->xlink)) {
-pd->xlink = xmlNewNs(root, BAD_CAST 
"http://www.w3.org/1999/xlink;, BAD_CAST "xlink");
-if(UNLIKELY(!pd->xlink)) return false;
-}
-ns = pd->xlink;
+ns = ensure_xlink_ns(doc, pd, node);
+if (UNLIKELY(!ns)) return false;
 break;
 case GUMBO_ATTR_NAMESPACE_XML:
 ns = ensure_xml_ns(doc, pd, node);
@@ -105,11 +111,7 @@
 break;
 case GUMBO_ATTR_NAMESPACE_XMLNS:
 if (strncmp(aname, "xlink", 5) == 0) {
-root = pd->root ? pd->root : node;
-if (UNLIKELY(!pd->xlink)) {
-pd->xlink = xmlNewNs(root, BAD_CAST 
"http://www.w3.org/1999/xlink;, BAD_CAST "xlink");
-if(UNLIKELY(!pd->xlink)) return false;
- 

commit python-html5-parser for openSUSE:Factory

2019-09-27 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2019-09-27 14:45:52

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new.2352 (New)


Package is "python-html5-parser"

Fri Sep 27 14:45:52 2019 rev:8 rq:730335 version:0.4.8

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2019-07-01 10:44:41.617508677 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new.2352/python-html5-parser.changes
2019-09-27 14:45:54.417161285 +0200
@@ -1,0 +2,8 @@
+Wed Sep 11 15:01:52 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.4.8:
+  No changelog from upstream.
+  See instead here:
+  
https://github.com/kovidgoyal/html5-parser/compare/v0.4.7...v0.4.8?diff=unified=v0.4.8
+
+---

Old:

  python-html5-parser-0.4.7.tar.gz

New:

  python-html5-parser-0.4.8.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.kxtwhY/_old  2019-09-27 14:45:54.873160099 +0200
+++ /var/tmp/diff_new_pack.kxtwhY/_new  2019-09-27 14:45:54.873160099 +0200
@@ -17,14 +17,13 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 Name:   python-html5-parser
-Version:0.4.7
+Version:0.4.8
 Release:0
 Summary:C based HTML 5 parsing for Python
 License:Apache-2.0
 Group:  Development/Languages/Python
-Url:https://github.com/kovidgoyal/html5-parser
+URL:https://github.com/kovidgoyal/html5-parser
 Source: 
https://github.com/kovidgoyal/html5-parser/archive/v%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module devel}
@@ -34,8 +33,6 @@
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libxml-2.0)
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -52,8 +49,8 @@
 %python_install
 
 %files %{python_files}
-%defattr(-,root,root,-) 
-%doc LICENSE README.rst
+%license LICENSE
+%doc README.rst
 %{python_sitearch}/html5_parser/
 %{python_sitearch}/html5_parser-%{version}-py%{python_version}.egg-info
 

++ python-html5-parser-0.4.7.tar.gz -> python-html5-parser-0.4.8.tar.gz 
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.7/src/html5_parser/soup.py 
new/html5-parser-0.4.8/src/html5_parser/soup.py
--- old/html5-parser-0.4.7/src/html5_parser/soup.py 2019-06-04 
04:31:46.0 +0200
+++ new/html5-parser-0.4.8/src/html5_parser/soup.py 2019-07-25 
08:02:44.0 +0200
@@ -14,9 +14,12 @@
 def init_bs4_cdata_list_attributes():
 global cdata_list_attributes, universal_cdata_list_attributes
 from bs4.builder import HTMLTreeBuilder
-cdata_list_attributes = {
-k: frozenset(v) for k, v in 
HTMLTreeBuilder.cdata_list_attributes.items()
-}
+try:
+attribs = HTMLTreeBuilder.DEFAULT_CDATA_LIST_ATTRIBUTES
+except AttributeError:
+attribs = HTMLTreeBuilder.cdata_list_attributes
+
+cdata_list_attributes = {k: frozenset(v) for k, v in attribs.items()}
 universal_cdata_list_attributes = cdata_list_attributes['*']
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.7/src/python-wrapper.c 
new/html5-parser-0.4.8/src/python-wrapper.c
--- old/html5-parser-0.4.7/src/python-wrapper.c 2019-06-04 04:31:46.0 
+0200
+++ new/html5-parser-0.4.8/src/python-wrapper.c 2019-07-25 08:02:44.0 
+0200
@@ -15,7 +15,7 @@
 
 #define MAJOR 0
 #define MINOR 4
-#define PATCH 7
+#define PATCH 8
 
 static char *NAME =  "libxml2:xmlDoc";
 static char *DESTRUCTOR = "destructor:xmlFreeDoc";




commit python-html5-parser for openSUSE:Factory

2019-07-01 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2019-07-01 10:44:41

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new.4615 (New)


Package is "python-html5-parser"

Mon Jul  1 10:44:41 2019 rev:7 rq:712728 version:0.4.7

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2019-06-01 09:55:22.499203938 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new.4615/python-html5-parser.changes
2019-07-01 10:44:41.617508677 +0200
@@ -1,0 +2,8 @@
+Mon Jul  1 06:29:09 UTC 2019 - ec...@opensuse.org
+
+- update to 0.4.7
+  No changelog from upstream.
+  See instead here:
+  
https://github.com/kovidgoyal/html5-parser/compare/v0.4.6...v0.4.7?diff=unified=v0.4.7
+
+---

Old:

  v0.4.6.tar.gz

New:

  python-html5-parser-0.4.7.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.S20mrQ/_old  2019-07-01 10:44:42.053509389 +0200
+++ /var/tmp/diff_new_pack.S20mrQ/_new  2019-07-01 10:44:42.057509395 +0200
@@ -19,13 +19,13 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-html5-parser
-Version:0.4.6
+Version:0.4.7
 Release:0
 Summary:C based HTML 5 parsing for Python
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:https://github.com/kovidgoyal/html5-parser
-Source: 
https://github.com/kovidgoyal/html5-parser/archive/v%{version}.tar.gz
+Source: 
https://github.com/kovidgoyal/html5-parser/archive/v%{version}/%{name}-%{version}.tar.gz
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module lxml >= 3.8.0}




commit python-html5-parser for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2019-06-01 09:55:21

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new.5148 (New)


Package is "python-html5-parser"

Sat Jun  1 09:55:21 2019 rev:6 rq:706354 version:0.4.6

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2019-02-06 14:07:50.406644623 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new.5148/python-html5-parser.changes
2019-06-01 09:55:22.499203938 +0200
@@ -1,0 +2,8 @@
+Wed May 29 14:38:09 UTC 2019 - ec...@opensuse.org
+
+- update to 0.4.6
+  No changelog from upstream.
+  See instead here:
+  
https://github.com/kovidgoyal/html5-parser/compare/v0.4.5...v0.4.6?diff=unified=v0.4.6
+
+---

Old:

  v0.4.5.tar.gz

New:

  v0.4.6.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.qHSr8T/_old  2019-06-01 09:55:23.007203765 +0200
+++ /var/tmp/diff_new_pack.qHSr8T/_new  2019-06-01 09:55:23.011203763 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-html5-parser
-Version:0.4.5
+Version:0.4.6
 Release:0
 Summary:C based HTML 5 parsing for Python
 License:Apache-2.0

++ v0.4.5.tar.gz -> v0.4.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.5/build.py 
new/html5-parser-0.4.6/build.py
--- old/html5-parser-0.4.5/build.py 2018-04-22 17:07:13.0 +0200
+++ new/html5-parser-0.4.6/build.py 2019-05-13 09:03:47.0 +0200
@@ -72,7 +72,12 @@
 
 
 def pkg_config(pkg, *args):
-val = subprocess.check_output([PKGCONFIG, pkg] + 
list(args)).decode('utf-8')
+try:
+val = subprocess.check_output([PKGCONFIG, pkg] + 
list(args)).decode('utf-8')
+except EnvironmentError as err:
+if err.errno == errno.ENOENT:
+raise SystemExit('pkg-config is required to build html5-parser')
+raise
 return list(filter(None, map(str, shlex.split(val
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.5/gumbo/parser.c 
new/html5-parser-0.4.6/gumbo/parser.c
--- old/html5-parser-0.4.5/gumbo/parser.c   2018-04-22 17:07:13.0 
+0200
+++ new/html5-parser-0.4.6/gumbo/parser.c   2019-05-13 09:03:47.0 
+0200
@@ -4643,7 +4643,14 @@
 TAG(HR), TAG(IMAGE), TAG(IMG), TAG(INPUT), TAG(ISINDEX),
 TAG(KEYGEN), TAG(LINK), TAG(MENUITEM), TAG(META),
 TAG(PARAM), TAG(SOURCE), TAG(SPACER), TAG(TRACK),
-TAG(WBR)})) {
+TAG(WBR),
+// we exclude the  tag as it causes crashes in the 
as-lxml
+// module, see 
https://github.com/kovidgoyal/html5-parser/issues/17
+// I dont have the time to track down the root cause, 
probably something
+// related to resuing the same string segments for the tag 
name and the
+// special cloning/modification that happens to HTML tags. 
Since HTML tags
+// are treated specially anyway, there is no harm in 
excluding them.
+TAG(HTML)})) {
   inject_end = true;
   // since self closing tag,  end tag should share same
   // position and original text information as start tag
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.5/src/as-libxml.c 
new/html5-parser-0.4.6/src/as-libxml.c
--- old/html5-parser-0.4.5/src/as-libxml.c  2018-04-22 17:07:13.0 
+0200
+++ new/html5-parser-0.4.6/src/as-libxml.c  2019-05-13 09:03:47.0 
+0200
@@ -101,7 +101,7 @@
 if (UNLIKELY(!xmlNewNsPropEatName(node, NULL, 
(xmlChar*)pd->lang_attribute, BAD_CAST attr->value))) return false;
 }
 continue;
-} 
+}
 break;
 case GUMBO_ATTR_NAMESPACE_XMLNS:
 if (strncmp(aname, "xlink", 5) == 0) {
@@ -115,8 +115,8 @@
 continue;
 } else if (strncmp(aname, "xmlns", 5) == 0) {
 // discard since we dont support changing the default
-// namespace, namespace are decided by tag names alone. 
-continue; 
+// namespace, namespace are decided by 

commit python-html5-parser for openSUSE:Factory

2019-02-06 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2019-02-06 14:07:48

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new.28833 (New)


Package is "python-html5-parser"

Wed Feb  6 14:07:48 2019 rev:5 rq:671944 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2018-06-28 15:14:26.967479594 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new.28833/python-html5-parser.changes
   2019-02-06 14:07:50.406644623 +0100
@@ -1,0 +2,5 @@
+Tue Feb  5 12:02:41 UTC 2019 - Hans-Peter Jansen 
+
+- add pkgconfig build dependency
+
+---



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.cajpLt/_old  2019-02-06 14:07:51.146644487 +0100
+++ /var/tmp/diff_new_pack.cajpLt/_new  2019-02-06 14:07:51.150644486 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-html5-parser
 #
-# 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
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -31,6 +31,7 @@
 BuildRequires:  %{python_module lxml >= 3.8.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libxml-2.0)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build




commit python-html5-parser for openSUSE:Factory

2018-06-28 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2018-06-28 15:14:24

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new (New)


Package is "python-html5-parser"

Thu Jun 28 15:14:24 2018 rev:4 rq:619429 version:0.4.5

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2017-10-02 16:54:21.853039967 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new/python-html5-parser.changes 
2018-06-28 15:14:26.967479594 +0200
@@ -1,0 +2,8 @@
+Wed Jun 27 17:15:29 UTC 2018 - ec...@opensuse.org
+
+- update to 0.4.5
+  No changelog from upstream.
+  See instead here:
+  
https://github.com/kovidgoyal/html5-parser/compare/v0.4.4...v0.4.5?diff=unified=v0.4.5
+
+---

Old:

  v0.4.4.tar.gz

New:

  v0.4.5.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.FVDYL3/_old  2018-06-28 15:14:27.623478393 +0200
+++ /var/tmp/diff_new_pack.FVDYL3/_new  2018-06-28 15:14:27.627478386 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-html5-parser
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-html5-parser
-Version:0.4.4
+Version:0.4.5
 Release:0
 Summary:C based HTML 5 parsing for Python
 License:Apache-2.0

++ v0.4.4.tar.gz -> v0.4.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/html5-parser-0.4.4/.travis.yml 
new/html5-parser-0.4.5/.travis.yml
--- old/html5-parser-0.4.4/.travis.yml  2017-08-01 07:18:10.0 +0200
+++ new/html5-parser-0.4.5/.travis.yml  2018-04-22 17:07:13.0 +0200
@@ -1,11 +1,3 @@
-cache: pip
-dist: trusty
-sudo: false
-addons:
-apt:
-packages:
-- libxml2-dev
-
 env:
 global:
 - PYTHONHASHSEED=random
@@ -15,31 +7,69 @@
 - os: linux
   language: python
   python: 2.7
-  env: BUILDER=build.py CC=gcc
+  env: BUILDER=build.py CC=gcc PYTHON=python
+  group: beta
+  dist: trusty
+  sudo: false
+  addons:
+  apt:
+  packages:
+  - libxml2-dev
 - os: linux
   language: python
   python: 2.7
-  env: BUILDER=build.py CC=clang
+  env: BUILDER=build.py CC=clang PYTHON=python 
LSAN_OPTIONS=verbosity=1:log_threads=1
+  group: beta
+  dist: trusty
+  # See https://github.com/travis-ci/travis-ci/issues/9033
+  sudo: required
+  addons:
+  apt:
+  packages:
+  - libxml2-dev
 - os: linux
   language: python
   python: 2.7
-  env: BUILDER=setup.py
+  env: BUILDER=setup.py PYTHON=python
+  group: beta
+  dist: trusty
+  sudo: false
+  addons:
+  apt:
+  packages:
+  - libxml2-dev
 - os: linux
   language: python
-  python: 3.4
-  env: BUILDER=setup.py
-
+  python: 3.6
+  env: BUILDER=setup.py PYTHON=python
+  group: beta
+  dist: trusty
+  sudo: false
+  addons:
+  apt:
+  packages:
+  - libxml2-dev
 - os: osx
-  python:
   language: generic
-  env: BUILDER=setup.py
+  env: BUILDER=setup.py PYTHON=python3
 
-install:
-- pip install --no-binary lxml chardet lxml beautifulsoup4
-- if [[ $TRAVIS_PYTHON_VERSION == 2.* ]]; then pip install BeautifulSoup; 
fi
-- python -c "from lxml import etree; print(etree)"
-- git clone --depth 1 "https://github.com/html5lib/html5lib-tests.git; 
test/html5lib-tests
+install: |
+set -e
+if [[ "$TRAVIS_OS_NAME" == 'osx' ]]; then
+brew update;
+brew upgrade python;
+python3 --version
+pip3 install --no-binary lxml chardet lxml beautifulsoup4
+else
+PLIB=$(ldd `which python` | grep libpython | cut -d ' ' -f 3)
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:`dirname $PLIB`
+pip install --no-binary lxml chardet lxml beautifulsoup4
+if [[ $TRAVIS_PYTHON_VERSION == 2.* 

commit python-html5-parser for openSUSE:Factory

2017-10-02 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2017-10-02 16:54:13

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new (New)


Package is "python-html5-parser"

Mon Oct  2 16:54:13 2017 rev:3 rq:530137 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2017-08-24 18:56:34.110194242 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new/python-html5-parser.changes 
2017-10-02 16:54:21.853039967 +0200
@@ -1,0 +2,5 @@
+Fri Sep 29 16:19:18 UTC 2017 - jeng...@inai.de
+
+- Reword descriptions for neutrality and accuracy.
+
+---



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.XqaSYR/_old  2017-10-02 16:54:22.352969796 +0200
+++ /var/tmp/diff_new_pack.XqaSYR/_new  2017-10-02 16:54:22.352969796 +0200
@@ -21,7 +21,7 @@
 Name:   python-html5-parser
 Version:0.4.4
 Release:0
-Summary:Fast C based HTML 5 parsing for python
+Summary:C based HTML 5 parsing for Python
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:https://github.com/kovidgoyal/html5-parser
@@ -38,8 +38,8 @@
 %python_subpackages
 
 %description
-A fast, standards compliant, C based, HTML 5 parser for python. 
-Over thirty times as fast as pure python based parsers, such as html5lib.
+A standards compliant, C based HTML 5 parser for Python. It processes HTML
+about thirty times faster than the "html5lib" pure Python based parser.
 
 %prep
 %setup -q -n html5-parser-%{version}




commit python-html5-parser for openSUSE:Factory

2017-08-24 Thread root
Hello community,

here is the log from the commit of package python-html5-parser for 
openSUSE:Factory checked in at 2017-08-24 18:56:09

Comparing /work/SRC/openSUSE:Factory/python-html5-parser (Old)
 and  /work/SRC/openSUSE:Factory/.python-html5-parser.new (New)


Package is "python-html5-parser"

Thu Aug 24 18:56:09 2017 rev:2 rq:518433 version:0.4.4

Changes:

--- /work/SRC/openSUSE:Factory/python-html5-parser/python-html5-parser.changes  
2017-08-16 16:11:40.918494795 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-html5-parser.new/python-html5-parser.changes 
2017-08-24 18:56:34.110194242 +0200
@@ -1,0 +2,5 @@
+Mon Aug 14 14:52:38 UTC 2017 - opens...@dstoecker.de
+
+- update to 0.4.4
+
+---

Old:

  v0.4.3.tar.gz

New:

  v0.4.4.tar.gz



Other differences:
--
++ python-html5-parser.spec ++
--- /var/tmp/diff_new_pack.bZL50p/_old  2017-08-24 18:56:35.058060776 +0200
+++ /var/tmp/diff_new_pack.bZL50p/_new  2017-08-24 18:56:35.078057960 +0200
@@ -1,4 +1,4 @@
-#
+#
 # spec file for package python-html5-parser
 #
 # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
@@ -19,20 +19,20 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 
 Name:   python-html5-parser
-Version:0.4.3
+Version:0.4.4
 Release:0
 Summary:Fast C based HTML 5 parsing for python
 License:Apache-2.0
 Group:  Development/Languages/Python
 Url:https://github.com/kovidgoyal/html5-parser
 Source: 
https://github.com/kovidgoyal/html5-parser/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module lxml >= 3.8.0}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  fdupes
-BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(libxml-2.0)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %python_subpackages

++ v0.4.3.tar.gz -> v0.4.4.tar.gz ++
 3169 lines of diff (skipped)