aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-traceback2_1.4.0.bb
blob: 7dea468efb1eb984457a547d8626aa9ce7a20eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUMMARY = "A backport of traceback to older supported Pythons"
HOMEPAGE = "https://github.com/testing-cabal/traceback2"
LICENSE = "Python-2.0"
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=31;endline=31;md5=368ddc8588431c180ae7c33f4fb57519"

DEPENDS = "${PYTHON_PN}-pbr-native"

SRC_URI[md5sum] = "9e9723f4d70bfc6308fa992dd193c400"
SRC_URI[sha256sum] = "05acc67a09980c2ecfedd3423f7ae0104839eccb55fc645773e1caa0951c3030"

inherit pypi setuptools

CLEANBROKEN = "1"

RDEPENDS_${PN} = "${PYTHON_PN}-linecache2"

PNBLACKLIST[python-traceback2] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"