
- package: tis-phoronix-test-suite
- name: Phoronix Test Suite
- version: 10.8.4-0
- categories: Utilities
- maintainer: WAPT Team,Jimmy PELÉ
- editor: Michael Larabel,Matthew Tippett
- licence: GNU GPLv3
- locale: all
- target_os: windows
- architecture: all
- signature_date:
- size: 7.82 Mo
- installed_size: 16.54 Mo
- homepage : https://www.phoronix-test-suite.com/
- depends:
package : tis-phoronix-test-suite
version : 10.8.4-0
architecture : all
section : base
priority : optional
name : Phoronix Test Suite
categories : Utilities
maintainer : WAPT Team,Jimmy PELÉ
description : Phoronix Test Suite (PTS) is a free and open-source benchmark software.
depends : tis-vcredist,tis-php
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.0
sources : https://www.phoronix-test-suite.com/?k=downloads
installed_size : 16539648
impacted_process :
description_fr : Phoronix Test Suite (PTS) est un logiciel de benchmark gratuit et open-source
description_pl : Phoronix Test Suite (PTS) to darmowe i open-source'owe oprogramowanie do tworzenia benchmarków
description_de : Phoronix Test Suite (PTS) ist eine freie und quelloffene Benchmark-Software
description_es : Phoronix Test Suite (PTS) es un software de referencia gratuito y de código abierto
description_pt : O Phoronix Test Suite (PTS) é um software de referência gratuito e de código aberto
description_it : Phoronix Test Suite (PTS) è un software di benchmark gratuito e open-source
description_nl : Phoronix Test Suite (PTS) is een gratis en open-source benchmark software
description_ru : Phoronix Test Suite (PTS) - это бесплатное программное обеспечение для бенчмарков с открытым исходным кодом
audit_schedule :
editor : Michael Larabel,Matthew Tippett
keywords : benchmark
licence : GNU GPLv3
homepage : https://www.phoronix-test-suite.com/
package_uuid : 51a58f79-1c83-4ae7-8411-ad96f538f85f
valid_from :
valid_until :
forced_install_on :
changelog : https://github.com/phoronix-test-suite/phoronix-test-suite/blob/master/ChangeLog
min_os_version :
max_os_version :
icon_sha256sum : b9077fb97d86ffa5bb9390dd5856519fed48270813fe6aa80ad808ffc54322d7
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-10-06T14:04:23.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 : sPGQa/Bx8CSbAjLKTJIIAbpfk55V3bvYMArRyZ0rwuLTOb+AFDNJsGy1j/+g/VeN4xtV306FEn48Ah1Vqbc3fW78hkr5+mPzsBOEiPwCwsT2O6vBY3mUMwcy8cHJJ3M3co8IKsA68nTY/uUwGGOA3tewSna3Y4Qkjd6iVd9hKzAXljPKOp6IELHOedTkH3fs+tezqjhDMm+SJfOQe0JW8Is3GmJojrUYaINCa9EvdAfEw8Us9pLFh8WLUmaQX+/6mkg8TVnWgaDrwn2hAV7LMl8/f3Rjwnfx6J4cS3Dv1QM67lugJJi+wFcbhQdZP0gJCEGq3JkcztF4hmK5FT9bog==
# -*- coding: utf-8 -*-
from setuphelpers import *
# Declaring specific app values (TO CHANGE)
app_real_name = "Phoronix Test Suite"
app_dir = makepath(programdata, "phoronix-test-suite")
cmd_path = makepath("C:", "Windows", "System32", "cmd.exe")
# phoronix-test-suite benchmark c-ray
def install():
version = control.get_software_version().split('-')[0]
# killalltasks(app_exe)
zip_file = glob.glob("*.zip")[0]
# Installing the package
if isdir(app_dir):
remove_tree(app_dir)
unzip(zip_file, target=fr'{app_dir}')
## os.rename(makepath(programdata, "phoronix-test-suite-%s") % package_version, app_dir)
print("Add pts bin to system path")
add_to_system_path(makepath(f"{app_dir}", f"phoronix-test-suite-{version}"))
# Create icons
# C:\Windows\System32\cmd.exe /K "phoronix-test-suite shell"
icon_file = makepath(f"{app_dir}", f"phoronix-test-suite-{version}", "pts-core", "web-interface", "favicon.ico")
icon_target = makepath("C:", "Users", "Default", "Pictures", "Icons")
if not isdir(icon_target):
mkdirs(icon_target)
filecopyto(icon_file, icon_target)
create_desktop_shortcut(app_real_name + " Shell", target=cmd_path, arguments='/K "phoronix-test-suite shell"', icon=r"%s\favicon.ico" % icon_target)
def uninstall():
# Uninstalling the package
if isdir(app_dir):
remove_tree(app_dir)
remove_desktop_shortcut(app_real_name + " Shell")
print("Remove pts bin to system path")
remove_from_system_path(app_dir)
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "phoronix-test-suite/phoronix-test-suite"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
version = json_load["tag_name"].replace("v","")
url_dl = f'https://github.com/{git_repo}/archive/refs/tags/v{version}.zip'
filename = json_load["name"].replace(" ","-") + ".zip"
if not isfile(filename):
package_updated = True
wget(url_dl,filename,proxies=proxies)
#nettoyer les fichiers temporaires
for f in glob.glob('*.zip'):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
return package_updated
1eb0278d43c46bb1a372658a7c72f4f3c8a8bd5664a38d02f1070a00a5ac418f : Phoronix-Test-Suite-10.8.4.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
469d35133b6bd54572c9674954df18b0bad22fbff44bb81f75278fce7becf179 : WAPT/control
b9077fb97d86ffa5bb9390dd5856519fed48270813fe6aa80ad808ffc54322d7 : WAPT/icon.png
94b45b43a81a260b0d735e2b0ee182e8dc56fc9dd8392edca11383ab6cf8576b : luti.json
41d1a2348650b5293b8c2d2193fc31ac0a816caea09f983b2f3438d7f30e7cde : setup.py
8e9d0db85c9451e168e97978dcdcc121c34e09380053afdd7e50625b55e37cb5 : update_package.py