summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-24 11:56:50 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-02-24 11:57:30 (GMT)
commit445d7573c1a10e386cdc7ff3423d6948454f3947 (patch)
tree98e7a286bd7ddfb362ea2f63ba5b1efd8a5c6590
parent60d7aadfc0f4f7317c30569e04af56a05a58dd55 (diff)
parente1af470d8845ae155bc9542040bf8931da110937 (diff)
downloaddefinitions-445d7573c1a10e386cdc7ff3423d6948454f3947.tar.gz
Merge branch 'baserock/jjardon/python3'
Reviewed-by: Sam Thursfield <sam.thursfield@codethink.co.uk> Reviewed-By: Adam Coldrick <adam.coldrick@codethink.co.uk>
-rw-r--r--strata/python3-core.morph12
-rw-r--r--strata/python3-core/python3.morph7
2 files changed, 19 insertions, 0 deletions
diff --git a/strata/python3-core.morph b/strata/python3-core.morph
new file mode 100644
index 0000000..2dc4143
--- /dev/null
+++ b/strata/python3-core.morph
@@ -0,0 +1,12 @@
+name: python3-core
+kind: stratum
+description: Core python3 packages
+build-depends:
+- morph: strata/core.morph
+chunks:
+- name: python3
+ morph: strata/python3-core/python3.morph
+ repo: upstream:cpython
+ ref: d1414cefaddc7b56caef75eea87226b1fce5ca7c
+ unpetrify-ref: v3.4.2
+ build-depends: []
diff --git a/strata/python3-core/python3.morph b/strata/python3-core/python3.morph
new file mode 100644
index 0000000..f02452d
--- /dev/null
+++ b/strata/python3-core/python3.morph
@@ -0,0 +1,7 @@
+name: python3
+kind: chunk
+build-system: autotools
+configure-commands:
+- ./configure --prefix="$PREFIX" --enable-shared
+post-install-commands:
+- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python3