tis-qalculate icon

Qalculate

Paquet d’installation silencieuse pour Qalculate

5.5.2-1

  • package: tis-qalculate
  • name: Qalculate
  • version: 5.5.2-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Amel FRADj
  • licence: opensource_free,wapt_public
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 65.07 Mo
  • homepage : https://qalculate.github.io/

package           : tis-qalculate
version           : 5.5.2-1
architecture      : x64
section           : base
priority          : optional
name              : Qalculate
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Amel FRADj
description       : Qalculate! is a versatile multi-platform desktop calculator. It's simple to use, yet offers the power and versatility normally reserved for complex mathematical software
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Qalculate! est une calculatrice de bureau multi-plateforme polyvalente. Elle est simple à utiliser mais offre une puissance et une polyvalence normalement réservées aux logiciels mathématiques complexes
description_pl    : Qalculate! to wszechstronny, wieloplatformowy kalkulator biurkowy. Jest prosty w użyciu, ale oferuje moc i wszechstronność zwykle zarezerwowaną dla złożonego oprogramowania matematycznego
description_de    : Qalculate! ist ein vielseitiger, plattformübergreifender Tischrechner. Er ist einfach zu bedienen, bietet aber eine Leistung und Vielseitigkeit, die normalerweise nur komplexer Mathematiksoftware vorbehalten ist
description_es    : Qalculate! es una versátil calculadora de sobremesa multiplataforma. Es sencilla de usar, pero ofrece la potencia y versatilidad normalmente reservadas a complejos programas matemáticos
description_pt    : O Qalculate! é uma calculadora de secretária versátil e multiplataforma. É simples de utilizar, mas oferece a potência e a versatilidade normalmente reservadas a software matemático complexo
description_it    : Qalculate! è una versatile calcolatrice desktop multipiattaforma. È semplice da usare, ma offre la potenza e la versatilità normalmente riservate ai software matematici complessi
description_nl    : Qalculate! is een veelzijdige bureaucalculator voor meerdere platforms. Het is eenvoudig te gebruiken, maar biedt de kracht en veelzijdigheid die normaal gesproken is voorbehouden aan complexe wiskundige software
description_ru    : Qalculate! - это универсальный мультиплатформенный настольный калькулятор. Он прост в использовании, но обладает мощью и универсальностью, обычно присущими сложным математическим программам
audit_schedule    : 
editor            : 
keywords          : 
licence           : opensource_free,wapt_public
homepage          : https://qalculate.github.io/
package_uuid      : 5603410f-fcbe-42ab-9c8f-ba42050acf95
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 98799e46c2c3d9285eea539cbf887304561ddf8b294595198c09a72e1ab92a3a
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-07T08:08:40.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         : vJVx597BAgOGcKJU4JRuKPn55wCko80TZturo48acHCnE8K8LaqXMe4FovJA5Psdqa2S4tEn08grW39PO4l/pvIH6qtP3cw4VXwIGMOPBBleLPwEl9v3XyPbrxYwIE0a6czD/8OKwHpBTVjjjL6iPRmpiQT7+s5TghiyA1qPwsA7E4XL6aQbGK70rlpCAxFT8RzQUF2UZ1CGdKJlpEDT0MxQ4QQ5L9uaC+I8ZhzxHe4XOPE+ePlcwszf/8lRmuXBEj/yVP1dN3cPuP4A/vhGqtyb1rCO++k0qeMuZy02uFiyX4VqTFJUlYIi0klD7tSt6Q8pLGN4R8zuyM4TlHIAgA==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('qalculate-*.msi')[0]
    # Installing the software
    
    install_msi_if_needed(bin_name)



# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def update_package():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64" :"-x64.msi",
        "x86" :"-i386.msi"
    }
    git_repo = "Qalculate/libqalculate"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo   
    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))

    for download in json_load["assets"]:
        if download["browser_download_url"].endswith('.msi') and dict_arch[control.architecture] in download["browser_download_url"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v","")
            filename = download["name"]
            break

    if not isfile(filename):
        package_updated = True
        wget(url_dl,filename,proxies=proxies)

    #nettoyer les fichiers temporaires
    for f in glob.glob('*.msi'):
        if f != filename:
            remove_file(f)

    version =get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
aeaff82a7a3fbdc547cb06732993ee522fc6881472617d1e222231720f7d7f88 : WAPT/control
98799e46c2c3d9285eea539cbf887304561ddf8b294595198c09a72e1ab92a3a : WAPT/icon.png
9bfede29fecbf63ad08978e9c2264dfce9c0a20d40ca4ea6642de29d2a6470eb : luti.json
9d5927b1277571566e5658ee1f272ce2b5b7e8440488f541bc7146c8e2d8e706 : qalculate-5.5.2-x64.msi
c2d1736a4cfe377ccfbfae73d818dd81130947d87662aa92b4196ebc9eee1755 : setup.py
a0923278274e78bedc061b606f16a199f8d5155423e94cdd474cdb9edb8d0da5 : update_package.py