- package: tis-zeal
- name: Zeal
- version: 0.7.2-2
- categories: Development
- maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
- licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
- locale: all
- target_os: windows
- impacted_process: zeal
- architecture: x64
- signature_date:
- size: 114.02 Mo
- installed_size: 232.09 Mo
- homepage : https://zealdocs.org/
package : tis-zeal
version : 0.7.2-2
architecture : x64
section : base
priority : optional
name : Zeal
categories : Development
maintainer : WAPT Team,Tranquil IT,Ingrid TALBOT
description : Zeal is an offline documentation browser for software developers
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 232085335
impacted_process : zeal
description_fr : Zeal est un navigateur de documentation hors ligne pour les développeurs de logiciels
description_pl : Zeal to przeglądarka dokumentacji offline dla programistów
description_de : Zeal ist ein Offline-Dokumentationsbrowser für Softwareentwickler
description_es : Zeal es un navegador de documentación offline para desarrolladores de software
description_pt : O Zeal é um navegador de documentação offline para programadores de software
description_it : Zeal è un browser per la documentazione offline per gli sviluppatori di software
description_nl : Zeal is een offline documentatiebrowser voor softwareontwikkelaars
description_ru : Zeal - это автономный браузер документации для разработчиков программного обеспечения
audit_schedule :
editor :
keywords : documentation,development
licence : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage : https://zealdocs.org/
package_uuid : f6703221-c729-49a4-a7ec-0472f4535694
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/zealdocs/zeal/releases
min_os_version :
max_os_version :
icon_sha256sum : 0a0c6536b13cb856deff5a72d80c50952aa41bca4b04c944b75ea809493d4e5a
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-09-14T08:00:55.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 : Xy7YT+TN5h34HeFWoM2bTVlhsQKW+F9nPZckyyI+q3Yo5VkgeoBmMY6yj09ztd//A8ap1PzXe9IRHRyiDe2pH5dum5c9lUFs2EcBbMSyrAa8UmFT6maoZSYLvCLztBLhjP3JrhN3CZQaB3yE3JrdAp8ngVy9NAq7Yo1voB9Sa1xt2woO3nCRy/fhvE8QmIG05cLqBBiqXPA5Vl8FivMImrIIFE185BWhOJ3AKPhVJFQwfykOElZfobbjk644oitbXBCeV86TSTLSjAQlUvR55MCZ19r5G5ythYC0KwHAP5TaQrbaVfOj7zh7B80TxUlVl8UCkeulosFKSUBySUq8Vg==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("zeal-*-windows-x64.msi")[0]
install_msi_if_needed(
bin_name
)
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
update_dict = {"windows": ".msi"}
api_url = "https://api.github.com/repos/zealdocs/zeal/releases/latest"
# Get data from API
releases_dict = json.loads(wgets(api_url, proxies=proxies))
msi_found = False # Flag pour indiquer la découverte d'un fichier .msi
# version = json_loads["tag_name"].replace("v", "").replace(".windows", "")
for release in releases_dict:
if msi_found:
break
for asset in releases_dict["assets"]:
if asset["browser_download_url"].endswith(".msi") and update_dict[control.target_os] in asset["browser_download_url"]:
url_download = asset["browser_download_url"]
latest_bin = url_download.split("/")[-1]
version = releases_dict["name"].replace("v", "")
msi_found = True # Mettre à jour le flag pour indiquer qu'un msi a été trouvé
break
# Deleting binaries
for f in glob.glob("*.msi"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % url_download)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(url_download, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
version = get_version_from_binary(latest_bin)
control.set_software_version(version)
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
509c76821ea59e85f495df200fce57452b52fb725724a1c80ed03da8379ed135 : WAPT/control
0a0c6536b13cb856deff5a72d80c50952aa41bca4b04c944b75ea809493d4e5a : WAPT/icon.png
6d7716e8b8c975f756aa4bae75b55b54d6d69b38005f1b139277cfd563551928 : luti.json
908e4a15615c7e05b803289751806923faca1dd6a26df60e655ade1638473b9e : setup.py
de56d10cedb23b3f069ae9c130cfbca08cedffa7168ccb9fa233aa5ec97157b6 : update_package.py
aa41c00c143e2ceb020b080b7a61c9d1bd5e9bb358645a1f8c1ecb5a4af2abc8 : zeal-0.7.2-windows-x64.msi