tis-jasp icon

JASP

Paquet d’installation silencieuse pour JASP

0.95.1-1

  • package: tis-jasp
  • name: JASP
  • version: 0.95.1-1
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Ingrid TALBOT
  • editor: Universiteit van Amsterdam
  • licence: opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
  • locale: all
  • target_os: macos
  • architecture: x64
  • signature_date:
  • size: 1.37 Go
  • installed_size: 2.03 Go

package           : tis-jasp
version           : 0.95.1-1
architecture      : x64
section           : base
priority          : optional
name              : JASP
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Ingrid TALBOT
description       : JASP is a program for statistical analysis
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.3
sources           : 
installed_size    : 2030284800
impacted_process  : 
description_fr    : JASP est un programme d'analyse statistique
description_pl    : JASP to program do analizy statystycznej
description_de    : JASP ist ein Programm zur statistischen Analyse
description_es    : JASP es un programa de análisis estadístico
description_pt    : JASP é um programa de análise estatística
description_it    : JASP è un programma per l'analisi statistica
description_nl    : JASP is een programma voor statistische analyse
description_ru    : JASP - программа для статистического анализа
audit_schedule    : 
editor            : Universiteit van Amsterdam
keywords          : statistics
licence           : opensource_free,cpe:/a:gnu:gpl_v3,wapt_public
homepage          : 
package_uuid      : 174dd9e5-a16d-4e61-9b35-d133320d3e7c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : e9d937f848a07770c101a880f1ac1c2209da2add443a156d79cec14f5bf00653
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-27T08:10:30.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         : CJn8mQqLimQVCXjyMoYN5eSVhvUZN74/e9W3MgAhp7qFPHrxhpSNJLGxkRNszSx9swzM80Ywlis/6ytuxOKbYuWIxj7DJfuaND6pbDvdV+K6YSdl7O4G3Q5eb+biFvLADgDstIQEL7wXk6u8Ncn+El7T3hHDSTY2zRYjjbYy6PjSkqKtJ+GhqGO2kTjH7qq2NL/8LqzUpYeCt01rpy+FzxYOfrZ7rxp6X198P6W2nULd0A6B3i6pPni90O4dT4SXiCUEGddjE5ATVSXOhoSX45mgJ0fkcqHGjz0SNOaCcZ25CjFX3z/odKJIGa9HVodNs2Pj5BvD2UcysLosXF44Bw==

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


def install():
    bin_name = glob.glob("JASP-*-MacOS-x86_64.dmg")[0]
    install_dmg(bin_name, min_version=control.get_software_version())


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


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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    update_dict = {"windows": ".msi","macos": "x86_64.dmg"}
    api_url = "https://api.github.com/repos/jasp-stats/jasp-desktop/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    dmg_found = False  # Flag pour indiquer la découverte d'un fichier .dmg
    for release in releases_dict:
        if dmg_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".dmg") and update_dict[control.target_os] in asset["browser_download_url"]:
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["tag_name"].replace("v", "")
                dmg_found = True  # Mettre à jour le flag pour indiquer qu'un dmg a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.dmg"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    control.set_software_version(version)
    control.save_control_to_wapt()

6b3a1881a2dd81797be7c5df1a9dc7d59db528a6bfe2e998056129f4519ba5a6 : JASP-0.95.1.0-MacOS-x86_64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4d8c5dc2b63791152344176a0ccffa74b8ab1e5974fe35616b02c0161b1af901 : WAPT/control
e9d937f848a07770c101a880f1ac1c2209da2add443a156d79cec14f5bf00653 : WAPT/icon.png
e81a7ef206c1224445bae53cf454b22b4b9ce75db57e8ed2d0c6f7cac561ee93 : luti.json
dcb301e784f8215c88d6464e1d962b6247cd528634f972d9ae34357eef96455b : setup.py
95304d78832c4a6fbd4e80d3c217a38236cb79cf266ee21356ec139000dfdd92 : update_package.py