diff --git a/meta-python/recipes-devtools/python/python-chardet.inc b/meta-python/recipes-devtools/python/python-chardet.inc new file mode 100755 index 000000000..60305e8d8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-chardet.inc @@ -0,0 +1,8 @@ +SUMMARY = "Universal encoding detector for Python 2 and 3" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" + +inherit pypi + +SRC_URI[md5sum] = "25274d664ccb5130adae08047416e1a8" +SRC_URI[sha256sum] = "e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa" diff --git a/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb b/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb old mode 100644 new mode 100755 index dfc979b33..b7a46e9d7 --- a/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python-chardet_2.3.0.bb @@ -1,8 +1,2 @@ -SUMMARY = "Universal encoding detector for Python 2 and 3" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f89e2100d9b6cdffcea4f398e37343" - -SRC_URI[md5sum] = "25274d664ccb5130adae08047416e1a8" -SRC_URI[sha256sum] = "e53e38b3a4afe6d1132de62b7400a4ac363452dc5dfcf8d88e8e0cce663c68aa" - -inherit pypi setuptools +inherit setuptools +require python-chardet.inc diff --git a/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb b/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb new file mode 100755 index 000000000..038043c56 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-chardet_2.3.0.bb @@ -0,0 +1,2 @@ +inherit setuptools3 +require python-chardet.inc