
tis-scilab
Paquet d’installation silencieuse pour tis-scilab
2024.1.0-2
- package: tis-scilab
- version: 2024.1.0-2
- maintainer: Simon Fonteneau
- locale: all
- target_os: windows
- impacted_process: WScilex.exe
- architecture: x64
- signature_date:
- size: 186.91 Mo
- installed_size: 1.33 Go
package : tis-scilab
version : 2024.1.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 : e01127c6-db89-4797-a8d1-b64e6aa90d76
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : vTWoKnDQ1P33RVy6/xWjnCxbxQmH2v7aRSRqgHFe01JYbbA2P7wRGRwSNFKp+bfVxRPFEykF4ATBYLwHB2HUiPjhqB4bsLxNFu8nx5ubSPtVzdlTxcKkTi/VOUO3RCLseKNcgKLQTO+kfNdkt14syTqAGJR9iIblxxL5vI18vtS75uv5cBuKLDE1OjkymuvkHHPXExQSP9Cy6Ktb/sWmDn1uLQ/ISPAJl9tvybnMz2zMAoYeUB0ZiSYZ9YJYhZsVJjYVAtoUJyHPuhkVAGQ3RcXllHDk+qSVqHG7Yj9r9HugaOqU8lMPmFRXLy+5WkoanDKXU4CfmJbimFGI1XKLag==
signature_date : 2024-05-28T11:01:12.088959
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
# -*- 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
f920c8cc90c24263787c6e78cdbc43dc2bfc2bdec95992e2316deea0b641ff1f : setup.py
c99db7abd101e0562c0e7a18cc53a269d6c4727b69d3149686a3d89c2c5e72c6 : update_package.py
89217e95f2108d7c57933d32265a855212a4d9c97bb6953871fbe2a61719730a : scilab-2024.1.0.bin.x64.exe
280afd5dd8f8d69c4446874d816f7f5e0417016d61cdc2e96cb76dcffd8e39d9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
805aa371c9c88617013c38ec797a7175b0bd6c281ea85882b79bd323ecf37754 : luti.json
9512584e9d6328ce74df58671fb0c653d208574d818e8baac9f903984934039f : WAPT/control