meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2024.2.26.bb
Wang Mingyu 6801e96a81
python3-html2text: upgrade 2020.1.16 -> 2024.2.26
Changelog:
===========
- 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: \n inside text of a Markdown link.
- Feature #406: Improve support for null atttibute values.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-11 22:01:58 -07:00

28 lines
625 B
BlitzBasic

SUMMARY = "Convert HTML to Markdown-formatted text"
HOMEPAGE = "https://github.com/Alir3z4/html2text"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI[sha256sum] = "05f8e367d15aaabc96415376776cdd11afd5127a77fce6e36afc60c563ca2c32"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-unittest-automake-output \
"
RDEPENDS:${PN} += "python3-cgitb"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/test
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
}
BBCLASSEXTEND = "native nativesdk"