aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-contextlib2_0.6.0.bb
blob: 0915b1c5c583a46628216d5434eeee8830c2c4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SUMMARY = "Backports and enhancements for the contextlib module"
DESCRIPTION = "contextlib2 is a backport of the standard library’s contextlib \
module to earlier Python versions."
HOMEPAGE = "http://contextlib2.readthedocs.org/"
SECTION = "devel/python"

LICENSE = "PSF"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=43d1c7827e8fad6454b553caf0e1d734"

SRC_URI[md5sum] = "d03a631073b40073b5c41364ad8f5979"
SRC_URI[sha256sum] = "7197aa736777caac513dbd800944c209a49765bf1979b12b037dce0277077ed3"

inherit pypi setuptools

BBCLASSEXTEND = "native nativesdk"

PNBLACKLIST[python-contextlib2] ?= "${@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)}"