summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-19 11:55:42 +0000
committerJavier Jardón <jjardon@gnome.org>2015-02-19 12:04:18 +0000
commite1af470d8845ae155bc9542040bf8931da110937 (patch)
tree65dad452e2bc3dd7d207254cac6f74b45893bc71
parentd2b4ebbbc86bf2ee34ec47aab69839c1a32bb089 (diff)
downloaddefinitions-e1af470d8845ae155bc9542040bf8931da110937.tar.gz
Add Python 3 stratumbaserock/jjardon/python3
This is based in a patch from Paul Sherwood
-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 00000000..2dc41438
--- /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 00000000..f02452d4
--- /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