diff --git a/images.sh b/images.sh index 1997d91..8c9b68c 100755 --- a/images.sh +++ b/images.sh @@ -1,6 +1,6 @@ #!/bin/bash -ex -RELEASES="trusty xenial bionic" # disco" +RELEASES="trusty xenial bionic disco" for release in $RELEASES ; do docker build -t extbuilder-${release} -f Dockerfile.${release} . diff --git a/src/Makefile b/src/Makefile index f2bb616..eb38b3d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,8 @@ #!/usr/bin/make -f PY3_SRC=./cpython/ -PY3_CONFFLAGS=--prefix=$(DESTDIR)/opt/extpython/_OPT_DIR_ --with-ensurepip=install --enable-optimizations +PY3_CONFFLAGS=--prefix=$(DESTDIR)/opt/extpython/_OPT_DIR_ --with-ensurepip=install +# --enable-optimizations all: cd $(PY3_SRC) && \ diff --git a/src/xenial-3.7.3.sh b/src/xenial-3.7.3.sh new file mode 100644 index 0000000..0bb37b9 --- /dev/null +++ b/src/xenial-3.7.3.sh @@ -0,0 +1,13 @@ +#!/bin/bash -eux + +# Which dist to build on +export EXTPYTHON_DIST=xenial +# Release is used to select which tarball to download +export PYTHON_RELEASE=3.7.3 +# Major version no is used in paths and labels (extpython-python${}, /opt/extpython/${}/...) +export PYTHON_MAJOR=3.7 +# Tarball download URL +export PYTHON_TARBALL="http://artifact.scc.net.davepedu.com/repo/tar/cpython/cpython/cpython-${PYTHON_RELEASE}.tar.gz" +# Deps needed to build this package +export CPYTHON_DEPS="libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev \ + libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev"