aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-six.inc
diff options
context:
space:
mode:
authorSven Ebenfeld <sven.ebenfeld@gmail.com>2016-01-22 23:10:56 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-02-01 15:51:15 +0100
commit8bebb8ef9c7a056902eef4f66aa85a15a7854014 (patch)
tree726104af41b0a9000fe1a6ca986140043e59278a /meta-python/recipes-devtools/python/python-six.inc
parent1ec43c1e4f379ef5806268aa80ce8487388ab00c (diff)
downloadmeta-openembedded-contrib-8bebb8ef9c7a056902eef4f66aa85a15a7854014.tar.gz
meta-openembedded-contrib-8bebb8ef9c7a056902eef4f66aa85a15a7854014.tar.bz2
meta-openembedded-contrib-8bebb8ef9c7a056902eef4f66aa85a15a7854014.zip
python-six: 1.9.0 -> 1.10.0 and add python3-recipe
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-six.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-six.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-six.inc b/meta-python/recipes-devtools/python/python-six.inc
new file mode 100644
index 0000000000..450e05b7a7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-six.inc
@@ -0,0 +1,14 @@
+SUMMARY = "Python 2 and 3 compatibility library"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6f00d4a50713fa859858dd9abaa35b21"
+
+SRC_URI[md5sum] = "34eed507548117b2ab523ab14b2f8b55"
+SRC_URI[sha256sum] = "105f8d68616f8248e24bf0e9372ef04d3cc10104f1980f54d57b2ce73a5ad56a"
+
+do_compile_append() {
+ export BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS}
+ ${PYTHON} setup.py -q bdist_egg --dist-dir ./
+}
+do_install_append() {
+ install -m 0644 ${S}/*.egg ${D}/${PYTHON_SITEPACKAGES_DIR}/
+}