[oe-commits] [meta-openembedded] 24/80: python-idna: Extend recipe to support Python 3

git at git.openembedded.org git at git.openembedded.org
Wed Aug 31 17:08:43 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 8c228baa83023822fa711ba3c747f62ec5ade627
Author: Fabio Berton <fabio.berton at ossystems.com.br>
AuthorDate: Mon Aug 22 16:01:17 2016 -0300

    python-idna: Extend recipe to support Python 3
    
    - Add Python 3 recipe
      - Add native and nativesdk to BBCLASSEXTEND
    
    Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 .../python/{python-idna_2.1.bb => python-idna.inc}            |  4 +---
 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, 4 insertions(+), 13 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-idna_2.1.bb b/meta-python/recipes-devtools/python/python-idna.inc
similarity index 88%
copy from meta-python/recipes-devtools/python/python-idna_2.1.bb
copy to meta-python/recipes-devtools/python/python-idna.inc
index 90f47ae..8e1fcb4 100644
--- a/meta-python/recipes-devtools/python/python-idna_2.1.bb
+++ b/meta-python/recipes-devtools/python/python-idna.inc
@@ -3,9 +3,7 @@ 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
+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 90f47ae..2dcf72a 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 0000000..a08ca71
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-idna_2.1.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-idna.inc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list