python3-ansi2html: Upgrade 1.6.0 -> 1.7.0

Upgrade to release 1.7.0:

- Replace recommendation of using system packages with pip3
- Add truecolor support
- Generate documentation with Sphinx and use Read the Docs
- Adds support for OSC hyperlink sequences
- Add test coverage
- Replace pkg_resources with importlib.metadata
- Fix including of CHANGELOG.rst
- Update linting dependencies
- Upgrade the build process
- Add type hinting
- Update CI badges in readme
- Bump setuptools-scm version

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi 2022-01-31 13:39:41 +02:00 committed by Khem Raj
parent c597a154dd
commit cb0ed4cbf7
2 changed files with 25 additions and 13 deletions

View File

@ -1,13 +0,0 @@
DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX"
HOMEPAGE = "https://github.com/ralphbean/ansi2html"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
LICENSE = "GPLv3"
PYPI_PACKAGE = "ansi2html"
SRC_URI[sha256sum] = "0f124ea7efcf3f24f1f9398e527e688c9ae6eab26b0b84e1299ef7f94d92c596"
inherit pypi setuptools3
DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-toml-native"
RDEPENDS:${PN} = "${PYTHON_PN}-six"

View File

@ -0,0 +1,25 @@
DESCRPTION = "ansi2html - Convert text with ANSI color codes to HTML or to LaTeX"
HOMEPAGE = "https://github.com/ralphbean/ansi2html"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404"
LICENSE = "GPLv3"
PYPI_PACKAGE = "ansi2html"
SRC_URI[sha256sum] = "69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc"
inherit pypi setuptools3
DEPENDS += " \
${PYTHON_PN}-setuptools-scm-native \
${PYTHON_PN}-toml-native \
"
RDEPENDS:${PN} = " \
${PYTHON_PN}-six \
${PYTHON_PN}-compression \
"
do_compile:prepend() {
echo "from setuptools import setup" > ${S}/setup.py
echo "setup()" >> ${S}/setup.py
}