aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python-license-expression_1.2.bb
blob: 5ec12227c1524c6b6c862675f6dfae6f8995997a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
HOMEPAGE = "https://github.com/nexB/license-expression"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa"

SRC_URI[md5sum] = "fd4cb295cc345be1071274cdbd81c969"
SRC_URI[sha256sum] = "7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc"

inherit pypi setuptools

RDEPENDS_${PN} += "\
    ${PYTHON_PN}-booleanpy \
    "

RDEPENDS_${PN}_append_class-target = "\
    ${PYTHON_PN}-logging \
    "

BBCLASSEXTEND = "native nativesdk"

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