From e1af470d8845ae155bc9542040bf8931da110937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 19 Feb 2015 11:55:42 +0000 Subject: Add Python 3 stratum This is based in a patch from Paul Sherwood --- strata/python3-core.morph | 12 ++++++++++++ strata/python3-core/python3.morph | 7 +++++++ 2 files changed, 19 insertions(+) create mode 100644 strata/python3-core.morph create mode 100644 strata/python3-core/python3.morph 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 -- cgit v1.2.1