python3-idna: update to 3.1

License-Update: copyright years.

Consolidate the inc file into recipe

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Oleksandr Kravchuk
2021-02-11 01:04:57 +01:00
committed by Khem Raj
parent d3b68b705c
commit e41b54b800
2 changed files with 7 additions and 8 deletions

View File

@@ -1,2 +0,0 @@
inherit pypi setuptools3
require python-idna.inc

View File

@@ -1,18 +1,19 @@
SUMMARY = "Internationalised Domain Names in Applications"
HOMEPAGE = "https://github.com/kjd/idna"
LICENSE = "BSD-3-Clause & Python-2.0 & Unicode"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=cf36c8682cc154d2d4aa57bd6246b9a1"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=239668a7c6066d9e0c5382e9c8c6c0e1"
SRC_URI[md5sum] = "7a910c706db30d758f377db2762c0f9a"
SRC_URI[sha256sum] = "b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6"
SRC_URI[sha256sum] = "c5b02147e01ea9920e6b0a3f1f7bb833612d507592c837a6c49552768f4054e1"
RDEPENDS_${PN}_class-target = "\
${PYTHON_PN}-codecs \
"
inherit pypi setuptools3
# Remove bundled egg-info
do_compile_prepend() {
rm -rf ${S}/idna.egg-info
}
RDEPENDS_${PN}_class-target = "\
${PYTHON_PN}-codecs \
"
BBCLASSEXTEND = "native nativesdk"