summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-07-19 22:11:17 +0100
committerLinus Groh <mail@linusgroh.de>2021-07-20 00:58:26 +0100
commit84efed502abf141b532002b4b27fb8e849653b81 (patch)
treeef4161f2cbeea302ac39ddd9a80c3b0803a7bbf2 /Ports
parentb8cd6ae02e7d7bb9a091b6dbdd26d9a6f0e00c71 (diff)
downloadserenity-84efed502abf141b532002b4b27fb8e849653b81.zip
Ports: Add a launcher for Python
We're even downloading an additional older icon from the git repo instead of using their current ones for accurate look and feel :^)
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/python3/package.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Ports/python3/package.sh b/Ports/python3/package.sh
index 10698453f4..94bc93b819 100755
--- a/Ports/python3/package.sh
+++ b/Ports/python3/package.sh
@@ -7,10 +7,16 @@ version="${PYTHON_VERSION}"
workdir="Python-${version}"
useconfigure="true"
files="${PYTHON_ARCHIVE_URL} ${PYTHON_ARCHIVE}
-https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz.asc Python-${version}.tar.xz.asc"
+https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz.asc Python-${version}.tar.xz.asc
+https://raw.githubusercontent.com/python/cpython/942dd9f3f77eef08fabddbd9fb883a866ad6d4cb/PC/pycon.ico launcher.ico"
auth_type="sig"
auth_import_key="E3FF2839C048B25C084DEBE9B26995E310250568"
auth_opts="Python-${version}.tar.xz.asc Python-${version}.tar.xz"
+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
# We could also add `openssl` here, but the _ssl modules doesn't build at the moment
depends="bzip2 libffi ncurses readline sqlite termcap zlib"