commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2020-08-28 21:20:54 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new.3399 (New) Package is "python-html2text" Fri Aug 28 21:20:54 2020 rev:23 rq:828011 version:2020.1.16 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2020-04-09 23:18:40.606356254 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new.3399/python-html2text.changes 2020-08-28 21:21:58.432342045 +0200 @@ -1,0 +2,6 @@ +Thu Aug 20 04:47:19 UTC 2020 - John Vandenberg + +- Add Conflicts with html2text +- Ignore upstream egg-info and regenerate it + +--- Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.vbW1Iu/_old 2020-08-28 21:22:01.496343532 +0200 +++ /var/tmp/diff_new_pack.vbW1Iu/_new 2020-08-28 21:22:01.500343534 +0200 @@ -33,6 +33,7 @@ BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives +Conflicts: html2text BuildArch: noarch %python_subpackages @@ -45,6 +46,9 @@ # remove useless shebang sed -i '/^#!/d' %{upname}/__init__.py +# remove executable bits from egg files +rm -r *.egg-info/ + %build %python_build @@ -54,9 +58,6 @@ %python_clone -a %{buildroot}%{_bindir}/%{upname} -# remove executable bits from egg files -%python_expand chmod -x %{buildroot}%{$python_sitelib}/%{upname}-*.egg-info/* - %post %python_install_alternative html2text @@ -73,5 +74,6 @@ %doc README.md AUTHORS.rst ChangeLog.rst %python_alternative %{_bindir}/%{upname} %{python_sitelib}/* +%{python_sitelib}/*.egg-info/ %changelog
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2020-04-09 23:18:09 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new.3248 (New) Package is "python-html2text" Thu Apr 9 23:18:09 2020 rev:22 rq:792732 version:2020.1.16 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2019-12-16 15:22:03.595096903 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new.3248/python-html2text.changes 2020-04-09 23:18:40.606356254 +0200 @@ -1,0 +2,9 @@ +Thu Apr 9 11:17:36 UTC 2020 - Marketa Calabkova + +- Update to 2020.1.16 + * Add type annotations. + * Add support for Python 3.8. + * Performance improvements when ``wrap_links`` is ``False`` (the default). + * Configure setuptools using setup.cfg. + +--- Old: html2text-2019.9.26.tar.gz New: html2text-2020.1.16.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.nA0zPg/_old 2020-04-09 23:18:41.410356719 +0200 +++ /var/tmp/diff_new_pack.nA0zPg/_new 2020-04-09 23:18:41.410356719 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -20,7 +20,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{upname} -Version:2019.9.26 +Version:2020.1.16 Release:0 Summary:Python script for turning HTML into Markdown text License:GPL-3.0-only ++ html2text-2019.9.26.tar.gz -> html2text-2020.1.16.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2019.9.26/ChangeLog.rst new/html2text-2020.1.16/ChangeLog.rst --- old/html2text-2019.9.26/ChangeLog.rst 2019-09-26 12:36:15.0 +0200 +++ new/html2text-2020.1.16/ChangeLog.rst 2020-01-16 15:20:17.0 +0100 @@ -1,3 +1,13 @@ +2020.1.16 += + + +* Add type annotations. +* Add support for Python 3.8. +* Performance improvements when ``wrap_links`` is ``False`` (the default). +* Configure setuptools using setup.cfg. + + 2019.9.26 = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2019.9.26/PKG-INFO new/html2text-2020.1.16/PKG-INFO --- old/html2text-2019.9.26/PKG-INFO2019-09-26 12:37:26.0 +0200 +++ new/html2text-2020.1.16/PKG-INFO2020-01-16 15:21:10.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: html2text -Version: 2019.9.26 +Version: 2020.1.16 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Aaron Swartz @@ -105,6 +105,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 :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2019.9.26/html2text/__init__.py new/html2text-2020.1.16/html2text/__init__.py --- old/html2text-2019.9.26/html2text/__init__.py 2019-09-26 12:36:15.0 +0200 +++ new/html2text-2020.1.16/html2text/__init__.py 2020-01-16 15:20:17.0 +0100 @@ -5,9 +5,12 @@ import re import urllib.parse as urlparse from textwrap import wrap +from typing import Dict, List, Optional, Tuple, Union -from html2text import config -from html2text.utils import ( +from . import config +from .elements import AnchorElement, ListElement +from .typing import OutCallback +from .utils import ( dumb_css_parser, element_style, escape_md, @@ -23,7 +26,7 @@ unifiable_n, ) -__version__ = (2019, 9, 26) +__version__ = (2020, 1, 16) # TODO: @@ -31,7 +34,12 @@ class HTML2Text(html.parser.HTMLParser): -def __init__(self, out=None, baseurl="", bodywidth=config.BODY_WIDTH): +def __init__( +self, +out: Optional[OutCallback] = None, +baseurl: str = "", +bodywidth: int = config.BODY_WIDTH, +) -> None: """ Input parameters: out: possible custom replacement for self.outtextf
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2019-12-16 15:21:29 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new.4691 (New) Package is "python-html2text" Mon Dec 16 15:21:29 2019 rev:21 rq:757332 version:2019.9.26 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2019-09-13 15:00:28.777282730 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new.4691/python-html2text.changes 2019-12-16 15:22:03.595096903 +0100 @@ -1,0 +2,12 @@ +Fri Dec 13 13:43:47 UTC 2019 - Matthias Fehring + +- Update to 2019.9.26: + * Fix long blockquotes wrapping. + * Remove the trailing whitespaces that were added after wrapping list items & blockquotes. + * Remove support for Python <= 3.4. Now requires Python 3.5+. + * Fix memory leak when processing a document containing a tag. + * Fix AttributeError when reading text from stdin. + * Fix UnicodeEncodeError when writing output to stdout. +- Disable build for Python 2 + +--- Old: html2text-2019.8.11.tar.gz New: html2text-2019.9.26.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.iLHLMi/_old 2019-12-16 15:22:04.131096680 +0100 +++ /var/tmp/diff_new_pack.iLHLMi/_new 2019-12-16 15:22:04.135096678 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,10 @@ %define upname html2text +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{upname} -Version:2019.8.11 +Version:2019.9.26 Release:0 Summary:Python script for turning HTML into Markdown text License:GPL-3.0-only @@ -63,6 +64,8 @@ %python_uninstall_alternative html2text %check +# otherwise python 3.6 does not automatically select UTF-8 for console output +export LANG=en_US.UTF-8 %pytest %files %{python_files} ++ html2text-2019.8.11.tar.gz -> html2text-2019.9.26.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2019.8.11/ChangeLog.rst new/html2text-2019.9.26/ChangeLog.rst --- old/html2text-2019.8.11/ChangeLog.rst 2019-08-11 21:33:38.0 +0200 +++ new/html2text-2019.9.26/ChangeLog.rst 2019-09-26 12:36:15.0 +0200 @@ -1,3 +1,15 @@ +2019.9.26 += + + +* Fix long blockquotes wrapping. +* Remove the trailing whitespaces that were added after wrapping list items & blockquotes. +* Remove support for Python ≤ 3.4. Now requires Python 3.5+. +* Fix memory leak when processing a document containing a tag. +* Fix ``AttributeError`` when reading text from stdin. +* Fix ``UnicodeEncodeError`` when writing output to stdout. + + 2019.8.11 = @@ -10,13 +22,16 @@ * Add ``__main__.py`` module to allow running the CLI using ``python -m html2text ...``. * Fix #238: correct spacing when a HTML entity follows a non-stressed tags which follow a stressed tag. * Remove unused or deprecated: + * ``html2text.compat.escape()`` * ``html2text.config.RE_UNESCAPE`` * ``html2text.HTML2Text.replaceEntities()`` * ``html2text.HTML2Text.unescape()`` * ``html2text.unescape()`` + * Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag. + 2018.1.9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2019.8.11/PKG-INFO new/html2text-2019.9.26/PKG-INFO --- old/html2text-2019.8.11/PKG-INFO2019-08-11 21:36:00.0 +0200 +++ new/html2text-2019.9.26/PKG-INFO2019-09-26 12:37:26.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: html2text -Version: 2019.8.11 +Version: 2019.9.26 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: https://github.com/Alir3z4/html2text/ Author: Aaron Swartz @@ -101,14 +101,12 @@ Classifier: License :: OSI Approved :: GNU General Public License (GPL) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python ::
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2019-09-13 15:00:23 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new.7948 (New) Package is "python-html2text" Fri Sep 13 15:00:23 2019 rev:20 rq:730321 version:2019.8.11 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2018-12-24 11:38:09.277624483 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new.7948/python-html2text.changes 2019-09-13 15:00:28.777282730 +0200 @@ -1,0 +2,14 @@ +Thu Sep 12 08:45:34 UTC 2019 - Tomáš Chvátal + +- Update to 2019.8.11: + * Fix #201: handle / marks mid-text within stressed tags or right after stressed tags. + * Feature #213: images_as_html config option to always generate an img html tag. preserves "height", "width" and "alt" if possible. + * Remove support for end-of-life Pythons. Now requires Python 2.7 or 3.4+. + * Remove support for retrieving HTML over the network. + * Add __main__.py module to allow running the CLI using python -m html2text + * Fix #238: correct spacing when a HTML entity follows a non-stressed tags which follow a stressed tag. + * Remove unused or deprecated: * html2text.compat.escape() * html2text.config.RE_UNESCAPE * html2text.HTML2Text.replaceEntities() * html2text.HTML2Text.unescape() * html2text.unescape() + * Fix #208: handle LEFT-TO-RIGHT MARK after a stressed tag. +- Remove patch remove_unittest2.patch + +--- Old: html2text-2018.1.9.tar.gz remove_unittest2.patch New: html2text-2019.8.11.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.sla7A6/_old 2019-09-13 15:00:30.149282789 +0200 +++ /var/tmp/diff_new_pack.sla7A6/_new 2019-09-13 15:00:30.189282790 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# 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 @@ -16,20 +16,17 @@ # -# %define upname html2text - %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without tests Name: python-%{upname} -Version:2018.1.9 +Version:2019.8.11 Release:0 Summary:Python script for turning HTML into Markdown text License:GPL-3.0-only Group: Development/Languages/Python URL:https://github.com/Alir3z4/html2text/ Source: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz -Patch0: remove_unittest2.patch +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -44,7 +41,6 @@ %prep %setup -q -n %{upname}-%{version} -%patch0 -p1 # remove useless shebang sed -i '/^#!/d' %{upname}/__init__.py @@ -66,10 +62,8 @@ %postun %python_uninstall_alternative html2text -%if %{with tests} %check -%python_exec setup.py test -%endif +%pytest %files %{python_files} %license COPYING ++ html2text-2018.1.9.tar.gz -> html2text-2019.8.11.tar.gz ++ 3464 lines of diff (skipped)
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2018-12-24 11:38:08 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new.28833 (New) Package is "python-html2text" Mon Dec 24 11:38:08 2018 rev:19 rq:659415 version:2018.1.9 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2018-08-24 17:04:34.322104714 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new.28833/python-html2text.changes 2018-12-24 11:38:09.277624483 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:48:56 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.IAumLE/_old 2018-12-24 11:38:09.833623989 +0100 +++ /var/tmp/diff_new_pack.IAumLE/_new 2018-12-24 11:38:09.833623989 +0100 @@ -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/ # @@ -30,7 +30,6 @@ URL:https://github.com/Alir3z4/html2text/ Source: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz Patch0: remove_unittest2.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2018-08-24 17:04:32 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new (New) Package is "python-html2text" Fri Aug 24 17:04:32 2018 rev:18 rq:629541 version:2018.1.9 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2017-05-02 08:54:48.643017336 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2018-08-24 17:04:34.322104714 +0200 @@ -1,0 +2,36 @@ +Thu Aug 16 10:23:31 UTC 2018 - jeng...@inai.de + +- Use noun phrase for summary. Ensure accuracy and + neutrality of description. + +--- +Mon Aug 13 11:39:14 UTC 2018 - mc...@suse.com + +- Upgrade to 2018.1.9: +Fix #188: Non-ASCII in title attribute causes encode error. +Feature #194: Add support for the tag. +Feature #193: Add support for the tag. +Fix #157: Fix images link with div wrap +Fix #55: Fix error when empty title tags +Fix #160: The html2text tests are failing on Windows and on +Cygwin due to differences in eol handling between +Windows/*nix +Feature #164: Housekeeping: Add flake8 to the travis build, +cleanup existing flake8 violations, add py3.6 and pypy3 +to the travis build +Fix #109: Fix for unexpanded +Fix #143: Fix line wrapping for the lines starting with bold +Adds support for numeric bold text indication in font-weight, +as used by Google (and presumably others.) +Fix #173 and #142: Stripping whitespace in crucial markdown +and adding whitespace as necessary +Don't drop any cell data on tables uneven row lengths +(e.g. colspan in use) + +--- +Mon Aug 13 08:38:04 UTC 2018 - mc...@suse.com + +- Remove dependency on unittetst2 + Added remove_unittest2.patch to facilitate that + +--- Old: html2text-2016.9.19.tar.gz New: html2text-2018.1.9.tar.gz remove_unittest2.patch Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.GorObB/_old 2018-08-24 17:04:35.334105915 +0200 +++ /var/tmp/diff_new_pack.GorObB/_new 2018-08-24 17:04:35.338105920 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# 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 @@ -16,39 +16,38 @@ # -%bcond_without tests +# +%define upname html2text %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-html2text -Version:2016.9.19 +%bcond_without tests +Name: python-%{upname} +Version:2018.1.9 Release:0 -Url:https://github.com/Alir3z4/html2text/ -Summary:Turn HTML into equivalent Markdown-structured text -License:GPL-3.0 +Summary:Python script for turning HTML into Markdown text +License:GPL-3.0-only Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/h/html2text/html2text-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: fdupes -BuildRequires: python-rpm-macros +URL:https://github.com/Alir3z4/html2text/ +Source: https://files.pythonhosted.org/packages/source/h/%{upname}/%{upname}-%{version}.tar.gz +Patch0: remove_unittest2.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -%if %{with tests} -BuildRequires: python2-unittest2 -%endif +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives BuildArch: noarch %python_subpackages %description -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). +html2text is a Python script that converts a page of HTML into +Markdown (a text-to-HTML format). %prep -%setup -q -n html2text-%{version} +%setup -q -n %{upname}-%{version} +%patch0 -p1 # remove useless shebang -sed -i '/^#!/d' html2text/__init__.py +sed -i '/^#!/d' %{upname}/__init__.py %build %python_build @@ -57,29 +56,26 @@ %python_install %python_expand %fdupes
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2017-05-02 08:54:46 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new (New) Package is "python-html2text" Tue May 2 08:54:46 2017 rev:17 rq:491649 version:2016.9.19 Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2016-03-16 10:34:33.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2017-05-02 08:54:48.643017336 +0200 @@ -1,0 +2,34 @@ +Thu Apr 27 16:33:29 UTC 2017 - toddrme2...@gmail.com + +- Implement update-alternatives to avoid conflict with html2text + package. + +--- +Wed Apr 12 19:18:13 UTC 2017 - toddrme2...@gmail.com + +- 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. +- 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. +- 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 +- 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~~. +- Implement singlespec version. + +--- Old: html2text-2015.11.4.tar.gz New: html2text-2016.9.19.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.c9QXXI/_old 2017-05-02 08:54:49.378913568 +0200 +++ /var/tmp/diff_new_pack.c9QXXI/_new 2017-05-02 08:54:49.382913004 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,23 +16,29 @@ # +%bcond_without tests + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-html2text -Version:2015.11.4 +Version:2016.9.19 Release:0 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 +Source: https://files.pythonhosted.org/packages/source/h/html2text/html2text-%{version}.tar.gz 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 -BuildArch: noarch +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with tests} +BuildRequires: python2-unittest2 %endif +Requires(post): update-alternatives +Requires(preun): update-alternatives +BuildArch: noarch +%python_subpackages %description html2text is a Python script that converts a page of HTML into clean, @@ -45,19 +51,35 @@ sed -i '/^#!/d' html2text/__init__.py %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -mv %{buildroot}%{_bindir}/html2text %{buildroot}%{_bindir}/html2text-python%{py_ver} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +# To avoid conflicts with the rst2html5 package +mv %{buildroot}%{_bindir}/html2text %{buildroot}%{_bindir}/html2text-python +ln -s -f %{_sysconfdir}/alternatives/html2text %{buildroot}%{_bindir}/html2text + +%post +update-alternatives --install %{_bindir}/html2text html2text
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2016-03-16 10:34:32 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-04-21 10:53:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2016-03-16 10:34:33.0 +0100 @@ -1,0 +2,38 @@ +Sun Jan 3 21:18:57 UTC 2016 - frei...@opensuse.org + +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. + + +Additional changes from 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. + +Additional changes from version 2015.6.12 + +* Feature #76: Making ``pre`` blocks clearer for further automatic formatting. +* Fix #71: Coverage detects tests carried out in ``subprocesses`` + +Additional changes from 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.11.4.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.eg5XFb/_old 2016-03-16 10:34:34.0 +0100 +++ /var/tmp/diff_new_pack.eg5XFb/_new 2016-03-16 10:34:34.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-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: python-html2text -Version:2015.4.14 +Version:2015.11.4 Release:0 Url:https://github.com/Alir3z4/html2text/ Summary:Turn HTML into equivalent Markdown-structured text ++ html2text-2015.4.14.tar.gz -> html2text-2015.11.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-2015.4.14/AUTHORS.rst new/html2text-2015.11.4/AUTHORS.rst --- old/html2text-2015.4.14/AUTHORS.rst 2015-04-13 17:48:22.0 +0200 +++ new/html2text-2015.11.4/AUTHORS.rst 2015-11-04 15:32:38.0 +0100 @@ -14,6 +14,11 @@ * Miguel Tavares* Scott Blackburn * Peter Wu +* 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.4.14/ChangeLog.rst new/html2text-2015.11.4/ChangeLog.rst --- old/html2text-2015.4.14/ChangeLog.rst 2015-04-14 19:05:05.0 +0200 +++ new/html2text-2015.11.4/ChangeLog.rst 2015-11-04 15:48:46.0 +0100 @@ -1,3 +1,49 @@ +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 += + + +* 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 += + + +* Feature #76: Making ``pre`` blocks clearer for further
commit python-html2text for openSUSE:Factory
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.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2015-04-21 10:53:48.0 +0200 @@ -0,0 +1,70 @@ +--- +Sun Apr 19 11:25:59 UTC 2015 - benoit.mo...@gmx.fr + +- 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.0 +0200 +++ /var/tmp/diff_new_pack.8ur4SO/_new 2015-04-21 10:53:49.0 +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:
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2015-02-25 02:18:02 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 2013-10-29 09:33:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2015-02-25 02:18:29.0 +0100 @@ -0,0 +1,8 @@ +Sun Feb 8 06:16:02 UTC 2015 - a...@gmx.de + +- specfile: + * update copyright year + * removed installation of .py file in /usr/bin; An upstream mistake +and a conflict betwenn html2text.py in python_sitelib and in +bindir when an external project tries to import it. + Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.6nkXUM/_old 2015-02-25 02:18:30.0 +0100 +++ /var/tmp/diff_new_pack.6nkXUM/_new 2015-02-25 02:18:30.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2013 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 @@ -47,11 +47,13 @@ %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 %files %defattr(-,root,root,-) %doc COPYING README.md -%{_bindir}/html2text.py %{python_sitelib}/* %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2013-10-29 09:33:37 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 2012-02-14 13:10:59.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2013-10-29 09:33:39.0 +0100 @@ -1,0 +2,12 @@ +Mon Oct 28 13:19:28 UTC 2013 - speili...@suse.com + +- Add html2text-entrypoints.patch: + + Fix entry point colliding with /usr/bin/html2text +- Spec cleanup + +--- +Thu Oct 24 11:06:38 UTC 2013 - speili...@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +--- Old: html2text-3.200.3.tar.bz2 New: html2text-3.200.3.tar.gz html2text-entrypoints.patch Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.QvB7X2/_old 2013-10-29 09:33:40.0 +0100 +++ /var/tmp/diff_new_pack.QvB7X2/_new 2013-10-29 09:33:40.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-html2text # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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,12 +11,10 @@ # 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/ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib(1))} Name: python-html2text Version:3.200.3 @@ -25,22 +23,24 @@ 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 +# PATCH-FIX-UPSTREAM speili...@suse.com -- https://github.com/aaronsw/html2text/pull/79 +Patch0: html2text-entrypoints.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel -BuildRequires: python-distribute -%if 0%{?suse_version} -%py_requires -%if 0%{?suse_version} 1110 +BuildRequires: python-setuptools +%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 BuildArch: noarch %endif -%endif %description Turn HTML into equivalent Markdown-structured text. %prep %setup -q -n html2text-%{version} +%patch0 -p1 %build python setup.py build @@ -50,8 +50,8 @@ %files %defattr(-,root,root,-) -%doc COPYING -%{_bindir}/html2text +%doc COPYING README.md +%{_bindir}/html2text.py %{python_sitelib}/* %changelog ++ html2text-entrypoints.patch ++ From ed9b7477d24caf5e5afe2a55c399eed2b9863dbd Mon Sep 17 00:00:00 2001 From: Sascha Peilicke sasc...@gmx.de Date: Mon, 28 Oct 2013 14:14:51 +0100 Subject: [PATCH] Add .py suffix to html2text entrypoint Many distributions (including Gentoo and openSUSE) already ship /usr/bin/html2text as part of the html2text package. Therefore the current entry point collides with this system binary. Adding a .py prefix would mean it's installed as /usr/bin/html2text.py which is just working fine. Fixes #42 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dd3d9bc..eddeb92 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ ], entry_points= [console_scripts] -html2text=html2text:main +html2text.py=html2text:main , license='GNU GPL 3', packages=find_packages(), -- 1.8.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2013-06-19 16:38:12 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new (New) Package is python-html2text Changes: Old: python3-html2text.changes python3-html2text.spec Other differences: -- -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at 2011-11-25 11:13:08 Comparing /work/SRC/openSUSE:Factory/python-html2text (Old) and /work/SRC/openSUSE:Factory/.python-html2text.new (New) Package is python-html2text, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-html2text/python-html2text.changes 2011-09-26 10:15:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-html2text.new/python-html2text.changes 2011-11-25 10:13:36.0 +0100 @@ -1,0 +2,14 @@ +Thu Nov 24 10:50:20 UTC 2011 - sasc...@suse.de + +- Fix bnc#732039, add a COPYING file and set license to SDPX style + (GPL-3.0) + +--- +Wed Nov 9 18:02:15 UTC 2011 - alexan...@exatati.com.br + +- Update to 3.101: + - Sorry, no changelog atm. +- Regenerate spec file with py2pack; +- Bzip2 source code. + +--- @@ -9,0 +24 @@ + Old: html2text-3.02.tar.gz New: COPYING html2text-3.101.tar.bz2 Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.kFVlKa/_old 2011-11-25 10:13:37.0 +0100 +++ /var/tmp/diff_new_pack.kFVlKa/_new 2011-11-25 10:13:37.0 +0100 @@ -17,13 +17,14 @@ Name: python-html2text -Version:3.02 +Version:3.101 Release:0 Url:http://www.aaronsw.com/2002/html2text/ Summary:Turn HTML into equivalent Markdown-structured text License:GPL-3.0 Group: Development/Languages/Python -Source: html2text-%{version}.tar.gz +Source: html2text-%{version}.tar.bz2 +Source1:COPYING BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel BuildRequires: python-distribute @@ -39,8 +40,8 @@ Turn HTML into equivalent Markdown-structured text. %prep -%setup -n html2text-%{version} -sed -i 1d html2text.py # Fix non-executable script +%setup -q -n html2text-%{version} +cp %{SOURCE1} . %build python setup.py build @@ -50,6 +51,7 @@ %files %defattr(-,root,root,-) -%python_sitelib/* +%doc COPYING +%{python_sitelib}/* %changelog ++ COPYING ++ 674 lines (skipped) ++ html2text-3.02.tar.gz - html2text-3.101.tar.bz2 ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-3.02/PKG-INFO new/html2text-3.101/PKG-INFO --- old/html2text-3.02/PKG-INFO 2011-04-19 16:48:30.0 +0200 +++ new/html2text-3.101/PKG-INFO2011-11-09 16:26:54.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: html2text -Version: 3.02 +Version: 3.101 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: http://www.aaronsw.com/2002/html2text/ Author: Aaron Swartz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-3.02/html2text.egg-info/PKG-INFO new/html2text-3.101/html2text.egg-info/PKG-INFO --- old/html2text-3.02/html2text.egg-info/PKG-INFO 2011-04-19 16:48:30.0 +0200 +++ new/html2text-3.101/html2text.egg-info/PKG-INFO 2011-11-09 16:26:54.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: html2text -Version: 3.02 +Version: 3.101 Summary: Turn HTML into equivalent Markdown-structured text. Home-page: http://www.aaronsw.com/2002/html2text/ Author: Aaron Swartz diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/html2text-3.02/html2text.py new/html2text-3.101/html2text.py --- old/html2text-3.02/html2text.py 2011-03-09 00:35:03.0 +0100 +++ new/html2text-3.101/html2text.py2011-11-09 16:26:32.0 +0100 @@ -1,6 +1,6 @@ #!/usr/bin/env python html2text: Turn HTML into equivalent Markdown-structured text. -__version__ = 3.02 +__version__ = 3.101 __author__ = Aaron Swartz (m...@aaronsw.com) __copyright__ = (C) 2004-2008 Aaron Swartz. GNU GPL 3. __contributors__ = [Martin 'Joey' Schulze, Ricardo Reyes, Kevin Jay North] @@ -46,7 +46,16 @@ # Don't show internal links (href=#local-anchor) -- corresponding link targets # won't be visible in the plain text file anyway. -SKIP_INTERNAL_LINKS = False +SKIP_INTERNAL_LINKS = True + +# Use inline, rather than reference, formatting for images and links +INLINE_LINKS = True + +# Number of pixels Google indents nested lists +GOOGLE_LIST_INDENT = 36 + +IGNORE_ANCHORS = False +IGNORE_IMAGES = False ### Entity Nonsense ### @@ -66,7 +75,8 @@ 'egrave':'e', 'eacute':'e', 'ecirc':'e', 'euml':'e', 'igrave':'i', 'iacute':'i', 'icirc':'i', 'iuml':'i', 'ograve':'o', 'oacute':'o', 'ocirc':'o', 'otilde':'o', 'ouml':'o',
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at Mon Sep 26 10:15:44 CEST 2011. --- python-html2text/python-html2text.changes 2011-02-16 01:11:31.0 +0100 +++ /mounts/work_src_done/STABLE/python-html2text/python-html2text.changes 2011-09-21 11:30:47.0 +0200 @@ -1,0 +2,8 @@ +Wed Sep 21 09:28:46 UTC 2011 - sasc...@suse.de + +- Update to version 3.02: + * Upstream provides no changes +- BuildRequire more modern python-distribute instead of python-setuptools +- Fixed non-executable script rpmlint warning + +--- calling whatdependson for head-i586 Old: html2text-3.01.tar.bz2 New: html2text-3.02.tar.gz Other differences: -- ++ python-html2text.spec ++ --- /var/tmp/diff_new_pack.83Bn9J/_old 2011-09-26 10:15:40.0 +0200 +++ /var/tmp/diff_new_pack.83Bn9J/_new 2011-09-26 10:15:40.0 +0200 @@ -11,59 +11,45 @@ # 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/ # -%{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} -%{!?python_sitearch: %global python_sitearch %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib(1))} - -%define mod_name html2text - -Name: python-%{mod_name} -Version:3.01 -Release:1 -License:GNU GPL 3 -Summary:Turn HTML into equivalent Markdown-structured text +Name: python-html2text +Version:3.02 +Release:0 Url:http://www.aaronsw.com/2002/html2text/ +Summary:Turn HTML into equivalent Markdown-structured text +License:GPL-3.0 Group: Development/Languages/Python -Source: %{mod_name}-%{version}.tar.bz2 -BuildRequires: python-devel -BuildRequires: python-setuptools +Source: html2text-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-devel +BuildRequires: python-distribute %if 0%{?suse_version} %py_requires -%if %{?suse_version: %{suse_version} 1110} %{!?suse_version:1} +%if 0%{?suse_version} 1110 BuildArch: noarch %endif %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %description Turn HTML into equivalent Markdown-structured text. -Author: -Aaron Swartz m...@aaronsw.com - %prep -%setup -n %{mod_name}-%{version} +%setup -n html2text-%{version} +sed -i 1d html2text.py # Fix non-executable script %build -export CFLAGS=%{optflags} python setup.py build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES} - -%clean -rm -rf %{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%files %{?suse_version: -f INSTALLED_FILES} +%files %defattr(-,root,root,-) -%if 0%{!?suse_version:1} -# You may have to add additional files here! -%python_sitelib/%{mod_name}* -%endif +%python_sitelib/* %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-html2text for openSUSE:Factory
Hello community, here is the log from the commit of package python-html2text for openSUSE:Factory checked in at Mon May 30 16:47:00 CEST 2011. New Changes file: --- /dev/null 2010-08-26 16:28:41.0 +0200 +++ python-html2text/python-html2text.changes 2011-02-16 01:11:31.0 +0100 @@ -0,0 +1,9 @@ +--- +Tue Feb 15 23:33:53 UTC 2011 - alexan...@exatati.com.br + +- Update to 3.01. + +--- +Tue Dec 21 15:52:41 UTC 2010 - alexan...@exatati.com.br + +- Initial package (2.38) for openSUSE generated with py2pack. calling whatdependson for head-i586 New: html2text-3.01.tar.bz2 python-html2text.changes python-html2text.spec Other differences: -- ++ python-html2text.spec ++ # # spec file for package python-html2text # # Copyright (c) 2011 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # 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/ # %{!?python_sitelib: %global python_sitelib %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %{!?python_sitearch: %global python_sitearch %(%{__python} -c from distutils.sysconfig import get_python_lib; print get_python_lib(1))} %define mod_name html2text Name: python-%{mod_name} Version:3.01 Release:1 License:GNU GPL 3 Summary:Turn HTML into equivalent Markdown-structured text Url:http://www.aaronsw.com/2002/html2text/ Group: Development/Languages/Python Source: %{mod_name}-%{version}.tar.bz2 BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} %py_requires %if %{?suse_version: %{suse_version} 1110} %{!?suse_version:1} BuildArch: noarch %endif %endif %description Turn HTML into equivalent Markdown-structured text. Author: --- Aaron Swartz m...@aaronsw.com %prep %setup -n %{mod_name}-%{version} %build export CFLAGS=%{optflags} python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %{?suse_version: --record-rpm=INSTALLED_FILES} %clean rm -rf %{buildroot} %files %{?suse_version: -f INSTALLED_FILES} %defattr(-,root,root,-) %if 0%{!?suse_version:1} # You may have to add additional files here! %python_sitelib/%{mod_name}* %endif %changelog Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org