aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ansi2html_1.7.0.bb
blob: 0a81ebddede92f0ffaebc7026218a183dc0b1801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 = "GPL-3.0-only"

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
}