Kate
Silent install package for Kate
26.8-3
- package: tis-kate
- name: Kate
- version: 26.8-3
- maintainer: Jordan Arnaud
- licence: GNU LIBRARY GENERAL PUBLIC LICENSE
- target_os: darwin
- impacted_process: kate
- architecture: x64
- signature_date:
- size: 111.79 Mo
- homepage : https://kate-editor.org/
package : tis-kate
version : 26.8-3
architecture : x64
section : base
priority : optional
name : Kate
categories :
maintainer : Jordan Arnaud
description : Kate is a programmer's text editor by KDE. It features stuff like codefolding, syntaxhighlighting, dynamic word wrap, an embedded console, an extensive plugin interface and some prelimentary scripting support
depends :
conflicts :
maturity : PROD
locale :
target_os : darwin
min_wapt_version :
sources : https://cdn.kde.org/ci-builds/utilities/kate/
installed_size :
impacted_process : kate
description_fr : Kate est un éditeur de texte pour programmeurs créé par KDE. Il propose des fonctionnalités telles que le pliage de code, la mise en évidence de la syntaxe, l'habillage dynamique des mots, une console intégrée, une interface de plugin étendue et un support de script prélimentaire
description_pl : Kate to edytor tekstu dla programistów stworzony przez KDE. Oferuje takie funkcje jak składanie kodu, podświetlanie składni, dynamiczne zawijanie słów, wbudowaną konsolę, rozbudowany interfejs wtyczek i wstępną obsługę skryptów
description_de : Kate ist ein Texteditor für Programmierer von KDE. Er bietet Funktionen wie Codefolding, Syntaxhighlighting, dynamischen Zeilenumbruch, eine eingebettete Konsole, eine umfangreiche Plugin-Schnittstelle und einige zusätzliche Skriptunterstützung
description_es : Kate es un editor de texto para programadores de KDE. Cuenta con cosas como codefolding, syntaxhighlighting, dynamic word wrap, una consola incrustada, una extensa interfaz de plugins y algún soporte de scripting preliminar
description_pt : Kate é um editor de texto para programadores do KDE. Possui funcionalidades como codefolding, syntaxhighlighting, word wrap dinâmico, uma consola incorporada, uma extensa interface de plugins e algum suporte de scripting preliminar
description_it : Kate è un editor di testo per programmatori di KDE. Presenta elementi come il codefolding, l'evidenziazione della sintassi, il word wrap dinamico, una console integrata, un'ampia interfaccia di plugin e un supporto prelimentare per lo scripting
description_nl : Kate is een teksteditor voor programmeurs van KDE. Het heeft dingen zoals codefolding, syntaxishighlighting, dynamische woordomloop, een ingebedde console, een uitgebreide plugin-interface en wat aanvullende ondersteuning voor scripts
description_ru : Kate - это текстовый редактор для программистов от KDE. В нем есть такие функции, как сворачивание кода, подсветка синтаксиса, динамическое обертывание слов, встроенная консоль, обширный интерфейс плагинов и предварительная поддержка скриптов
audit_schedule :
editor :
keywords :
licence : GNU LIBRARY GENERAL PUBLIC LICENSE
homepage : https://kate-editor.org/
package_uuid : f67e64e9-28cf-4041-9897-b50a6b3b7a61
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 11
max_os_version :
icon_sha256sum : 0ffe006104cc5ea9983eddbaa1eb6a9c4b0d485fad5de738764cef0624cf767b
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2026-09-06T10:00:33.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : NiBchVTZ3HqA7jOm2Mm5zjjtLRO4td3WIXXt5sQr2NMLJI/ABU8FAzVE7eK1k3RyljtbPZIyPbLTNrPDrDk9RFElG6QiEDIkMgVUzjCrQu904XRapeEREldWZlAF/3xhlg+68XaLqcOjBziwqnG3iBOJAc4rfEBSJoZ0Xb7qO0tkS0yKSAlkfocmGSkQmrVCJN0Pigl7YvpHEbrkUH8X3oxAlhsOrSEp350BDmLRyOLZGtkBXzlT6MHqQ82OsHeS6XkoN1UNS91u488UNEh/9jhOOIiXvvA07oUvG+mZSBN+vMvwwnS122RX57v39xlN+TLVRW63S1v/5k4fGSM5ZA==
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
def install():
install_dmg(glob.glob("kate-release_*x86_64.dmg")[0])
def uninstall():
remove_tree("/Applications/kate.app")
from setuphelpers import *
from setupdevhelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
base_url = "https://cdn.kde.org/ci-builds/utilities/kate/"
control_mapping = {'darwin': 'macos', 'arm': 'arm64', 'x64': 'x86_64'}
os_download_dict = {f'darwin-{control.architecture}': f'{control_mapping[control.architecture]}.dmg'}
os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
versions = [ i.get_text(strip=True) for i in bs_find_all(base_url, "a", "href", proxies=proxies) if 'release' in i.get_text(strip=True) ]
sorted_release = sorted(versions, key=lambda x: Version(x.split('-')[-1].strip('/')), reverse=True)
latest_release_url = None
for release in sorted_release:
url = base_url + release + f"{control_mapping[control.target_os]}-{control_mapping[control.architecture]}"
if requests.head(url).ok:
latest_release_url = url
version = release.split('-')[-1].strip('/')
break
print(f"Latest {app_name} version is: {version}")
for i in bs_find_all(latest_release_url, "a", "href", proxies=proxies):
bin_name = i.get_text(strip=True)
if bin_name.endswith(os_download_dict[os_type]):
download_url = f"{latest_release_url}/{bin_name}"
latest_bin = download_url.rsplit('/', 1)[-1]
latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
# Downloading latest binaries
print(f"Download URL is: {download_url}")
if isfile(latest_bin):
remove_file(latest_bin)
print(f"Downloading: {latest_bin}")
wget(download_url, latest_bin, proxies=proxies)
print(f"Binary is present: {latest_bin}")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print(f"Software version updated (from: {control.get_software_version()} to: {Version(version)})")
package_updated = True
else:
print(f"Software version up-to-date ({Version(version)})")
for f in glob.glob(f'*.{latest_bin_extension}'):
if f != latest_bin:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
25a7bf824a4c3132fbb44410a4efa442e8b30e3ac26d13027c294b7d6c8410c3 : WAPT/control
0ffe006104cc5ea9983eddbaa1eb6a9c4b0d485fad5de738764cef0624cf767b : WAPT/icon.png
f522ac66245af71d05214242cdec250ae8c7246c9fd9beaa48f64cf22dcc3009 : kate-release_26.08-12232-macos-clang-x86_64.dmg
d1ee6c0cc23d90d510356267d5b382f785ab980fb046798aff36c3cd1789beda : luti.json
65c338c9fe3ec12b1f40fe37a91c248c97b117b306a21e1cbaebcfa8f8879a7a : setup.py
a12689d0ccd9a17180f29ca2804e8b2a09ff6ae57bfcbde309742befa263755c : update_package.py