aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2016-11-16 16:24:27 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2018-04-16 09:54:20 +0300
commitccf3de8c733d9241ffa83095bd7cab28d0244bfd (patch)
tree51dca1403811f1691d87cbd67c7e8e49f72c890a
parent0967d32f078b0b4708391ea187bedbaa1234f2c9 (diff)
downloadopenembedded-core-contrib-ccf3de8c733d9241ffa83095bd7cab28d0244bfd.tar.gz
openembedded-core-contrib-ccf3de8c733d9241ffa83095bd7cab28d0244bfd.tar.bz2
openembedded-core-contrib-ccf3de8c733d9241ffa83095bd7cab28d0244bfd.zip
python3: add python3-tools subpackage
Useful in developing Python, e.g. in benchmarking. [YOCTO #9338] Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--meta/recipes-devtools/python/python3/python3-manifest.json11
-rw-r--r--meta/recipes-devtools/python/python3_3.5.5.bb5
2 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/python3-manifest.json b/meta/recipes-devtools/python/python3/python3-manifest.json
index 3dda9f6e10..54a91dfe83 100644
--- a/meta/recipes-devtools/python/python3/python3-manifest.json
+++ b/meta/recipes-devtools/python/python3/python3-manifest.json
@@ -1079,6 +1079,17 @@
],
"summary": "Python Tcl/Tk bindings"
},
+ "tools": {
+ "cached": [],
+ "files": [
+ "${docdir}/${PN}/Tools"
+ ],
+ "rdepends": [
+ "core",
+ "modules"
+ ],
+ "summary": "Useful scripts from Python"
+ },
"typing": {
"cached": [
"${libdir}/python3.5/__pycache__/typing.*.pyc"
diff --git a/meta/recipes-devtools/python/python3_3.5.5.bb b/meta/recipes-devtools/python/python3_3.5.5.bb
index 17e8245356..a43ce0027b 100644
--- a/meta/recipes-devtools/python/python3_3.5.5.bb
+++ b/meta/recipes-devtools/python/python3_3.5.5.bb
@@ -196,6 +196,11 @@ do_install() {
fi
oe_multilib_header python${PYTHON_BINABI}/pyconfig.h
+
+ # Install tools
+ install -d -m 755 ${D}/${docdir}/${PN}
+ cp -r ${S}/Tools ${D}/${docdir}/${PN}/
+ find ${D}/${docdir}/${PN}/ -name Makefile -delete
}
do_install_append_class-nativesdk () {