tis-kate

25.4-2
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
888 downloads
Download
See build result See VirusTotal scan
tis-kate icon
  • package : tis-kate
  • name : Kate
  • version : 25.4-2
  • categories :
  • maintainer : Jordan Arnaud
  • editor :
  • licence : GNU LIBRARY GENERAL PUBLIC LICENSE
  • locale :
  • target_os : darwin
  • impacted_process :
  • architecture : x64
  • signature_date : 2025-04-27 08:20
  • size : 140.62 Mo
  • homepage : https://kate-editor.org/
package           : tis-kate
version           : 25.4-2
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  : 
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      : 1ba382e1-d9cb-4275-a40d-e51ae96a3eb6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 0ffe006104cc5ea9983eddbaa1eb6a9c4b0d485fad5de738764cef0624cf767b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-27T08:20:15.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         : jTAm323WaJmwATIVNkFnkcI4CzD1Eg49ZSzWPxJ3b6P9RUS7AplFGpqScDtT4AUWHOb8839jqVrD/Swgov30MkF7QdTvaMoTeJVY7V6mBwOc0MPX5R+YLmcdKl6eNbUWjrViRpbkGRslgp4+sV1bRt5bQ92/KdBlIpNcs3Rwpclaea5bN86n0hutBkKpyFXTR8XuiIwjkSoeoyYyZa9mmoDMXf84TkunsqTYKYFp2u6Gxl8ZJLTKxrr1q7dX4Jxo9LXEXy8mBILNoD6g0eEKpvgNd66ABQqpA4KX1V3X5pH0JwAC/N1aagTqmcp3TpLhyEgdjljEvmjxK1DkSYpRsw==
# -*- 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_*.dmg")[0])


def uninstall():
    remove_tree("/Applications/kate.app")
from setuphelpers import *
import json
import re
import requests



def update_package():
    # Déclaration des variables locales
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name

    # Récupération du contenu de l'index principal
    main_index = wgets("https://cdn.kde.org/ci-builds/utilities/kate/", proxies=proxies)

    # Expression régulière pour trouver les dossiers de release
    re_release_folders = re.compile(r'release-(\d+\.\d+)/')

    # Trouver les versions de release disponibles
    release_folders = sorted(re_release_folders.findall(main_index), key=lambda p: Version(p), reverse=True)

    # Si aucune version n'est trouvée
    if not release_folders:
        print("No releases version found.")
        return

    # Prendre le dernier dossier de release
    latest_release = release_folders[0]
    latest_release_url = f"https://cdn.kde.org/ci-builds/utilities/kate/release-{latest_release}/macos-x86_64/"
    print(f"URL last release : {latest_release_url}")

    # Récupération de la dernière version à partir des sources officielles
    re_versions = re.compile(r'kate-release_(\d+\.\d+)-(\d+)-macos-clang-x86_64\.dmg')
    index = wgets(latest_release_url, proxies=proxies)
    print(f"Last index release :\n{index}")

    # Extraction des versions trouvées dans l'index
    versions_found = re_versions.findall(index)
    print(f"Versions found : {versions_found}")

    for version_kate, build_number in sorted(versions_found, key=lambda p: Version(p[0]), reverse=True):
        latest_bin = f"kate-release_{version_kate}-{build_number}-macos-clang-x86_64.dmg"
        download_url = f"{latest_release_url}{latest_bin}"

        if requests.head(download_url, proxies=proxies).status_code != 404:
            version = version_kate
            print(f"Download {version} with {download_url}")
            break
    else:
        print("no version found.")

    if not isfile(latest_bin):
        package_updated = True
        wget(download_url, latest_bin, proxies=proxies)

    # nettoyer les fichiers temporaires
    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file(f)


    control.set_software_version(version)
    control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4f36655d2edb2fb6568dd4aab2db3356db1295864287fcc59ad4d1f88eef2d24 : WAPT/control
0ffe006104cc5ea9983eddbaa1eb6a9c4b0d485fad5de738764cef0624cf767b : WAPT/icon.png
0e62b6ed3885a0e960f742abf8a3d8e425712d248e77b298b506c8d42f2d3484 : kate-release_25.04-9408-macos-clang-x86_64.dmg
aee6c4c32bc100cbea3219bc13a69282a63f3cd7597a9162ca107d971a69944c : luti.json
1f932969d0a292af5c1dc2db94e72b28c6ea4ae4472392a3fce3553d09a7917b : setup.py
41c38a5f4806d5024e4249986f62ecc8035ca9e760f4e9bf33ee6f8868b22350 : update_package.py