This repository was archived by the owner on Mar 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +52
-0
lines changed Expand file tree Collapse file tree 5 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ # prefetched sources
2+ docker /sources
3+
14# Byte-compiled / optimized / DLL files
25__pycache__ /
36* .py [cod ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Stop at any error, show all commands
4+ set -ex
5+
6+ TAG=manylinux2010-pypy_x86_64
7+ docker/build_scripts_pypy/prefetch_pypy.sh
8+ docker build --rm -t $TAG :${TRAVIS_COMMIT:- x} -t $TAG :latest -f docker/Dockerfile-x86_64 docker/
Original file line number Diff line number Diff line change 1+ FROM quay.io/pypa/manylinux2010_x86_64
2+ LABEL maintainer="Antonio Cuni"
3+
4+ COPY sources /
5+ COPY build_scripts /build_scripts
6+ COPY build_scripts_pypy /build_scripts_pypy
7+ RUN bash build_scripts_pypy/install_pypy.sh && rm -rf build_scripts*
8+
9+ CMD ["/bin/bash"]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -ex
4+
5+ function install_one_pypy {
6+ local tarball=$1
7+
8+ mkdir -p /opt/pypy
9+ cd /opt/pypy
10+ tar xf $tarball
11+ }
12+
13+ for PYPY in /pypy* .tar.bz2
14+ do
15+ install_one_pypy " $PYPY "
16+ done
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -ex
4+
5+ SOURCES=docker/sources
6+ URL=https://bitbucket.org/squeaky/portable-pypy/downloads
7+
8+ MY_DIR=$( dirname " ${BASH_SOURCE[0]} " )
9+ . $MY_DIR /../build_scripts/build_utils.sh
10+
11+ [ -d " $SOURCES " ] || mkdir " $SOURCES "
12+ cd " $SOURCES "
13+
14+ # pypy 7.1.1
15+ fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 " $URL "
16+ fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 " $URL "
You can’t perform that action at this time.
0 commit comments