- package: tis-magrit
- name: magrit
- version: 2.3.3
- categories: Utilities
- maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
- licence: GPL-3.0 license
- locale: all
- target_os: windows
- impacted_process: magrit
- architecture: all
- signature_date:
- size: 159.42 Mo
- installed_size: 138.40 Mo
- homepage : https://magrit.cnrs.fr/
package : tis-magrit
version : 2.3.3
architecture : all
section : base
priority : optional
name : magrit
categories : Utilities
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description : magrit is a thematic mapping solution.
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources :
installed_size : 138403840
impacted_process : magrit
description_fr : magrit est une solution de cartographie thématique
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence : GPL-3.0 license
homepage : https://magrit.cnrs.fr/
package_uuid : ef3ccb9f-22ae-44f8-933b-d02b6ed1ddb3
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : fee82ea2e2d493a9ce7fafad98f8b339c77d0d05dec1283ddbf00c903a0f3815
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-06-07T15:11:11.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 : vNLdIyOFAy4y7Vx0oUsO2MDOkLr2tvvZvJSUTq+s4diCKS99hrX4iM++7Xk4GUUbss4RrJG7zqLfKhztFdF3zWiyqBnoPenkvT7GUQTGKpzQr6GE02PZqz97eNv9QVvKlMp0ZIvxgQinGPaVaURs3qFtzuxz/2A4VKf3yIRCjHnZge7ImClh9j/0aGyg5+qsyLNhCiMWzd18Z24awy13447+jSWLKGUWBCk1fZpiZTfI9mQRCd0Se2iRjCLPVxr03Ibb99YLYkjOH8vbkeI8XVa2oTpQrd7ynywJDs1vu6ww2QZgZs/y7WJsjIRhkXie0OH6x/F21AsWenrhqM+0mQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_name = "magrit"
app_dir = makepath(programfiles32, app_name)
def install():
bin_name = glob.glob("*portable.exe")[0]
app_path = makepath(app_dir, bin_name)
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) and force:
remove_tree(app_dir)
mkdirs(app_dir)
filecopyto(bin_name, app_path)
# Creating shortcuts
create_desktop_shortcut(app_name, target=app_path)
create_programs_menu_shortcut(app_name, target=app_path)
def uninstall():
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
# Removing shortcuts
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import json
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
api_url = "https://api.github.com/repos/riatelab/magrit/releases/latest"
os_dict = {"windows": ".exe", "linux": ".AppImage", "darwin": ".dmg"}
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = json.loads(wgets(api_url, proxies=proxies))
for to_download in json_load["assets"]:
if os_dict[control.target_os] in to_download["name"]:
download_url = to_download["browser_download_url"]
version = json_load["tag_name"].split("-")[-1].replace("v", "")
latest_bin = to_download["name"]
break
# Downloading latest binaries
print("Latest %s version is: %s" % (control.name, version))
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
else:
print("Binary is present: %s" % latest_bin)
# 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)))
package_updated = True
else:
print("Software version up-to-date (%s)" % Version(version))
control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating update-package-sources
return package_updated
c88250dd7a68ec33682aa706d2ebe14772adf63e98be4cb54ae43046399dcee7 : Magrit-Windows-2.3.3-portable.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
986b9f03760cc829fe00cdf9bd7c602bc69038293ed874756f32a0fd9856e486 : WAPT/control
fee82ea2e2d493a9ce7fafad98f8b339c77d0d05dec1283ddbf00c903a0f3815 : WAPT/icon.png
31e4b040c6bc30c8eda5e2c6fd25ff83fd56015d110db084772bf3e19dfcfd23 : luti.json
906f5670b3876d51192d5e7d8b45476c5db066eeeee5f38a182282927b35bf30 : setup.py
f6de3215d2522613d09712d08ac22601d3f5d35b8e8bffa0c5be8f6a8fc24aeb : update_package.py