1
0

54 Commits

Author SHA256 Message Date
6ef364ec48 Accepting request 1159224 from devel:languages:python
- update to 2024.2.26:
  * Fixes #409: IndexError on empty strong mark.
  * Fix #332: Insert at most one space for multiple emphasis
  * Feature #318: Make padded tables more similar to pandoc's
    pipe_tables.
  * Add support for Python 3.9.
  * Fix extra line breaks inside html link text (between '[' and
    ']')
  * Fix #344: indent <ul> inside <ol> three spaces instead of two
    to comply with CommonMark, GFM, etc.
  * Fix #324: unnecessary spaces around <b>, <em>, and strike
    tags.
  * Don't wrap tables by default and add a --wrap-tables config
    option.
  * Feature #198: Ignore <p> tags inside table rows.
  * Don't wrap tables by default and add a --wrap-tables config
    option
  * Remove support for Python ≤ 3.5. Now requires Python 3.6+.
  * Support for Python 3.10+.
  * Fix #320 padding empty tables and tables with no </tr> tags.
  * Add ignore_mailto_links config option to ignore mailto: style
    links.
  * Feature #407: Support the superscript and subscript tags.
  * Fix #373: 
 inside text of a Markdown link.
  * Feature #406: Improve support for null atttibute values.

OBS-URL: https://build.opensuse.org/request/show/1159224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=26
2024-03-19 16:32:04 +00:00
d624afccdb - update to 2024.2.26:
* Fixes #409: IndexError on empty strong mark.
  * Fix #332: Insert at most one space for multiple emphasis
  * Feature #318: Make padded tables more similar to pandoc's
    pipe_tables.
  * Add support for Python 3.9.
  * Fix extra line breaks inside html link text (between '[' and
    ']')
  * Fix #344: indent <ul> inside <ol> three spaces instead of two
    to comply with CommonMark, GFM, etc.
  * Fix #324: unnecessary spaces around <b>, <em>, and strike
    tags.
  * Don't wrap tables by default and add a --wrap-tables config
    option.
  * Feature #198: Ignore <p> tags inside table rows.
  * Don't wrap tables by default and add a --wrap-tables config
    option
  * Remove support for Python ≤ 3.5. Now requires Python 3.6+.
  * Support for Python 3.10+.
  * Fix #320 padding empty tables and tables with no </tr> tags.
  * Add ignore_mailto_links config option to ignore mailto: style
    links.
  * Feature #407: Support the superscript and subscript tags.
  * Fix #373: 
 inside text of a Markdown link.
  * Feature #406: Improve support for null atttibute values.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=42
2024-03-19 07:01:53 +00:00
8b24140eae Accepting request 1094473 from devel:languages:python
Forwarded request #1094395 from ecsos

- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1094473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=25
2023-06-21 20:40:33 +00:00
c054701409 Accepting request 1094395 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1094395
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=40
2023-06-21 17:27:29 +00:00
6aacb5a51c Accepting request 924042 from devel:languages:python
- Correct Provides/Obsoletes

OBS-URL: https://build.opensuse.org/request/show/924042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=24
2021-10-07 22:06:28 +00:00
48acc45afa - Correct Provides/Obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=39
2021-10-07 15:36:20 +00:00
c8ac28e955 Accepting request 828011 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/828011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=23
2020-08-28 19:20:54 +00:00
Tomáš Chvátal
554f76fd1c Accepting request 827971 from home:jayvdb:branches:devel:languages:python
- Add Conflicts with html2text
- Ignore upstream egg-info and regenerate it

OBS-URL: https://build.opensuse.org/request/show/827971
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=37
2020-08-20 07:27:17 +00:00
706075416a Accepting request 792732 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/792732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=22
2020-04-09 21:18:09 +00:00
Tomáš Chvátal
f73199c36b Accepting request 792700 from home:mcalabkova:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/792700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=35
2020-04-09 13:14:49 +00:00
4d7230d01b Accepting request 757332 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/757332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=21
2019-12-16 14:21:29 +00:00
de8d2ed6a4 Accepting request 756872 from home:buschmann23:branches:devel:languages:python
- 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 <abbr> tag.
  * Fix AttributeError when reading text from stdin.
  * Fix UnicodeEncodeError when writing output to stdout.
