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
committerSam Thursfield <sam.thursfield@codethink.co.uk>2016-02-19 10:44:54 +0000
commita86d2f3d4fbfd15b453add6ab3f4d5f1d0ac7852 (patch)
tree040309ab86e228545275697ba70bad2ed3aa4194 /strata/python3-core
parent6712e7be1da64c95eb0f2618e5b4c1c14ddba053 (diff)
downloadinfrastructure-a86d2f3d4fbfd15b453add6ab3f4d5f1d0ac7852.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"