summaryrefslogtreecommitdiff
path: root/strata/python2-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/python2-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/python2-core')
-rw-r--r--strata/python2-core/pyyaml-python2.morph6
-rw-r--r--strata/python2-core/pyyaml.morph6
2 files changed, 6 insertions, 6 deletions
diff --git a/strata/python2-core/pyyaml-python2.morph b/strata/python2-core/pyyaml-python2.morph
new file mode 100644
index 00000000..54d2b035
--- /dev/null
+++ b/strata/python2-core/pyyaml-python2.morph
@@ -0,0 +1,6 @@
+name: pyyaml-python2
+kind: chunk
+build-commands:
+- python2 setup.py --without-libyaml build
+install-commands:
+- python2 setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR"
diff --git a/strata/python2-core/pyyaml.morph b/strata/python2-core/pyyaml.morph
deleted file mode 100644
index 8ebd7b57..00000000
--- a/strata/python2-core/pyyaml.morph
+++ /dev/null
@@ -1,6 +0,0 @@
-name: pyyaml
-kind: chunk
-build-commands:
-- python setup.py --without-libyaml build
-install-commands:
-- python setup.py --without-libyaml install --prefix="$PREFIX" --root "$DESTDIR"