This repository was archived by the owner on Mar 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
docker/build_scripts_pypy Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ function install_one_pypy {
18
18
cd /opt/pypy
19
19
tar xf $tarball
20
20
21
+ # the new PyPy 3 distributions don't have pypy symlinks to pypy3
22
+ if [ ! -f " $outdir /bin/pypy" ]; then
23
+ ln -s pypy3 $outdir /bin/pypy
24
+ fi
25
+
21
26
# rename the directory to something shorter like pypy2.7-7.1.1
22
27
shortdir=$( get_shortdir $outdir /bin/pypy)
23
28
mv " $outdir " " $shortdir "
Original file line number Diff line number Diff line change 3
3
set -ex
4
4
5
5
SOURCES=docker/sources
6
- BITBUCKET_URL=https://bitbucket.org/squeaky/portable-pypy/downloads # old releases
7
- URL=https://github.com/squeaky-pl/portable-pypy/releases/download # new releases
6
+ SQUEAKY_BITBUCKET_URL=https://bitbucket.org/squeaky/portable-pypy/downloads # older releases
7
+ SQUEAKY_GITHUB_URL=https://github.com/squeaky-pl/portable-pypy/releases/download # old releases
8
+ URL=https://bitbucket.org/pypy/pypy/downloads # new releases
9
+
8
10
9
11
MY_DIR=$( dirname " ${BASH_SOURCE[0]} " )
10
12
. $MY_DIR /../build_scripts/build_utils.sh
@@ -13,9 +15,13 @@ MY_DIR=$(dirname "${BASH_SOURCE[0]}")
13
15
cd " $SOURCES "
14
16
15
17
# pypy 7.1.1
16
- fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 " $BITBUCKET_URL "
17
- fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 " $BITBUCKET_URL "
18
+ fetch_source pypy-7.1.1-linux_x86_64-portable.tar.bz2 " $SQUEAKY_BITBUCKET_URL "
19
+ fetch_source pypy3.6-7.1.1-beta-linux_x86_64-portable.tar.bz2 " $SQUEAKY_BITBUCKET_URL "
18
20
19
21
# pypy 7.2.0
20
- fetch_source pypy-7.2.0-linux_x86_64-portable.tar.bz2 " $URL /pypy-7.2.0"
21
- fetch_source pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 " $URL /pypy3.6-7.2.0"
22
+ fetch_source pypy-7.2.0-linux_x86_64-portable.tar.bz2 " $SQUEAKY_GITHUB_URL /pypy-7.2.0"
23
+ fetch_source pypy3.6-7.2.0-linux_x86_64-portable.tar.bz2 " $SQUEAKY_GITHUB_URL /pypy3.6-7.2.0"
24
+
25
+ # pypy 7.3.0rc3
26
+ fetch_source pypy2.7-v7.3.0rc3-linux64.tar.bz2 " $URL "
27
+ fetch_source pypy3.6-v7.3.0rc3-linux64.tar.bz2 " $URL "
You can’t perform that action at this time.
0 commit comments