tis-scilab icon

Scilab

Paquet d’installation silencieuse pour Scilab

2025.1.0-3

  • package: tis-scilab
  • name: Scilab
  • version: 2025.1.0-3
  • maintainer: Simon Fonteneau
  • editor: Dassault Systèmes
  • licence: GPLv2
  • locale: all
  • target_os: windows
  • impacted_process: WScilex.exe
  • architecture: x64
  • signature_date:
  • size: 303.97 Mo
  • installed_size: 1.33 Go
  • homepage : https://www.scilab.org/

package           : tis-scilab
version           : 2025.1.0-3
architecture      : x64
section           : base
priority          : optional
name              : Scilab
categories        : 
maintainer        : Simon Fonteneau
description       : Scilab is an open-source, multi-platform numerical computation program that provides a computational environment for scientific applications.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : 
installed_size    : 1333592064
impacted_process  : WScilex.exe
description_fr    : Scilab est un logiciel libre de calcul numérique multi-plateforme fournissant un environnement de calcul pour des applications scientifiques.
description_pl    : Scilab to wieloplatformowy pakiet oprogramowania do obliczeń numerycznych o otwartym kodzie źródłowym, który zapewnia środowisko obliczeniowe do zastosowań naukowych.
description_de    : Scilab ist eine plattformübergreifende freie Software für numerische Berechnungen, die eine Rechenumgebung für wissenschaftliche Anwendungen bereitstellt.
description_es    : Scilab es un paquete de software de cálculo numérico multiplataforma y de código abierto que proporciona un entorno de cálculo para aplicaciones científicas.
description_pt    : O Scilab é um pacote de software de computação numérica de código aberto e multiplataforma que fornece um ambiente computacional para aplicações científicas.
description_it    : Scilab è un pacchetto software di calcolo numerico open-source e multipiattaforma che fornisce un ambiente di calcolo per applicazioni scientifiche.
description_nl    : Scilab is een open-source, multi-platform numeriek berekeningssoftwarepakket dat een rekenomgeving biedt voor wetenschappelijke toepassingen.
description_ru    : Scilab - это многоплатформенный пакет программ для численных расчетов с открытым исходным кодом, который предоставляет вычислительную среду для научных приложений.
audit_schedule    : 
editor            : Dassault Systèmes
keywords          : 
licence           : GPLv2
homepage          : https://www.scilab.org/
package_uuid      : ab8c0122-8d0d-4af4-bd89-64aeac59e2d0
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://help.scilab.org/docs/2025.0.0/en_US/CHANGES.html
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-27T17:00:22.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         : L/XV8nhN6Ms5FP79HzapV17grbMmPB2pz29IrfQZpPVCxzEFOhoTlg+XqgrdRZJQf4xGBk8z791OBnkvl+Nezetu7gLrTBfgjUG+rDdE0nnO+LLq0d8PxVjoos9OdgG5BUvDQHg/yogDHaiTb+BlUfCV315nYeHOIXF4Ymws0wQhoxwFkFxvFXwOyA2J+jvYGBWPtZ5h9O7HsU7zs+nmuVaTAQv1PTw+H1Z0aHwczmkKRlYl5KypfP6RPnWR6dn4Qs5XjyQfiRViqw3InolevnHZsNlLbeYOjBhVfkWF5wwrFJOHhAA8k1oP6W1+H75OogsyKONx3PJO9U0RqU+7kg==

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


def install():
    softversion = control.get_software_version()
    bin_name = glob.glob("scilab*.exe")[0]
    uninstall_key = f"scilab-{softversion} (64-bit)_is1"

    for soft in installed_softwares("scilab"):
        if soft["key"] != uninstall_key:
            run(uninstall_cmd(soft["key"]))

    install_exe_if_needed(
        bin_name,
        silentflags="/VERYSILENT /SUPPRESSMSGBOXES /NORESTART",
        key=uninstall_key,
        min_version=softversion,
        timeout=600,
    )

    remove_desktop_shortcut("scilab-%s (64-bit)" % softversion)
    remove_desktop_shortcut("scilab-%s (64-bit) Desktop" % softversion)

# -*- coding: utf-8 -*-
from setuphelpers 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

    download_dict = {
        'windows-x64' : 'Windows 64 bits',
        'debian_based-x64' : 'Linux 64 bits',
        'darwin-x64' : 'macOS 64 bits'
    }
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]

    url = "https://gitlab.com/api/v4/projects/3330423/releases/"
    print(f"URL used is: {url}")

    latest_release = wgets(url, proxies=proxies, as_json=True)[0] # Get latest realease
    version = latest_release["tag_name"]

    for link in latest_release["assets"]["links"]:
        if link["name"].endswith(download_dict[os_type]):
            download_url = link["url"]
            latest_bin = download_url.rsplit('/', 1)[-1]

    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: {latest_bin}")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: {latest_bin}")

    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

    # 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})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({version})")

    control.set_software_version(version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
68400adcd4f0e24b7faaad3c23cca019d15746e087a2aaaf0f78013a67f303f2 : WAPT/control
280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9 : WAPT/icon.png
d7af91713f90ae49f2684d08d8105e19cae9518bc0f09e7e6e36f32ecf60f335 : luti.json
f30692b8ad1974af802770df1cd0e00bb7cd0a0b285de2e9fa6b8f0c8ba38914 : scilab-2025.1.0.bin.x64.exe
472d4fd3fb138dacd8f53f95b6e5b73b7a7d11b86b94d765c09c409c4167db21 : setup.py
65834e63d7f447d40f032262dcdda8f1d9fb3827c6604a1d2454d442524fc20e : update_package.py