mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 19:27:45 +00:00
Ports/python3: Reformat package.sh according to our current guidelines
This commit is contained in:
parent
97c0f603e3
commit
35ec636b5d
1 changed files with 26 additions and 13 deletions
|
@ -4,23 +4,36 @@ source version.sh
|
||||||
|
|
||||||
export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/python/bin:${PATH}"
|
export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/python/bin:${PATH}"
|
||||||
|
|
||||||
port=python3
|
port='python3'
|
||||||
version="${PYTHON_VERSION}"
|
version="${PYTHON_VERSION}"
|
||||||
workdir="Python-${version}"
|
workdir="Python-${version}"
|
||||||
useconfigure="true"
|
useconfigure='true'
|
||||||
use_fresh_config_sub=true
|
use_fresh_config_sub='true'
|
||||||
files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM}
|
files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE} ${PYTHON_ARCHIVE_SHA256SUM}
|
||||||
https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0"
|
https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico 55c1e1fcabc2f254a6d02242912359d29f141d11c4892c20375d58b6dcd89ac0"
|
||||||
auth_type="sha256"
|
auth_type='sha256'
|
||||||
launcher_name="Python"
|
launcher_name='Python'
|
||||||
launcher_category="Development"
|
launcher_category='Development'
|
||||||
launcher_command="/usr/local/bin/python3"
|
launcher_command='/usr/local/bin/python3'
|
||||||
launcher_run_in_terminal="true"
|
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
|
icon_file='../launcher.ico' # This is an older icon that's downloaded separately, so we need to go outside of $workdir
|
||||||
|
depends=(
|
||||||
depends=("bzip2" "libffi" "libuuid" "ncurses" "openssl" "readline" "sqlite" "termcap" "zlib")
|
'bzip2'
|
||||||
|
'libffi'
|
||||||
configopts=("--disable-ipv6" "--without-ensurepip" "ac_cv_file__dev_ptmx=no" "ac_cv_file__dev_ptc=no")
|
'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"
|
export BLDSHARED="${CC} -shared"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue