diff options
Diffstat (limited to 'strata/core')
-rw-r--r-- | strata/core/cpython.morph | 12 | ||||
-rw-r--r-- | strata/core/python3.morph | 13 |
2 files changed, 13 insertions, 12 deletions
diff --git a/strata/core/cpython.morph b/strata/core/cpython.morph deleted file mode 100644 index e2f59278..00000000 --- a/strata/core/cpython.morph +++ /dev/null @@ -1,12 +0,0 @@ -name: cpython -kind: chunk -build-system: autotools -configure-commands: -- | - ./configure --prefix="$PREFIX" \ - --enable-shared \ - --with-ensurepip=upgrade \ - --with-system-expat \ - --with-system-ffi -post-install-commands: -- test -x "$DESTDIR"/"$PREFIX"/bin/python2 || ln -s python2.7 "$DESTDIR"/"$PREFIX"/bin/python2 diff --git a/strata/core/python3.morph b/strata/core/python3.morph new file mode 100644 index 00000000..0d730bc9 --- /dev/null +++ b/strata/core/python3.morph @@ -0,0 +1,13 @@ +name: python3 +kind: chunk +build-system: autotools +configure-commands: +- | + ./configure --prefix="$PREFIX" \ + --sysconfdir=/etc \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi +post-install-commands: +- test -x "$DESTDIR"/"$PREFIX"/bin/python || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python +- test -x "$DESTDIR"/"$PREFIX"/bin/python3 || ln -s python3.4 "$DESTDIR"/"$PREFIX"/bin/python3 |