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@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Fabio Berton 2016-08-22 16:01:17 -03:00 committed by Martin Jansa
parent 559ec4040e
commit 57ce75d5fd
3 changed files with 12 additions and 10 deletions

View File

@ -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"

View File

@ -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

View File

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