diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2016-07-12 14:14:51 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-20 10:28:47 +0100 |
commit | 317447f1d1d18b0e7e5ca837270f9ebf476fdcac (patch) | |
tree | 9a772fbac5c547ea66a773e8e1423c62f75d2f1b /meta | |
parent | 89eab25990560c1cbb56d3a77bd26c34af30c71f (diff) | |
download | poky-317447f1d1d18b0e7e5ca837270f9ebf476fdcac.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/python/python-six.inc | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python-six_1.10.0.bb | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-six_1.10.0.bb | 4 |
3 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-six.inc b/meta/recipes-devtools/python/python-six.inc new file mode 100644 index 0000000000..bd12fa94a1 --- /dev/null +++ b/meta/recipes-devtools/python/python-six.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "Python 2 and 3 compatibility library" | ||
2 | HOMEPAGE = "https://pypi.python.org/pypi/six/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21" | ||
6 | |||
7 | SRC_URI = "https://files.pythonhosted.org/packages/source/s/six/six-${PV}.tar.gz" | ||
8 | SRC_URI[md5sum] = "34eed507548117b2ab523ab14b2f8b55" | ||
9 | SRC_URI[sha256sum] = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a" | ||
10 | |||
11 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/six/" | ||
12 | UPSTREAM_CHECK_REGEX = "/six/(?P<pver>(\d+[\.\-_]*)+)" | ||
13 | |||
14 | BBCLASSEXTEND = "native nativesdk" | ||
15 | |||
16 | S = "${WORKDIR}/six-${PV}" | ||
diff --git a/meta/recipes-devtools/python/python-six_1.10.0.bb b/meta/recipes-devtools/python/python-six_1.10.0.bb new file mode 100644 index 0000000000..4350485f73 --- /dev/null +++ b/meta/recipes-devtools/python/python-six_1.10.0.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit setuptools | ||
2 | require python-six.inc | ||
3 | |||
4 | RDEPENDS_${PN} += "python-io" | ||
diff --git a/meta/recipes-devtools/python/python3-six_1.10.0.bb b/meta/recipes-devtools/python/python3-six_1.10.0.bb new file mode 100644 index 0000000000..38a47b77dd --- /dev/null +++ b/meta/recipes-devtools/python/python3-six_1.10.0.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | inherit setuptools3 | ||
2 | require python-six.inc | ||
3 | |||
4 | RDEPENDS_${PN} += "python3-io" | ||