From cb0ed4cbf767cb20d7c946dcc7a91cd8ee2911e1 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 31 Jan 2022 13:39:41 +0200 Subject: 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-ansi2html_1.7.0.bb | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb (limited to 'meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb b/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb new file mode 100644 index 0000000000..df50bc7a89 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb @@ -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 +} -- cgit v1.2.3-54-g00ecf