- package: tis-jasp
- name: JASP
- version: 0.19.3-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.10 Go
- installed_size: 2.03 Go
package : tis-jasp
version : 0.19.3-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 : 1e913ea3-2c72-44f0-8d47-e30691c353cf
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-01-11T14:13:24.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 : eSyxAaCKwBXpweM+jyIivW8Tfy17L+2cCXRS4KrdN4oaSNQp1j480evy0nkJIOxQ/lQglnTjQB/Tmzivsm+eGBbh3allsEkzIrBV92cBwMQ9n+eKJA9wRWLdidpPqh1uvtqmyQU2zxg2RytW3bw4uVOUVEO6jeKaYXR73k/ortDQDbeEcqHUGiQDGw7beBv5CaD8A/ipPuEe1ISL+MEOrAdanr8+LUVdVG0ZOHkvrcEQwFtpo4uCY2u6QXrJSM3BwqkkpUJuOVnqgplusaXAZBKrv7EgEw80n9NSIEg9GCZVQp8yur7o/YGksy2mOZjRR4+eYHtnBBtgPFR2ztpCmg==
# -*- 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()
b5bb16e70421ae818c7ce11d606fc944805085b614f669169f3273f7bf79978e : JASP-0.19.3.0-MacOS-x86_64.dmg
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
50158ba5ed67404d75985aaab824adde9021cfcbff65386a11743bc3bf374990 : WAPT/control
e9d937f848a07770c101a880f1ac1c2209da2add443a156d79cec14f5bf00653 : WAPT/icon.png
6ced972ef888560641bda7cde59b6c255f51fd9649956efab3e197561de37a97 : luti.json
dcb301e784f8215c88d6464e1d962b6247cd528634f972d9ae34357eef96455b : setup.py
95304d78832c4a6fbd4e80d3c217a38236cb79cf266ee21356ec139000dfdd92 : update_package.py