Hello community,

here is the log from the commit of package python-html2text for 
openSUSE:Factory checked in at 2015-04-21 10:53:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-html2text (Old)
 and      /work/SRC/openSUSE:Factory/.python-html2text.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-html2text"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes        
2015-02-25 02:18:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes   
2015-04-21 10:53:48.000000000 +0200
@@ -0,0 +1,70 @@
+-------------------------------------------------------------------
+Sun Apr 19 11:25:59 UTC 2015 - [email protected]
+
+- update to version 2015.4.14:
+  * Feature #59: Write image tags with height and width attrs as
+    raw html to retain dimensions
+- additional changes from version 2015.4.13:
+  * Feature #56: Treat '-' file parameter as stdin.
+  * Feature #57: Retain escaping of html except within code or pre
+    tags.
+- additional changes from version 2015.2.18:
+  * Fix #38: Anchor tags with empty text or with `<img>` tags
+    inside are no longer stripped.
+- additional changes from version 2014.12.29:
+  * Feature #51: Add single line break option.
+- additional 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.
+- additional changes from 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.
+- additional 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/
+- additional changes from version 2014.9.8:
+  * Fix #28: missing ``html2text`` package in installation.
+- additional 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 <img src='foo' alt>.
+    Fixed in #25.
+- additional 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``.
+- additional changes from version 2014.4.5:
+  * Fix #1: Add ``ChangeLog.rst`` file.
+  * Fix #2: Add ``AUTHORS.rst`` file.
+- update URL to maintainer homepage
+- drop html2text-entrypoints.patch: rename the script instead
+- update package description
+- add unittest2 to buildrequire for the tests
+- add %check to run the tests during build
+- install the script as html2text-python%{py_ver}
+- add AUTHORS.rst and ChangeLog.rst to documentation
+- remove useless shebang in __init__.py
+
+-------------------------------------------------------------------

Old:
----
  html2text-3.200.3.tar.gz
  html2text-entrypoints.patch

New:
----
  html2text-2015.4.14.tar.gz

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

Other differences:
------------------
++++++ python-html2text.spec ++++++
--- /var/tmp/diff_new_pack.8ur4SO/_old  2015-04-21 10:53:49.000000000 +0200
+++ /var/tmp/diff_new_pack.8ur4SO/_new  2015-04-21 10:53:49.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-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,18 +17,17 @@
 
 
 Name:           python-html2text
-Version:        3.200.3
+Version:        2015.4.14
 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:         
https://pypi.python.org/packages/source/h/html2text/html2text-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM [email protected] -- 
https://github.com/aaronsw/html2text/pull/79 
-Patch0:         html2text-entrypoints.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  python-unittest2
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
@@ -36,24 +35,29 @@
 %endif
 
 %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}
-%patch0 -p1
+# remove useless shebang
+sed -i '/^#!/d' html2text/__init__.py
 
 %build
 python setup.py build
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-# An upstream mistake. A conflict betwenn html2text.py in python_sitelib 
-# and in bindir when an external project tries to import it
-rm %{buildroot}%{_bindir}/html2text.py
+mv %{buildroot}%{_bindir}/html2text 
%{buildroot}%{_bindir}/html2text-python%{py_ver}
+
+%check
+python setup.py test
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING README.md
+%doc COPYING README.md AUTHORS.rst ChangeLog.rst
+%{_bindir}/html2text-python%{py_ver}
 %{python_sitelib}/*
 
 %changelog

++++++ html2text-3.200.3.tar.gz -> html2text-2015.4.14.tar.gz ++++++
++++ 4252 lines of diff (skipped)


Reply via email to