summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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