summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-02-19 11:55:42 (GMT)
committerJavier Jardón <jjardon@gnome.org>2015-02-19 12:04:18 (GMT)
commite1af470d8845ae155bc9542040bf8931da110937 (patch)
tree65dad452e2bc3dd7d207254cac6f74b45893bc71
parentd2b4ebbbc86bf2ee34ec47aab69839c1a32bb089 (diff)
downloaddefinitions-baserock/jjardon/python3.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 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