summaryrefslogtreecommitdiff
path: root/strata/python3-core
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2016-02-18 15:17:44 +0000
committerBaserock Gerrit <gerrit@baserock.org>2016-02-19 12:35:57 +0000
commit4074129b51049cd92afb1993673fe71081001ed3 (patch)
tree464a9939263eacd1891319ad6f48b938ca72d7e8 /strata/python3-core
parentb29ac16dd937effea255b76cef497fd98a8f417b (diff)
downloaddefinitions-4074129b51049cd92afb1993673fe71081001ed3.tar.gz
Add python3-core stratum, equivalent of python2-core
There have been some important Python components not available for Python 3 users, such as PyYAML. This commit adds a python3-core stratu that contain everything from python2-core, but for use with Python 3. A couple of things are already in core.morph, so python2-core is not quite identical to python3-core. I've added this to Trove system so that <https://gerrit.baserock.org/1339/> can be merged. It can be added to other systems as needed. Change-Id: I9b742b942d64b0bc369596a689f33e6bc4c21935
Diffstat (limited to 'strata/python3-core')
-rw-r--r--strata/python3-core/pyyaml.morph6
1 files changed, 6 insertions, 0 deletions
diff --git a/strata/python3-core/pyyaml.morph b/strata/python3-core/pyyaml.morph
new file mode 100644
index 00000000..001f392c
--- /dev/null
+++ b/strata/python3-core/pyyaml.morph
@@ -0,0 +1,6 @@
+name: pyyaml
+kind: chunk
+build-commands:
+- python3 setup.py --without-libyaml build
+install-commands:
+- python3 setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR"