1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

Ports/python3: Reformat package.sh according to our current guidelines

This commit is contained in:
Linus Groh 2022-10-25 12:27:27 +01:00
parent 97c0f603e3
commit 35ec636b5d

View file

@ -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"