python-six: Add to oe-core

Recipes are moved from meta-openembedded/meta-python

Changes compared to meta-python version:
* Modified to not inherit pypi
* Fix python-io dependency for python3
* Support native, nativesdk
* Do not install .egg

(From OE-Core rev: 9979e35ffb0dfb20d8aaffa8e2ec5e33f27fc009)

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jussi Kukkonen 2016-07-12 14:14:51 +03:00 committed by Richard Purdie
parent 89eab25990
commit 317447f1d1
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,16 @@
SUMMARY = "Python 2 and 3 compatibility library"
HOMEPAGE = "https://pypi.python.org/pypi/six/"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21"
SRC_URI = "https://files.pythonhosted.org/packages/source/s/six/six-${PV}.tar.gz"
SRC_URI[md5sum] = "34eed507548117b2ab523ab14b2f8b55"
SRC_URI[sha256sum] = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/six/"
UPSTREAM_CHECK_REGEX = "/six/(?P<pver>(\d+[\.\-_]*)+)"
BBCLASSEXTEND = "native nativesdk"
S = "${WORKDIR}/six-${PV}"

View File

@ -0,0 +1,4 @@
inherit setuptools
require python-six.inc
RDEPENDS_${PN} += "python-io"

View File

@ -0,0 +1,4 @@
inherit setuptools3
require python-six.inc
RDEPENDS_${PN} += "python3-io"