
tis-scilab
Paquet d’installation silencieuse pour tis-scilab
2025.0.0-2
- package: tis-scilab
- version: 2025.0.0-2
- maintainer: Simon Fonteneau
- locale: all
- target_os: windows
- impacted_process: WScilex.exe
- architecture: x64
- signature_date:
- size: 205.16 Mo
- installed_size: 1.33 Go
package : tis-scilab
version : 2025.0.0-2
architecture : x64
section : base
priority : optional
name :
categories :
maintainer : Simon Fonteneau
description : Scilab
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources :
installed_size : 1333592064
impacted_process : WScilex.exe
description_fr : Scilab
description_pl : Scilab
description_de : Scilab
description_es : Scilab
description_pt : Scilab
description_it : Scilab
description_nl : Scilab
description_ru : Scilab
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 64dd016d-7e08-476c-8248-b606319b3b8f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-29T16:42:52.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 : hqFkoc8L9eltEEdyb5ShMd73m5KiDjHellpyDY1ziVzmW5R+oew1jjGywslPOCZMUG9JEzapfqRJy9QvKSEqDMwfrezJZMkeuWo5RBXQ2rTYkN7KN+Z4eenvoxlsKBKDSMNuC39YxpyxqrqjKBQIGa+3m+hU9dWljoHK3uacDr4iP1PvE6Yl9W4KvYi2PG/wsnLVINbJB8hgQLzB90mpsXrsnda4Z9bxufFXmb2BhsqIAqr5sMifSnPBpU2ETdZAmsFkSGpsqh/MwhZOXwgBagpjgc0qVWS4V3ICxUWn5qetox02bPWz0oye1WIkMZKlYw5Tk9diAXezohUz8kh4oQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
softversion = control.get_software_version()
keywapt = "scilab-%s (64-bit)_is1" % softversion
for soft in installed_softwares("scilab"):
if soft["key"] != keywapt:
run(uninstall_cmd(soft["key"]))
install_exe_if_needed(
glob.glob("scilab*.exe")[0],
silentflags="/SILENT",
key="scilab-%s (64-bit)_is1" % softversion,
min_version=softversion,
killbefore="WScilex.exe",
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 *
bin_contains = "scilab-"
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://www.scilab.org/latest/"
if control.architecture == "x64":
arch = "x64"
else:
arch = "x86"
sub_bin_name = bin_contains + "%s" + arch
# Getting latest version from official sources
print("URL used is: %s" % url)
version = wgets(url).split('href="/download/scilab-')[1].split('" hreflang="en">')[0]
download_url = f"https://oos.eu-west-2.outscale.com/scilab-releases/{version}/scilab-{version}.bin.{arch}.exe"
latest_bin = download_url.rsplit("/")[-1]
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
# if not version_from_file.startswith(version) and version_from_file != '':
if Version(version_from_file) != Version(version) and version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, bin_contains + version_from_file + bin_ends)
version = version_from_file
else:
print("Binary file version corresponds to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return result
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
a30910999b7dfec04208e5b183e96172abe6387d58ffdac78fef4d1d46b5fd20 : WAPT/control
280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9 : WAPT/icon.png
fadb62ed8b69727d50552ad85a087c4907945ad6eafc75c749fcc07f38200852 : luti.json
2dfaed601e4318953ad23261f45d093ab3ed2f7660a0cbe74613dc64cb6f263d : scilab-2025.0.0.bin.x64.exe
f920c8cc90c24263787c6e78cdbc43dc2bfc2bdec95992e2316deea0b641ff1f : setup.py
c99db7abd101e0562c0e7a18cc53a269d6c4727b69d3149686a3d89c2c5e72c6 : update_package.py