From 57ce75d5fd3055812c03455b0f1658bfcdf4173b Mon Sep 17 00:00:00 2001 From: Fabio Berton Date: Mon, 22 Aug 2016 16:01:17 -0300 Subject: python-idna: Extend recipe to support Python 3 - Add Python 3 recipe - Add native and nativesdk to BBCLASSEXTEND Signed-off-by: Fabio Berton Signed-off-by: Martin Jansa --- meta-python/recipes-devtools/python/python-idna.inc | 9 +++++++++ meta-python/recipes-devtools/python/python-idna_2.1.bb | 11 +---------- meta-python/recipes-devtools/python/python3-idna_2.1.bb | 2 ++ 3 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-idna.inc create mode 100644 meta-python/recipes-devtools/python/python3-idna_2.1.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python-idna.inc b/meta-python/recipes-devtools/python/python-idna.inc new file mode 100644 index 0000000000..8e1fcb42b1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-idna.inc @@ -0,0 +1,9 @@ +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=134bdad79491c37bdae32811572b4bc6" + +SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b" +SRC_URI[sha256sum] = "ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python-idna_2.1.bb b/meta-python/recipes-devtools/python/python-idna_2.1.bb index 90f47aea9e..2dcf72a292 100644 --- a/meta-python/recipes-devtools/python/python-idna_2.1.bb +++ b/meta-python/recipes-devtools/python/python-idna_2.1.bb @@ -1,11 +1,2 @@ -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=134bdad79491c37bdae32811572b4bc6" - -DEPENDS += "python-pip" - -SRC_URI[md5sum] = "f6473caa9c5e0cc1ad3fd5d04c3c114b" -SRC_URI[sha256sum] = "ed36f281aebf3cd0797f163bb165d84c31507cedd15928b095b1675e2d04c676" - inherit pypi setuptools +require python-idna.inc diff --git a/meta-python/recipes-devtools/python/python3-idna_2.1.bb b/meta-python/recipes-devtools/python/python3-idna_2.1.bb new file mode 100644 index 0000000000..a08ca714ac --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-idna_2.1.bb @@ -0,0 +1,2 @@ +inherit pypi setuptools3 +require python-idna.inc -- cgit v1.2.3-54-g00ecf