commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2016-09-21 18:50:40 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2016-07-05 09:53:14.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2016-09-21 18:50:43.0 +0200 @@ -1,0 +2,11 @@ +Wed Sep 21 02:04:41 UTC 2016 - a...@gmx.de + +- update to version 2016.9.19: + * Default image alt text option created and set to a default of +empty string "" to maintain backward compatibility + * Fix #136: --default-image-alt now takes a string as argument + * Fix #113: Stop changing quiet levels on /script tags. + * Merge #126: Fix deprecation warning on py3 due to html.escape + * Fix #145: Running test suite on Travis CI for Python 2.6. + +--- Old: html2text-2016.5.29.tar.gz New: html2text-2016.9.19.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.ZWXXPT/_old 2016-09-21 18:50:44.0 +0200 +++ /var/tmp/diff_new_pack.ZWXXPT/_new 2016-09-21 18:50:44.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2016.5.29 +Version:2016.9.19 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2016.5.29.tar.gz -> html2text-2016.9.19.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.5.29/ChangeLog.rst new/html2text-2016.9.19/ChangeLog.rst --- old/html2text-2016.5.29/ChangeLog.rst 2016-05-29 18:12:58.0 +0200 +++ new/html2text-2016.9.19/ChangeLog.rst 2016-09-19 00:03:35.0 +0200 @@ -1,3 +1,14 @@ +2016.9.19 += + + +* Default image alt text option created and set to a default of empty string "" to maintain backward compatibility +* Fix #136: --default-image-alt now takes a string as argument +* Fix #113: Stop changing quiet levels on \/script tags. +* Merge #126: Fix deprecation warning on py3 due to html.escape +* Fix #145: Running test suite on Travis CI for Python 2.6. + + 2016.5.29 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.5.29/PKG-INFO new/html2text-2016.9.19/PKG-INFO --- old/html2text-2016.5.29/PKG-INFO2016-05-29 18:16:19.0 +0200 +++ new/html2text-2016.9.19/PKG-INFO2016-09-19 00:08:46.0 +0200 @@ -1,98 +1,128 @@ Metadata-Version: 1.1 Name: html2text -Version: 2016.5.29 +Version: 2016.9.19 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand Author-email: alireza.sav...@gmail.com License: GNU GPL 3 -Description: # html2text +Description: html2text += -[![Build Status](https://secure.travis-ci.org/Alir3z4/html2text.png)](http://travis-ci.org/Alir3z4/html2text) -[![Coverage Status](https://coveralls.io/repos/Alir3z4/html2text/badge.png)](https://coveralls.io/r/Alir3z4/html2text) - [![Downloads](http://badge.kloud51.com/pypi/d/html2text.png)](https://pypi.python.org/pypi/html2text/) - [![Version](http://badge.kloud51.com/pypi/v/html2text.png)](https://pypi.python.org/pypi/html2text/) - [![Wheel?](http://badge.kloud51.com/pypi/wheel/html2text.png)](https://pypi.python.org/pypi/html2text/) - [![Format](http://badge.kloud51.com/pypi/format/html2text.png)](https://pypi.python.org/pypi/html2text/) - [![License](http://badge.kloud51.com/pypi/license/html2text.png)](https://pypi.python.org/pypi/html2text/) - - -html2text is a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format). - - -Usage: `html2text [(filename|url) [encoding]]` - -| Option | Description - ||--- -| `--version`| Show program's version number and exit -| `-h`, `--help` | Show this help message and exit -| `--ignore-links`
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2016-07-05 09:53:05 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2016-05-25 21:24:20.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2016-07-05 09:53:14.0 +0200 @@ -1,0 +2,9 @@ +Tue Jul 5 01:11:57 UTC 2016 - a...@gmx.de + +- update to version 2016.5.29: + * Fix #125: --pad_tables now pads table cells to make them look +nice. + * Fix #114: Break does not interrupt blockquotes + * Deprecation warnings for URL retrieval. + +--- @@ -6 +14,0 @@ - Old: html2text-2016.4.2.tar.gz New: html2text-2016.5.29.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.7CzrT1/_old 2016-07-05 09:53:15.0 +0200 +++ /var/tmp/diff_new_pack.7CzrT1/_new 2016-07-05 09:53:15.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2016.4.2 +Version:2016.5.29 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2016.4.2.tar.gz -> html2text-2016.5.29.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.4.2/ChangeLog.rst new/html2text-2016.5.29/ChangeLog.rst --- old/html2text-2016.4.2/ChangeLog.rst2016-04-01 23:57:46.0 +0200 +++ new/html2text-2016.5.29/ChangeLog.rst 2016-05-29 18:12:58.0 +0200 @@ -1,3 +1,12 @@ +2016.5.29 += + + +* Fix #125: --pad_tables now pads table cells to make them look nice. +* Fix #114: Break does not interrupt blockquotes +* Deprecation warnings for URL retrieval. + + 2016.4.2 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.4.2/PKG-INFO new/html2text-2016.5.29/PKG-INFO --- old/html2text-2016.4.2/PKG-INFO 2016-04-02 00:00:15.0 +0200 +++ new/html2text-2016.5.29/PKG-INFO2016-05-29 18:16:19.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2016.4.2 +Version: 2016.5.29 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand @@ -107,7 +107,6 @@ Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.0 -Classifier: Programming Language :: Python :: 3.1 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.4.2/html2text/__init__.py new/html2text-2016.5.29/html2text/__init__.py --- old/html2text-2016.4.2/html2text/__init__.py2016-04-01 23:58:02.0 +0200 +++ new/html2text-2016.5.29/html2text/__init__.py 2016-05-29 18:14:12.0 +0200 @@ -27,10 +27,11 @@ list_numbering_start, dumb_css_parser, escape_md_section, -skipwrap +skipwrap, +pad_tables_in_text ) -__version__ = (2016, 4, 2) +__version__ = (2016, 5, 29) # TODO: @@ -77,6 +78,7 @@ self.hide_strikethrough = False # covered in cli self.mark_code = config.MARK_CODE self.wrap_links = config.WRAP_LINKS # covered in cli +self.pad_tables = config.PAD_TABLES # covered in cli self.tag_callback = None if out is None: # pragma: no cover @@ -130,7 +132,11 @@ def handle(self, data): self.feed(data) self.feed("") -return self.optwrap(self.close()) +markdown = self.optwrap(self.close()) +if self.pad_tables: +return pad_tables_in_text(markdown) +else: +return markdown def outtextf(self, s): self.outtextlist.append(s) @@ -142,23 +148,20 @@ try: nochr = unicode('') +unicode_character = unichr except NameError: nochr = str('') +unicode_character = chr self.pbr() self.o('', 0, 'end') outtext = nochr.join(self.outtextlist) + if self.unicode_snob: -try: -nbsp = unichr(name2cp('nbsp')) -except NameError: -nbsp = c
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2016-05-25 21:24:14 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2016-04-03 23:07:29.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2016-05-25 21:24:20.0 +0200 @@ -1,0 +2,7 @@ +Sun May 8 07:01:57 UTC 2016 - a...@gmx.de + +- specfile: + * updated source url to files.pythonhosted.org + + +--- Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.pBrW2N/_old 2016-05-25 21:24:21.0 +0200 +++ /var/tmp/diff_new_pack.pBrW2N/_new 2016-05-25 21:24:21.0 +0200 @@ -23,7 +23,7 @@ Summary:Turn HTML into equivalent Markdown-structured text License:GPL-3.0 Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/h/html2text/html2text-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/h/html2text/html2text-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2016-04-03 23:07:07 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2016-01-20 09:55:11.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2016-04-03 23:07:29.0 +0200 @@ -1,0 +2,10 @@ +Sat Apr 2 03:38:44 UTC 2016 - a...@gmx.de + +- update to version 2016.4.2: + * Fix #106: encoding by stdin + * Fix #89: Python 3.5 support. + * Fix #113: inplace baseurl substitution for and tags. + * Feature #118: Update the badges to badge.kloud51.com + * Fix #119: new-line after a list is inserted + +--- Old: html2text-2016.1.8.tar.gz New: html2text-2016.4.2.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.svqzJC/_old 2016-04-03 23:07:30.0 +0200 +++ /var/tmp/diff_new_pack.svqzJC/_new 2016-04-03 23:07:30.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2016.1.8 +Version:2016.4.2 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2016.1.8.tar.gz -> html2text-2016.4.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.1.8/AUTHORS.rst new/html2text-2016.4.2/AUTHORS.rst --- old/html2text-2016.1.8/AUTHORS.rst 2015-11-04 15:32:38.0 +0100 +++ new/html2text-2016.4.2/AUTHORS.rst 2016-04-01 23:55:11.0 +0200 @@ -19,6 +19,7 @@ * Albert Berger * Etienne Millon * John C F +* Mikhail Melnik Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.1.8/ChangeLog.rst new/html2text-2016.4.2/ChangeLog.rst --- old/html2text-2016.1.8/ChangeLog.rst2016-01-08 17:35:35.0 +0100 +++ new/html2text-2016.4.2/ChangeLog.rst2016-04-01 23:57:46.0 +0200 @@ -1,3 +1,14 @@ +2016.4.2 += + + +* Fix #106: encoding by stdin +* Fix #89: Python 3.5 support. +* Fix #113: inplace baseurl substitution for and tags. +* Feature #118: Update the badges to badge.kloud51.com +* Fix #119: new-line after a list is inserted + + 2016.1.8 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2016.1.8/PKG-INFO new/html2text-2016.4.2/PKG-INFO --- old/html2text-2016.1.8/PKG-INFO 2016-01-08 17:40:00.0 +0100 +++ new/html2text-2016.4.2/PKG-INFO 2016-04-02 00:00:15.0 +0200 @@ -1,12 +1,99 @@ Metadata-Version: 1.1 Name: html2text -Version: 2016.1.8 +Version: 2016.4.2 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand Author-email: alireza.sav...@gmail.com License: GNU GPL 3 -Description: UNKNOWN +Description: # html2text + +[![Build Status](https://secure.travis-ci.org/Alir3z4/html2text.png)](http://travis-ci.org/Alir3z4/html2text) +[![Coverage Status](https://coveralls.io/repos/Alir3z4/html2text/badge.png)](https://coveralls.io/r/Alir3z4/html2text) + [![Downloads](http://badge.kloud51.com/pypi/d/html2text.png)](https://pypi.python.org/pypi/html2text/) + [![Version](http://badge.kloud51.com/pypi/v/html2text.png)](https://pypi.python.org/pypi/html2text/) + [![Wheel?](http://badge.kloud51.com/pypi/wheel/html2text.png)](https://pypi.python.org/pypi/html2text/) + [![Format](http://badge.kloud51.com/pypi/format/html2text.png)](https://pypi.python.org/pypi/html2text/) + [![License](http://badge.kloud51.com/pypi/license/html2text.png)](https://pypi.python.org/pypi/html2text/) + + +html2text is a Python script that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format). + + +Usage: `html2text [(filename|url) [encoding]]` + +| Option | Description + ||--- +| `--version`| Show program's version number and exit +| `-h`, `--help` | S
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2016-01-20 09:55:00 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-11-08 11:26:25.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2016-01-20 09:55:11.0 +0100 @@ -1,0 +2,12 @@ +Sun Jan 17 00:04:08 UTC 2016 - a...@gmx.de + +- specfile: + * update copyright year + +- update to version 2016.1.8: + * Feature #99: Removed duplicated initialisation. + * Fix #100: Get element style key error. + * Fix #101: Fix error end tag pop exception + * , , now rendered as ~~text~~. + +--- Old: html2text-2015.11.4.tar.gz New: html2text-2016.1.8.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.hQFr1W/_old 2016-01-20 09:55:12.0 +0100 +++ /var/tmp/diff_new_pack.hQFr1W/_new 2016-01-20 09:55:12.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-html2text # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.11.4 +Version:2016.1.8 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.11.4.tar.gz -> html2text-2016.1.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.11.4/ChangeLog.rst new/html2text-2016.1.8/ChangeLog.rst --- old/html2text-2015.11.4/ChangeLog.rst 2015-11-04 15:48:46.0 +0100 +++ new/html2text-2016.1.8/ChangeLog.rst2016-01-08 17:35:35.0 +0100 @@ -1,3 +1,13 @@ +2016.1.8 += + + +* Feature #99: Removed duplicated initialisation. +* Fix #100: Get element style key error. +* Fix #101: Fix error end tag pop exception +* , , now rendered as ~~text~~. + + 2015.11.4 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.11.4/PKG-INFO new/html2text-2016.1.8/PKG-INFO --- old/html2text-2015.11.4/PKG-INFO2015-11-04 16:23:02.0 +0100 +++ new/html2text-2016.1.8/PKG-INFO 2016-01-08 17:40:00.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.11.4 +Version: 2016.1.8 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.11.4/html2text/__init__.py new/html2text-2016.1.8/html2text/__init__.py --- old/html2text-2015.11.4/html2text/__init__.py 2015-11-04 15:48:14.0 +0100 +++ new/html2text-2016.1.8/html2text/__init__.py2016-01-08 17:39:25.0 +0100 @@ -29,7 +29,7 @@ skipwrap ) -__version__ = (2015, 11, 4) +__version__ = (2016, 1, 8) # TODO: @@ -72,8 +72,6 @@ self.use_automatic_links = config.USE_AUTOMATIC_LINKS # covered in cli self.hide_strikethrough = False # covered in cli self.mark_code = config.MARK_CODE -self.single_line_break = config.SINGLE_LINE_BREAK -self.use_automatic_links = config.USE_AUTOMATIC_LINKS self.wrap_links = config.WRAP_LINKS # covered in cli self.tag_callback = None @@ -306,7 +304,7 @@ tag_style = element_style(attrs, self.style_def, parent_style) self.tag_stack.append((tag, attrs, tag_style)) else: -dummy, attrs, tag_style = self.tag_stack.pop() +dummy, attrs, tag_style = self.tag_stack.pop() if self.tag_stack else (None, {}, {}) if self.tag_stack: parent_style = self.tag_stack[-1][2] @@ -367,9 +365,9 @@ self.o(self.strong_mark) if tag in ['del', 'strike', 's']: if start: -self.o("<" + tag + ">") +self.o('~~') else: -self.o("") +self.o('~~') if self.google_doc: if not self.inheader: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exc
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-11-08 11:26:24 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-07-03 00:18:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-11-08 11:26:25.0 +0100 @@ -1,0 +2,11 @@ +Wed Nov 4 16:40:42 UTC 2015 - a...@gmx.de + +- update to version 2015.11.4: + * Fix #38: Long links wrapping controlled by --no-wrap-links. + * Note: --no-wrap-links implies --reference-links + * Feature #83: Add callback-on-tag. + * Fix #87: Decode errors can be handled via command line. + * Feature #95: Docs, decode errors spelling mistake. + * Fix #84: Make bodywidth kwarg overridable using config. + +--- Old: html2text-2015.6.21.tar.gz New: html2text-2015.11.4.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.BnLolk/_old 2015-11-08 11:26:26.0 +0100 +++ /var/tmp/diff_new_pack.BnLolk/_new 2015-11-08 11:26:26.0 +0100 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.6.21 +Version:2015.11.4 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.6.21.tar.gz -> html2text-2015.11.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.21/AUTHORS.rst new/html2text-2015.11.4/AUTHORS.rst --- old/html2text-2015.6.21/AUTHORS.rst 2015-06-12 08:58:49.0 +0200 +++ new/html2text-2015.11.4/AUTHORS.rst 2015-11-04 15:32:38.0 +0100 @@ -17,6 +17,8 @@ * Arjoonn Sharma * Ali Mohammad * Albert Berger +* Etienne Millon +* John C F Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.21/ChangeLog.rst new/html2text-2015.11.4/ChangeLog.rst --- old/html2text-2015.6.21/ChangeLog.rst 2015-06-21 16:36:23.0 +0200 +++ new/html2text-2015.11.4/ChangeLog.rst 2015-11-04 15:48:46.0 +0100 @@ -1,3 +1,15 @@ +2015.11.4 += + + +* Fix #38: Long links wrapping controlled by `--no-wrap-links`. +* Note: `--no-wrap-links` implies `--reference-links` +* Feature #83: Add callback-on-tag. +* Fix #87: Decode errors can be handled via command line. +* Feature #95: Docs, decode errors spelling mistake. +* Fix #84: Make bodywidth kwarg overridable using config. + + 2015.6.21 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.21/PKG-INFO new/html2text-2015.11.4/PKG-INFO --- old/html2text-2015.6.21/PKG-INFO2015-06-21 16:43:23.0 +0200 +++ new/html2text-2015.11.4/PKG-INFO2015-11-04 16:23:02.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.6.21 +Version: 2015.11.4 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand @@ -23,3 +23,4 @@ Classifier: Programming Language :: Python :: 3.1 Classifier: Programming Language :: Python :: 3.2 Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.21/README.md new/html2text-2015.11.4/README.md --- old/html2text-2015.6.21/README.md 2015-06-12 08:58:23.0 +0200 +++ new/html2text-2015.11.4/README.md 2015-11-04 15:32:38.0 +0100 @@ -15,27 +15,16 @@ Usage: `html2text [(filename|url) [encoding]]` - | Option | Description ||--- | `--version`| Show program's version number and exit | `-h`, `--help` | Show this help message and exit | `--ignore-links` | Don't include any formatting for links -|`--protect-links` | Protect links from line breaks surrounding them "+" with angle brackets -|`--ignore-images` | Don't include any formatting for images -|`--images-to-alt`
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-07-02 22:50:08 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-06-15 17:50:47.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-07-03 00:18:41.0 +0200 @@ -1,0 +2,12 @@ +Tue Jun 30 22:16:00 UTC 2015 - a...@gmx.de + +- update to version 2015.6.21: + * Fix #31: HTML entities stay inside link. + * Fix #71: Coverage detects command line tests. + * Fix #39: Documentation update. + * Fix #61: Functionality added for optional use of automatic links. + * Feature #80: title attribute is preserved in both inline and +reference links. + * Feature #82: More command line options. See docs. + +--- Old: html2text-2015.6.12.tar.gz New: html2text-2015.6.21.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.YV8HtV/_old 2015-07-03 00:18:42.0 +0200 +++ /var/tmp/diff_new_pack.YV8HtV/_new 2015-07-03 00:18:42.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.6.12 +Version:2015.6.21 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.6.12.tar.gz -> html2text-2015.6.21.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.12/ChangeLog.rst new/html2text-2015.6.21/ChangeLog.rst --- old/html2text-2015.6.12/ChangeLog.rst 2015-06-12 09:04:50.0 +0200 +++ new/html2text-2015.6.21/ChangeLog.rst 2015-06-21 16:36:23.0 +0200 @@ -1,3 +1,15 @@ +2015.6.21 += + + +* Fix #31: HTML entities stay inside link. +* Fix #71: Coverage detects command line tests. +* Fix #39: Documentation update. +* Fix #61: Functionality added for optional use of automatic links. +* Feature #80: ``title`` attribute is preserved in both inline and reference links. +* Feature #82: More command line options. See docs. + + 2015.6.12 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.12/PKG-INFO new/html2text-2015.6.21/PKG-INFO --- old/html2text-2015.6.12/PKG-INFO2015-06-12 09:07:11.0 +0200 +++ new/html2text-2015.6.21/PKG-INFO2015-06-21 16:43:23.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.6.12 +Version: 2015.6.21 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.12/html2text/__init__.py new/html2text-2015.6.21/html2text/__init__.py --- old/html2text-2015.6.12/html2text/__init__.py 2015-06-12 09:01:21.0 +0200 +++ new/html2text-2015.6.21/html2text/__init__.py 2015-06-21 16:36:01.0 +0200 @@ -7,7 +7,7 @@ try: from textwrap import wrap -except ImportError: +except ImportError: # pragma: no cover pass from html2text.compat import urlparse, HTMLParser @@ -29,7 +29,7 @@ skipwrap ) -__version__ = (2015, 6, 12) +__version__ = (2015, 6, 21) # TODO: @@ -50,31 +50,32 @@ self.split_next_td = False self.td_count = 0 self.table_start = False -self.unicode_snob = config.UNICODE_SNOB -self.escape_snob = config.ESCAPE_SNOB +self.unicode_snob = config.UNICODE_SNOB # covered in cli +self.escape_snob = config.ESCAPE_SNOB # covered in cli self.links_each_paragraph = config.LINKS_EACH_PARAGRAPH -self.body_width = bodywidth -self.skip_internal_links = config.SKIP_INTERNAL_LINKS -self.inline_links = config.INLINE_LINKS -self.protect_links = config.PROTECT_LINKS -self.google_list_indent = config.GOOGLE_LIST_INDENT -self.ignore_links = config.IGNORE_ANCHORS -self.ignore_images = config.IGNORE_IMAGES -self.images_to_alt = config.IMAGES_TO_ALT -self.images_with_size = config.IMAGES_WITH_SIZE -self.ignore_emphasis = config.IGNORE_EMPHASIS -self.bypass_tables = config.BYPASS_TABLES -self.google_doc = False -self.ul_item_mark = '*' -self.emphasis_mark = '_' +self.body_width = bodywidth # covered in
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-06-15 17:50:42 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-06-06 09:54:37.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-06-15 17:50:47.0 +0200 @@ -1,0 +2,8 @@ +Mon Jun 15 02:15:36 UTC 2015 - a...@gmx.de + +- update to version 2015.6.12: + * Feature #76: Making pre blocks clearer for further automatic +formatting. + * Fix #71: Coverage detects tests carried out in subprocesses + +--- Old: html2text-2015.6.6.tar.gz New: html2text-2015.6.12.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.xuPxX0/_old 2015-06-15 17:50:48.0 +0200 +++ /var/tmp/diff_new_pack.xuPxX0/_new 2015-06-15 17:50:48.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.6.6 +Version:2015.6.12 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.6.6.tar.gz -> html2text-2015.6.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.6/AUTHORS.rst new/html2text-2015.6.12/AUTHORS.rst --- old/html2text-2015.6.6/AUTHORS.rst 2015-06-04 17:19:23.0 +0200 +++ new/html2text-2015.6.12/AUTHORS.rst 2015-06-12 08:58:49.0 +0200 @@ -16,6 +16,7 @@ * Peter Wu * Arjoonn Sharma * Ali Mohammad +* Albert Berger Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.6/ChangeLog.rst new/html2text-2015.6.12/ChangeLog.rst --- old/html2text-2015.6.6/ChangeLog.rst2015-06-05 09:37:52.0 +0200 +++ new/html2text-2015.6.12/ChangeLog.rst 2015-06-12 09:04:50.0 +0200 @@ -1,5 +1,14 @@ +2015.6.12 += + + +* Feature #76: Making ``pre`` blocks clearer for further automatic formatting. +* Fix #71: Coverage detects tests carried out in ``subprocesses`` + + 2015.6.6 + * Fix #24: ``3.200.3`` vs ``2014.7.3`` output quirks. * Fix #61. Malformed links in markdown output. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.6/PKG-INFO new/html2text-2015.6.12/PKG-INFO --- old/html2text-2015.6.6/PKG-INFO 2015-06-05 09:38:46.0 +0200 +++ new/html2text-2015.6.12/PKG-INFO2015-06-12 09:07:11.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.6.6 +Version: 2015.6.12 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.6/README.md new/html2text-2015.6.12/README.md --- old/html2text-2015.6.6/README.md2015-06-05 08:58:22.0 +0200 +++ new/html2text-2015.6.12/README.md 2015-06-12 08:58:23.0 +0200 @@ -34,6 +34,7 @@ | `--bypass-tables` | Format tables in HTML rather than Markdown syntax. | `--single-line-break` | Use a single line break after a block element rather than two. | `--reference-links`| Use reference links instead of links to create markdown +| `--mark-code` | Mark preformatted and code blocks with [code]...[/code] @@ -86,6 +87,13 @@ PYTHONPATH=$PYTHONPATH:. coverage run --source=html2text setup.py test -v +To see the coverage results: + +coverage combine +coverage html + +then open the `./htmlcov/index.html` file in your browser. + ## Documentation Documentation lives [here](docs/index.md) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.6.6/html2text/__init__.py new/html2text-2015.6.12/html2text/__init__.py --- old/html2text-2015.6.6/html2text/__init__.py2015-06-05 09:38:14.0 +0200 +++ new/html2text-2015.6.12/html2text/__init__.py 2015-06-12 09:01:21.0 +0200 @@ -29,7 +29,7 @@ skipwrap ) -__version__ = (2015, 6, 6) +__version__ = (2015, 6, 12) # TODO: @@ -70,6 +70,7 @@ self.strong_mark = '**' self.single_line_break =
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-06-06 09:54:30 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-04-15 16:24:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-06-06 09:54:37.0 +0200 @@ -1,0 +2,14 @@ +Fri Jun 5 15:45:24 UTC 2015 - a...@gmx.de + +- update to version 2015.6.6: + * Fix #24: 3.200.3 vs 2014.7.3 output quirks. + * Fix #61. Malformed links in markdown output. + * Feature #62: Automatic version number. + * Fix #63: Nested code, anchor bug. + * Fix #64: Proper handling of anchors with content that starts with +tags. + * Feature #67: Documentation all over the module. + * Feature #70: Adding tests for the module. + * Fix #73: Typo in config documentation. + +--- Old: html2text-2015.4.14.tar.gz New: html2text-2015.6.6.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.79tFf3/_old 2015-06-06 09:54:38.0 +0200 +++ /var/tmp/diff_new_pack.79tFf3/_new 2015-06-06 09:54:38.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.4.14 +Version:2015.6.6 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.4.14.tar.gz -> html2text-2015.6.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.4.14/AUTHORS.rst new/html2text-2015.6.6/AUTHORS.rst --- old/html2text-2015.4.14/AUTHORS.rst 2015-04-13 17:48:22.0 +0200 +++ new/html2text-2015.6.6/AUTHORS.rst 2015-06-04 17:19:23.0 +0200 @@ -14,6 +14,8 @@ * Miguel Tavares * Scott Blackburn * Peter Wu +* Arjoonn Sharma +* Ali Mohammad Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.4.14/ChangeLog.rst new/html2text-2015.6.6/ChangeLog.rst --- old/html2text-2015.4.14/ChangeLog.rst 2015-04-14 19:05:05.0 +0200 +++ new/html2text-2015.6.6/ChangeLog.rst2015-06-05 09:37:52.0 +0200 @@ -1,3 +1,16 @@ +2015.6.6 + + +* Fix #24: ``3.200.3`` vs ``2014.7.3`` output quirks. +* Fix #61. Malformed links in markdown output. +* Feature #62: Automatic version number. +* Fix #63: Nested code, anchor bug. +* Fix #64: Proper handling of anchors with content that starts with tags. +* Feature #67: Documentation all over the module. +* Feature #70: Adding tests for the module. +* Fix #73: Typo in config documentation. + + 2015.4.14 = @@ -16,7 +29,7 @@ 2015.2.18 -== += * Fix #38: Anchor tags with empty text or with `` tags inside are no longer stripped. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.4.14/PKG-INFO new/html2text-2015.6.6/PKG-INFO --- old/html2text-2015.4.14/PKG-INFO2015-04-14 19:09:30.0 +0200 +++ new/html2text-2015.6.6/PKG-INFO 2015-06-05 09:38:46.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.4.14 +Version: 2015.6.6 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.4.14/README.md new/html2text-2015.6.6/README.md --- old/html2text-2015.4.14/README.md 2015-04-14 19:05:05.0 +0200 +++ new/html2text-2015.6.6/README.md2015-06-05 08:58:22.0 +0200 @@ -33,6 +33,8 @@ |`--escape-all` | Escape all special characters. Output is less readable, but avoids corner case formatting issues. | `--bypass-tables` | Format tables in HTML rather than Markdown syntax. | `--single-line-break` | Use a single line break after a block element rather than two. +| `--reference-links`| Use reference links instead of links to create markdown + Or you can use it from within `Python`: @@ -83,3 +85,7 @@ ## How to run unit tests PYTHONPATH=$PYTHONPATH:. coverage run --source=html2text setup.py test -v + +## Documentation + +Documentation lives [here](docs/index.md) diff -urN '--exclude=
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-04-15 16:24:55 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-02-20 12:01:56.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-04-15 16:24:59.0 +0200 @@ -1,0 +2,14 @@ +Tue Apr 14 22:48:37 UTC 2015 - a...@gmx.de + +- update to version 2015.4.14: + * Feature #59: Write image tags with height and width attrs as raw html to retain dimensions + +--- +Tue Apr 14 04:19:18 UTC 2015 - a...@gmx.de + +- update to version 2015.4.13: + * Feature #56: Treat '-' file parameter as stdin. + * Feature #57: Retain escaping of html except within code or pre +tags. + +--- Old: html2text-2015.2.18.tar.gz New: html2text-2015.4.14.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.cjBpp5/_old 2015-04-15 16:25:00.0 +0200 +++ /var/tmp/diff_new_pack.cjBpp5/_new 2015-04-15 16:25:00.0 +0200 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2015.2.18 +Version:2015.4.14 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.2.18.tar.gz -> html2text-2015.4.14.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.2.18/AUTHORS.rst new/html2text-2015.4.14/AUTHORS.rst --- old/html2text-2015.2.18/AUTHORS.rst 2015-02-18 14:16:15.0 +0100 +++ new/html2text-2015.4.14/AUTHORS.rst 2015-04-13 17:48:22.0 +0200 @@ -12,6 +12,9 @@ * Jocelyn Delalande * Matt Dorn * Miguel Tavares +* Scott Blackburn +* Peter Wu + Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.2.18/ChangeLog.rst new/html2text-2015.4.14/ChangeLog.rst --- old/html2text-2015.2.18/ChangeLog.rst 2015-02-18 14:20:44.0 +0100 +++ new/html2text-2015.4.14/ChangeLog.rst 2015-04-14 19:05:05.0 +0200 @@ -1,3 +1,20 @@ +2015.4.14 += + + + +* Feature #59: Write image tags with height and width attrs as raw html to retain dimensions + + +2015.4.13 += + + + +* Feature #56: Treat '-' file parameter as stdin. +* Feature #57: Retain escaping of html except within code or pre tags. + + 2015.2.18 == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.2.18/PKG-INFO new/html2text-2015.4.14/PKG-INFO --- old/html2text-2015.2.18/PKG-INFO2015-02-18 14:23:58.0 +0100 +++ new/html2text-2015.4.14/PKG-INFO2015-04-14 19:09:30.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2015.2.18 +Version: 2015.4.14 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.2.18/README.md new/html2text-2015.4.14/README.md --- old/html2text-2015.2.18/README.md 2015-02-18 14:16:15.0 +0100 +++ new/html2text-2015.4.14/README.md 2015-04-14 19:05:05.0 +0200 @@ -16,14 +16,15 @@ Usage: `html2text [(filename|url) [encoding]]` -| Option | Description +| Option | Description ||--- -| `--version`| Show program's version number and exit -| `-h`, `--help` | Show this help message and exit +| `--version`| Show program's version number and exit +| `-h`, `--help` | Show this help message and exit | `--ignore-links` | Don't include any formatting for links |`--protect-links` | Protect links from line breaks surrounding them "+" with angle brackets |`--ignore-images` | Don't include any formatting for images |`--images-to-alt`
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-02-20 12:01:54 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2015-01-07 09:39:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-02-20 12:01:56.0 +0100 @@ -1,0 +2,6 @@ +Fri Feb 20 06:13:40 UTC 2015 - a...@gmx.de + +- update to version 2015.2.18: + * Fix #38: Anchor tags with empty text or with tags inside are no longer stripped. + +--- Old: html2text-2014.12.29.tar.gz New: html2text-2015.2.18.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.hHZ3zU/_old 2015-02-20 12:01:56.0 +0100 +++ /var/tmp/diff_new_pack.hHZ3zU/_new 2015-02-20 12:01:56.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-html2text # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2014.12.29 +Version:2015.2.18 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2014.12.29.tar.gz -> html2text-2015.2.18.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.29/AUTHORS.rst new/html2text-2015.2.18/AUTHORS.rst --- old/html2text-2014.12.29/AUTHORS.rst2014-12-29 08:30:17.0 +0100 +++ new/html2text-2015.2.18/AUTHORS.rst 2015-02-18 14:16:15.0 +0100 @@ -1,17 +1,18 @@ -``html2text`` was Originally written by Aaron Swartz. +``html2text`` was originally written by Aaron Swartz. The AUTHORS/Contributors are (and/or have been): -* Aaron Swartz -* Yariv Barkan -* Alex Musayev -* Matěj Cepl -* Stefano Rivera -* Alireza Savand -* Ivan Gromov -* Jocelyn Delalande -* Matt Dorn +* Aaron Swartz +* Yariv Barkan +* Alex Musayev +* Matěj Cepl +* Stefano Rivera +* Alireza Savand +* Ivan Gromov +* Jocelyn Delalande +* Matt Dorn +* Miguel Tavares Maintainer: -* Alireza Savand +* Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.29/ChangeLog.rst new/html2text-2015.2.18/ChangeLog.rst --- old/html2text-2014.12.29/ChangeLog.rst 2014-12-29 08:32:53.0 +0100 +++ new/html2text-2015.2.18/ChangeLog.rst 2015-02-18 14:20:44.0 +0100 @@ -1,3 +1,10 @@ +2015.2.18 +== + + +* Fix #38: Anchor tags with empty text or with `` tags inside are no longer stripped. + + 2014.12.29 == diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.29/PKG-INFO new/html2text-2015.2.18/PKG-INFO --- old/html2text-2014.12.29/PKG-INFO 2014-12-29 08:35:48.0 +0100 +++ new/html2text-2015.2.18/PKG-INFO2015-02-18 14:23:58.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2014.12.29 +Version: 2015.2.18 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.29/html2text/__init__.py new/html2text-2015.2.18/html2text/__init__.py --- old/html2text-2014.12.29/html2text/__init__.py 2014-12-29 08:33:15.0 +0100 +++ new/html2text-2015.2.18/html2text/__init__.py 2015-02-18 14:16:15.0 +0100 @@ -84,6 +84,7 @@ self.a = [] self.astack = [] self.maybe_automatic_link = None +self.empty_link = False self.absolute_url_matcher = re.compile(r'^[a-zA-Z+]+://') self.acount = 0 self.list = [] @@ -370,6 +371,7 @@ attrs['href'].startswith('#')): self.astack.append(attrs) self.maybe_automatic_link = attrs['href'] +self.empty_link = True if self.protect_links: attrs['href'] = '<'+attrs['href']+'>' else: @@ -377,9 +379,13 @@
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2015-01-07 09:39:08 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2014-12-21 12:04:32.0 +0100 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2015-01-07 09:39:12.0 +0100 @@ -1,0 +2,17 @@ +Mon Jan 5 20:03:53 UTC 2015 - a...@gmx.de + +- specfile: update copyright year + +- update to version 2014.12.29: + * Feature #51: Add single line break option. This feature is useful +for ensuring that lots of extra line breaks do not end up in the +resulting Markdown file in situations like Evernote .enex +exports. Note that this only works properly if body-width is set +to 0. + +- changes from version 2014.12.24: + * Feature #49: Added a images_to_alt option to discard images and keep only their alt. + * Feature #50: Protect links, surrounding them with angle brackets to avoid breaking... + * Feature: Add setup.cfg file. + +--- Old: html2text-2014.12.5.tar.gz New: html2text-2014.12.29.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.nKdzuc/_old 2015-01-07 09:39:13.0 +0100 +++ /var/tmp/diff_new_pack.nKdzuc/_new 2015-01-07 09:39:13.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-html2text # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python3-html2text -Version:2014.12.5 +Version:2014.12.29 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2014.12.5.tar.gz -> html2text-2014.12.29.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.5/AUTHORS.rst new/html2text-2014.12.29/AUTHORS.rst --- old/html2text-2014.12.5/AUTHORS.rst 2014-09-25 17:35:28.0 +0200 +++ new/html2text-2014.12.29/AUTHORS.rst2014-12-29 08:30:17.0 +0100 @@ -7,7 +7,10 @@ * Alex Musayev * Matěj Cepl * Stefano Rivera +* Alireza Savand * Ivan Gromov +* Jocelyn Delalande +* Matt Dorn Maintainer: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.5/ChangeLog.rst new/html2text-2014.12.29/ChangeLog.rst --- old/html2text-2014.12.5/ChangeLog.rst 2014-12-05 19:01:01.0 +0100 +++ new/html2text-2014.12.29/ChangeLog.rst 2014-12-29 08:32:53.0 +0100 @@ -1,3 +1,23 @@ +2014.12.29 +== + + +* Feature #51: Add single line break option. +This feature is useful for ensuring that lots of extra line breaks do not +end up in the resulting Markdown file in situations like Evernote .enex +exports. Note that this only works properly if ``body-width`` is set +to ``0``. + + +2014.12.24 +== + + +* Feature #49: Added a images_to_alt option to discard images and keep only their alt. +* Feature #50: Protect links, surrounding them with angle brackets to avoid breaking... +* Feature: Add ``setup.cfg`` file. + + 2014.12.5 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.5/PKG-INFO new/html2text-2014.12.29/PKG-INFO --- old/html2text-2014.12.5/PKG-INFO2014-12-05 19:04:27.0 +0100 +++ new/html2text-2014.12.29/PKG-INFO 2014-12-29 08:35:48.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: html2text -Version: 2014.12.5 +Version: 2014.12.29 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Alireza Savand diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2014.12.5/README.md new/html2text-2014.12.29/README.md --- old/html2text-2014.12.5/README.md 2014-11-01 16:18:36.0 +0100 +++ new/html2text-2014.12.29/README.md 2014-12-29 08:30:24.0 +0100 @@ -17,11 +17,13 @@ | Option | Description -||---
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2014-12-21 12:04:50 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text" Changes: --- /work/SRC/openSUSE:Factory/python3-html2text/python3-html2text.changes 2013-06-21 19:01:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python3-html2text.new/python3-html2text.changes 2014-12-21 12:04:32.0 +0100 @@ -1,0 +2,51 @@ +Tue Dec 16 03:35:01 UTC 2014 - a...@gmx.de + +- specfile: + * updated copyright year + * updated url + * added pypi source link + * stwiched to setuptools from distribute + +- update to version 2014.12.5: + * Feature: Update `README.md` with usage examples. + * Fix #35: Remove `py_modules` from `setup.py`. + * Fix #36: Excludes tests from being installed as a separate module. + * Fix #37: Don't hardcode the path to the installed binary. + * Fix: Readme typo in running cli. + * Feature #40: Extract cli part to "cli" module. + * Feature #42: Bring python version compatibility to "compat.py" module. + * Feature #41: Extract utility/helper methods to "utils" module. + * Fix #45: Does not accept standard input when running under Python 3. + * Feature: Clean up "ChangeLog.rst" for version and date numbers. + + +- changes from version 2014.9.25: + * Feature #29, #27: Add simple table support with bypass option. + * Fix #20: Replace project website with: http://alir3z4.github.io/html2text/ . + + +- changes from version 2014.9.8: + * Fix #28: missing "html2text" package in installation. + + +- changes from version 2014.9.7: + * Fix "unicode"/"type" error in memory leak unit-test. + * Feature #16: Remove "install_deps.py". + * Feature #17: Add status badges via pypin. + * Feature #18: Add "Python" "3.4" to travis config file. + * Feature #19: Bring "html2text" to a separate module and take out the "conf"/"constant" variables. + * Feature #21: Remove meta vars from "html2text.py" file header. + * Fix: Fix TypeError when parsing tags like . Fixed in #25. + + +- changes from version 2014.7.3: + * Fix #8: Remove "How to do a release" section from README.md. + * Fix #11: Include test directory markdown, html files. + * Fix #13: memory leak in using "handle" while keeping the old instance of "html2text". + + +- changes from version 2014.4.5: + * Fix #1: Add "ChangeLog.rst" file. + * Fix #2: Add "AUTHORS.rst" file. + +--- Old: html2text-3.200.3.tar.bz2 New: html2text-2014.12.5.tar.gz Other differences: -- ++ python3-html2text.spec ++ --- /var/tmp/diff_new_pack.x3qtsn/_old 2014-12-21 12:04:33.0 +0100 +++ /var/tmp/diff_new_pack.x3qtsn/_new 2014-12-21 12:04:33.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python3-html2text # -# Copyright (c) 2011 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,26 +11,30 @@ # 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/ # + Name: python3-html2text -Version:3.200.3 +Version:2014.12.5 Release:0 -Url:http://www.aaronsw.com/2002/html2text/ +Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text License:GPL-3.0 Group: Development/Languages/Python -Source: html2text-%{version}.tar.bz2 +Source: https://pypi.python.org/packages/source/h/html2text/html2text-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python3 BuildRequires: python3-devel -BuildRequires: python3-distribute +BuildRequires: python3-setuptools BuildArch: noarch %description -Turn HTML into equivalent Markdown-structured text. +html2text is a Python script that converts a page of HTML into clean, +easy-to-read plain ASCII text. Better yet, that ASCII also happens to +be valid Markdown (a text-to-HTML format). + %prep %setup -q -n html2text-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python3-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python3-html2text for openSUSE:Factory checked in at 2013-03-06 09:04:40 Comparing /work/SRC/openSUSE:Factory/python3-html2text (Old) and /work/SRC/openSUSE:Factory/.python3-html2text.new (New) Package is "python3-html2text", Maintainer is "" Changes: New Changes file: NO CHANGES FILE!!! New: _link Other differences: -- ++ _link ++ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org