diff options
author | Linus Groh <mail@linusgroh.de> | 2022-10-25 12:27:27 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-25 13:11:42 +0100 |
commit | 35ec636b5dc3c20095707d922db8d6277f393c23 (patch) | |
tree | 1f3c89bc94852931f92f6b70e4a6e398078103af /Ports/python3/package.sh | |
parent | 97c0f603e3c2863f5d086101dc317f97ac9291e5 (diff) | |
download | serenity-35ec636b5dc3c20095707d922db8d6277f393c23.zip |
Ports/python3: Reformat package.sh according to our current guidelines
Diffstat (limited to 'Ports/python3/package.sh')
-rwxr-xr-x | Ports/python3/package.sh | 39 |
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" |