tis-magrit icon

magrit

Paquet d’installation silencieuse pour magrit

2.3.3

  • 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: darwin
  • impacted_process: magrit
  • architecture: x64
  • signature_date:
  • size: 243.44 Mo
  • installed_size: 138.40 Mo
  • homepage : https://magrit.cnrs.fr/

package           : tis-magrit
version           : 2.3.3
architecture      : x64
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         : darwin
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      : 03e85773-c375-4e64-b814-c1e538a88735
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:07:58.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         : eABJW0g3+MI5bQigJ17AYWx6AzGa8hTbz3lp8cH6vJTrTStIL12yiawDLBrdHPpIi2CCp/6qgp51Uhssvorha4vVY9PAuMWwNR5f/RgJXBPO6kgwV7I20uJwG41t6LPq08RL4kjBFzeV/GA4S0SJEaFk1WFo8rdG4+UF+Zuf8jDkMcZYtt0plEEHI2WjJGTvRGAB0oDTcuFsek8o/GEy3yyh5ZBKynRVJnPJqOzBkRytdM1CINjxK2OR8VXxC1uG6yTq47yzF+2Y4/9PjdA5i25qXlXTGCZY4YYgrDmGGqJq8bl/cWAn7F2sSgg2vihN583BlyrIN841eDIWzjtwdg==

# -*- 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 *


def install():
    install_dmg(glob.glob("Magrit*.dmg")[0])


def uninstall():
    remove_tree("/Applications/Magrit.app")

# -*- 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

2a2388ea37762e28cf0cfdafc210a1c919065f5ba6598435af95bed397ad95d7 : Magrit-Mac-2.3.3-Installer.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
bff8203cdb52d9faac0c659c62d65621795a7b7135230c74bb1e10d76f65a055 : WAPT/control
fee82ea2e2d493a9ce7fafad98f8b339c77d0d05dec1283ddbf00c903a0f3815 : WAPT/icon.png
d44571c40555ecfdcb6954dcd7f7c11908a4e820d84b431f897beaff3f7d7df7 : luti.json
e7ef127d275e55e605966ac3b1dbda55feefd0c1902e848edb79a9a9c9daf972 : setup.py
f6de3215d2522613d09712d08ac22601d3f5d35b8e8bffa0c5be8f6a8fc24aeb : update_package.py