summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-11-22 22:54:28 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-26 17:01:08 +0000
commit8a03979b5585cfecf9e70188b463ceb613730db8 (patch)
tree6bb1c794c8e12e56bca919cddb05835072aab20c
parent1efdf929424e435be593396ec6b4dc2e7bf69fea (diff)
downloadpoky-8a03979b5585cfecf9e70188b463ceb613730db8.tar.gz
python: import idna from meta-python
Importing idna from meta-python, which is a dependency of python3-jsonschema. These packges are required to support the validation of kernel device trees. (From OE-Core rev: 14fdb80c3c32e728f32d798134acaef6250c001a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-idna_3.3.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-idna_3.3.bb b/meta/recipes-devtools/python/python3-idna_3.3.bb
new file mode 100644
index 0000000000..a0e6b79a56
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-idna_3.3.bb
@@ -0,0 +1,19 @@
1SUMMARY = "Internationalised Domain Names in Applications"
2HOMEPAGE = "https://github.com/kjd/idna"
3LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1"
5
6SRC_URI[sha256sum] = "9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"
7
8inherit pypi setuptools3
9
10# Remove bundled egg-info
11do_compile:prepend() {
12 rm -rf ${S}/idna.egg-info
13}
14
15RDEPENDS:${PN}:class-target = "\
16 ${PYTHON_PN}-codecs \
17"
18
19BBCLASSEXTEND = "native nativesdk"