summaryrefslogtreecommitdiff
path: root/Ports/python3/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Ports/python3/package.sh')
-rwxr-xr-xPorts/python3/package.sh39
1 files changed, 26 insertions, 13 deletions
diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh
index 2b03a290c3..26318ce26c 100755
--- a/Ports/python3/package.sh
+++ b/Ports/python3/package.sh
@@ -4,23 +4,36 @@ source version.sh
export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/python/bin:${PATH}"
-port=python3
+port='python3'
version="${PYTHON_VERSION}"
workdir="Python-${version}"
-useconfigure="true"
-use_fresh_config_sub=true
+useconfigure='true'
+use_fresh_config_sub='true'
files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM}
https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0"
-auth_type="sha256"
-launcher_name="Python"
-launcher_category="Development"
-launcher_command="/usr/local/bin/python3"
-launcher_run_in_terminal="true"
-icon_file="../launcher.ico" # This is an older icon that's downloaded separately, so we need to go outside of $workdir
-
-depends=("bzip2" "libffi" "libuuid" "ncurses" "openssl" "readline" "sqlite" "termcap" "zlib")
-
-configopts=("--disable-ipv6" "--without-ensurepip" "ac_cv_file__dev_ptmx=no" "ac_cv_file__dev_ptc=no")
+auth_type='sha256'
+launcher_name='Python'
+launcher_category='Development'
+launcher_command='/usr/local/bin/python3'
+launcher_run_in_terminal='true'
+icon_file='../launcher.ico' # This is an older icon that's downloaded separately, so we need to go outside of $workdir
+depends=(
+ 'bzip2'
+ 'libffi'
+ 'libuuid'
+ 'ncurses'
+ 'openssl'
+ 'readline'
+ 'sqlite'
+ 'termcap'
+ 'zlib'
+)
+configopts=(
+ '--disable-ipv6'
+ '--without-ensurepip'
+ 'ac_cv_file__dev_ptmx=no'
+ 'ac_cv_file__dev_ptc=no'
+)
export BLDSHARED="${CC} -shared"