@@ -10,24 +10,24 @@ OUT_PREFIX=$1
10
10
dep_formula=${0# $WORKSPACE_DIR / } # this is the original script, e.g. pypy-5.3.1
11
11
dep_name=$( basename $BASH_SOURCE ) # this is us
12
12
dep_version=${dep_formula##* " /${dep_name} -" } # "subtract" our name from full version name
13
- dep_package=${ dep_name} -${dep_version} # it's always "Python-…"
14
- dep_dirname=${dep_package} -linux64
15
- dep_archive_name=${dep_dirname} .tar.bz2
13
+ dep_package=$( echo $ dep_name | tr p P ) -${dep_version} # it's always "Python-…"
14
+ dep_dirname=${dep_package} -linux64 # this is uppercased
15
+ dep_archive_name=${dep_dirname} .tar.bz2 # this is uppercased too
16
16
dep_url=https://python.org/ftp/python/${dep_version} /${dep_package} .tgz
17
17
18
18
19
- echo " Installing necesary sqlite headers"
20
- # install the necessary sqlite headers
21
- apt-get update
22
- apt-get install -y libsqlite3-dev
19
+ # echo "Installing necesary sqlite headers"
20
+ # # install the necessary sqlite headers
21
+ # apt-get update
22
+ # apt-get install -y libsqlite3-dev
23
23
24
- # # Old way of installing sqlite
25
- # # shellcheck source=bin/utils
26
- # source "$BIN_DIR/steps/sqlite3"
24
+ # Old way of installing sqlite
25
+ # shellcheck source=bin/utils
26
+ source " $BIN_DIR /steps/sqlite3"
27
27
28
- # sqlite3_version
29
- # echo "Setting up SQLite3 Headers for $SQLITE3_VERSION"
30
- # sqlite3_install "$OUT_PREFIX" "$SQLITE3_VERSION" 1
28
+ sqlite3_version
29
+ echo " Setting up SQLite3 Headers for $SQLITE3_VERSION "
30
+ sqlite3_install " $OUT_PREFIX " " $SQLITE3_VERSION " 1
31
31
32
32
echo " Building Python 3..."
33
33
@@ -49,8 +49,8 @@ LOCATION=${OUT_PREFIX%?}
49
49
50
50
ln $LOCATION /bin/python3 $LOCATION /bin/python
51
51
52
- # copy over sqlite3 headers
53
- cp " /usr/include/sqlite3" * " $LOCATION /include/"
52
+ # # copy over sqlite3 headers
53
+ # cp "/usr/include/sqlite3"* "$LOCATION/include/"
54
54
55
- # create generic .so symlink against stack image
56
- ln -s " /usr/lib/x86_64-linux-gnu/libsqlite3.so.0" " $LOCATION /lib/libsqlite3.so"
55
+ # # create generic .so symlink against stack image
56
+ # ln -s "/usr/lib/x86_64-linux-gnu/libsqlite3.so.0" "$LOCATION/lib/libsqlite3.so"
0 commit comments