- Disable build for Python 2

OBS-URL: https://build.opensuse.org/request/show/756872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=33
2019-12-16 12:43:11 +00:00
Ludwig Nussel
58363d81a1 Accepting request 730321 from devel:languages:python
- Update to 2019.8.11:
  * Fix #201: handle &lrm;/&rlm; 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

OBS-URL: https://build.opensuse.org/request/show/730321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=20
2019-09-13 13:00:23 +00:00
Tomáš Chvátal
6af028befc - Update to 2019.8.11:
* Fix #201: handle &lrm;/&rlm; 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=31
2019-09-12 08:55:43 +00:00
489f0106ba Accepting request 659415 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=19
2018-12-24 10:38:08 +00:00
725174c03e Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=29
2018-12-04 13:32:16 +00:00
897a42628f Accepting request 629541 from devel:languages:python
- Use noun phrase for summary. Ensure accuracy and
  neutrality of description. (forwarded request 629535 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/629541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=18
2018-08-24 15:04:32 +00:00
daf8229e86 Accepting request 629535 from home:jengelh:branches:devel:languages:python
- Use noun phrase for summary. Ensure accuracy and
  neutrality of description.

OBS-URL: https://build.opensuse.org/request/show/629535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=27
2018-08-16 10:36:47 +00:00
c5b6b6eb96 - Upgrade to 2018.1.9:
Fix #188: Non-ASCII in title attribute causes encode error.
    Feature #194: Add support for the <kbd> tag.
    Feature #193: Add support for the <q> 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 &lt; &gt; &amp;
    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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=26
2018-08-13 11:48:24 +00:00
ae2dd37aa0 - Remove dependency on unittetst2
Added remove_unittest2.patch to facilitate that

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=25
2018-08-13 08:39:20 +00:00
9bcb50dcee Accepting request 491649 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/491649
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=17
2017-05-02 06:54:46 +00:00
Todd R
1910c611c5 Accepting request 491648 from home:TheBlackCat:branches:devel:languages:python
- Implement update-alternatives to avoid conflict with html2text
  package.

OBS-URL: https://build.opensuse.org/request/show/491648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=22
2017-04-27 16:34:12 +00:00
Todd R
d52fcd3006 Accepting request 489324 from home:TheBlackCat:branches:devel:languages:python
- update to version 2016.9.19.
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/489324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=21
2017-04-19 14:07:51 +00:00
7c9cb3f511 Accepting request 369222 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/369222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=16
2016-03-16 09:34:32 +00:00
Todd R
653f5bbb51 Accepting request 368724 from home:kfreitag:branches:devel:languages:python
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.

OBS-URL: https://build.opensuse.org/request/show/368724
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=20
2016-03-09 16:31:23 +00:00
7b18363aae Accepting request 298180 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298180
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=15
2015-04-21 08:53:44 +00:00
Michal Čihař
8681b4f0a1 Accepting request 298047 from home:benoit_monin:branches:devel:languages:python
- update to version 2015.4.14
- 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

OBS-URL: https://build.opensuse.org/request/show/298047
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=19
2015-04-20 12:59:54 +00:00
ce661bcbb6 Accepting request 287515 from devel:languages:python
Fixed

OBS-URL: https://build.opensuse.org/request/show/287515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=14
2015-02-25 01:18:02 +00:00
Denisart Benjamin
efc2ec03ed OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=18 2015-02-24 13:23:44 +00:00
Denisart Benjamin
085f34ce27 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=17 2015-02-24 13:22:59 +00:00
Denisart Benjamin
2bd550c889 Accepting request 284904 from home:apersaud:branches:devel:languages:python
added if for <=1110 again, otherwise the same as SR284797 (removed .py file from /usr/bin)

OBS-URL: https://build.opensuse.org/request/show/284904
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=16
2015-02-10 23:57:29 +00:00
Stephan Kulow
038f991be8 Accepting request 205013 from devel:languages:python
- Add html2text-entrypoints.patch:
  + Fix entry point colliding with /usr/bin/html2text
- Spec cleanup

- Require python-setuptools instead of distribute (upstreams merged)

OBS-URL: https://build.opensuse.org/request/show/205013
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=12
2013-10-29 08:33:37 +00:00
Sascha Peilicke
5a0fa63deb OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=15 2013-10-28 13:20:18 +00:00
Sascha Peilicke
a63bff5b16 - Add html2text-entrypoints.patch:
+ Fix entry point colliding with /usr/bin/html2text
- Spec cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=14
2013-10-28 13:19:52 +00:00
Sascha Peilicke
9d68711bed - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=13
2013-10-24 11:06:39 +00:00
Stephan Kulow
cb062186a3 Accepting request 179853 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=10
2013-06-19 14:38:12 +00:00
Sascha Peilicke
6e51bbbc33 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=12
2013-06-17 12:51:30 +00:00
Stephan Kulow
4f2e74a4fe Accepting request 157185 from devel:languages:python
created a python3 package. would still need a linkpac call to create the python3 on deve:languages:python after accepting this request. Tried it in my home and it build ok apart from SL-linux due to the lack of python3 there. (forwarded request 157167 from apersaud)

OBS-URL: https://build.opensuse.org/request/show/157185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=9
2013-03-04 16:33:54 +00:00
Alexandre Rogoski
1f2fc77653 Accepting request 157167 from home:apersaud:branches:devel:languages:python
created a python3 package. would still need a linkpac call to create the python3 on deve:languages:python after accepting this request. Tried it in my home and it build ok apart from SL-linux due to the lack of python3 there.

OBS-URL: https://build.opensuse.org/request/show/157167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=11
2013-03-03 23:53:12 +00:00
Stephan Kulow
38a82cf7cc Accepting request 103929 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/103929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=6
2012-02-14 12:10:58 +00:00
Alexandre Rogoski
b79909b89f - Update to 3.200.3:
- Sorry, no changelog atm.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=10
2012-01-07 16:04:39 +00:00
Alexandre Rogoski
84e224f98e - Update to 3.200.2:
- Sorry, no changelog atm.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=9
2012-01-06 19:00:07 +00:00
Alexandre Rogoski
15430f6f8c - Update to 3.200.1:
- Sorry, no changelog atm.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=8
2011-12-21 19:08:29 +00:00
Alexandre Rogoski
0308eac375 - Update to 3.200:
- Sorry, no changelog atm.

- COPYING file on tarball, not outside it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=7
2011-12-21 15:33:30 +00:00
Stephan Kulow
81729c7417 Accepting request 93426 from devel:languages:python
plz

OBS-URL: https://build.opensuse.org/request/show/93426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=5
2011-11-25 10:13:08 +00:00
Sascha Peilicke
0cd9339cbf - Fix bnc#732039, add a COPYING file and set license to SDPX style
(GPL-3.0)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=6
2011-11-24 11:51:19 +00:00
Alexandre Rogoski
76f704251a - Update to 3.101:
- Sorry, no changelog atm.
- Regenerate spec file with py2pack;
- Bzip2 source code.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=5
2011-11-09 19:00:18 +00:00
Sascha Peilicke
c732adf60a Accepting request 84084 from devel:languages:python
- Update to version 3.02:
  * Upstream provides no changes
- BuildRequire more modern python-distribute instead of python-setuptools
- Fixed non-executable script rpmlint warning

OBS-URL: https://build.opensuse.org/request/show/84084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=3
2011-09-26 08:15:41 +00:00
Sascha Peilicke
9a52d95968 - Update to version 3.02:
* Upstream provides no changes
- BuildRequire more modern python-distribute instead of python-setuptools
- Fixed non-executable script rpmlint warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html2text?expand=0&rev=4
2011-09-21 09:30:47 +00:00
5c0696e93e Autobuild autoformatter for 71067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-html2text?expand=0&rev=2
2011-05-30 14:47:03 +00:00