summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2020-06-24 18:16:27 +0300
committerKhem Raj <raj.khem@gmail.com>2020-06-25 10:22:45 -0700
commite65b11a6e4ccad8703c2079f28f33301a3b68665 (patch)
treec0c1d29851f66f6fe28759fd8ca434ea2a3d70b1 /meta-python/recipes-devtools/python/python3-license-expression_1.2.bb
parenteef19bee9899f3e2c0fbeb98c68a476c3710e119 (diff)
downloadmeta-openembedded-e65b11a6e4ccad8703c2079f28f33301a3b68665.tar.gz
python3-license-expression: Upgrade 1.0 -> 1.2
Upgrade to release 1.2: - Add ability to render WITH expression wrapped in parenthesis - Fix anomalous backslashes in strings - Update the thirdparty directory structure Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-license-expression_1.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-license-expression_1.2.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb
new file mode 100644
index 0000000000..c033bd3527
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-license-expression_1.2.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Utility library to parse, compare, simplify and normalize license expressions"
2HOMEPAGE = "https://github.com/nexB/license-expression"
3
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846fa"
6
7SRC_URI[md5sum] = "fd4cb295cc345be1071274cdbd81c969"
8SRC_URI[sha256sum] = "7960e1dfdf20d127e75ead931476f2b5c7556df05b117a73880b22ade17d1abc"
9
10inherit pypi ptest setuptools3
11
12RDEPENDS_${PN} += "\
13 ${PYTHON_PN}-booleanpy \
14 "
15
16BBCLASSEXTEND = "native nativesdk"
17
18SRC_URI += " \
19 file://run-ptest \
20"
21
22RDEPENDS_${PN}-ptest += " \
23 ${PYTHON_PN}-pytest \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}