tis-phoronix-test-suite icon

Phoronix Test Suite

Paquet d’installation silencieuse pour Phoronix Test Suite

10.8.4-0

  • 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: debian_based
  • architecture: all
  • signature_date:
  • size: 2.36 Mo
  • installed_size: 16.54 Mo
  • homepage : https://www.phoronix-test-suite.com/

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           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : debian_based
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      : 29968806-cf20-4114-a227-3bc05c07e468
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-13T15:00:27.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         : R8hfC+wbKQNXsef/EmSCWRShWJwaf/qxjy86GYmAdXz437cgnMztQq+K9kp4zHMPow39DQtSjlVGUjjlVdydxcLnnehomU8nkDuGIRAwzJxxB/gv/iecf9ojW7AeZc4OkGZxTQApi9kdu54XVYpZawkmr72+LqOXyz/gygrBDjTA4YA+l9weYTaGHr10PbVWUezevAupYIhesXIiO1WH3rvc3rD18f2FiW9Fwo4AfA3gOj52/DAjLFX2H1xF7cawqQEJQbBgmXoCw52vpEJtkuIEc6FsYyPV63258v/Z9fPECqTWPJxUvpgWlGM1OtOIT4NYqrfWwphIpFfdnZJtvA==

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


def install():
    bin_name = glob.glob("phoronix*.deb")[0]
    install_deb(bin_name)


def uninstall():
    uninstall_apt("'phoronix*'")
    autoremove_apt()

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

    # Get data from API
    releases_dict = wgets(url_api, proxies=proxies, as_json=True)
    for asset in releases_dict["assets"]:
        if asset["browser_download_url"].endswith(".deb"):
            url_download = asset["browser_download_url"]
            filename = url_download.split("/")[-1]
            last_version = releases_dict["tag_name"].replace("v","")
            break

    if not isfile(filename):
        package_updated = True
        wget(url_download, filename, proxies=proxies)

    # nettoyer les fichiers temporaires
    for f in glob.glob("*.deb"):
        if f != filename:
            remove_file(f)

    control.set_software_version(last_version)
    control.save_control_to_wapt()

    return package_updated

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d7ea1caa171578902cce32981510c8b494ddd4801607b76cb08fac665fa309ca : WAPT/control
b9077fb97d86ffa5bb9390dd5856519fed48270813fe6aa80ad808ffc54322d7 : WAPT/icon.png
5e2d43bc38224c3e56a5647df70b9b9e1e9d24d1a6d47bc31eb3f9dbdb4bfa3e : luti.json
be81f71fc0382a7725dc88f4a18f013d1c3f6939d440629231d392a11816feca : phoronix-test-suite_10.8.4_all.deb
daf9097afb3bb51fda1162ea39885733008b3e3ea09770cdcbb53c1e65b44de7 : setup.py
617b75f5ab06a760bd88f8fae6eaedb2c4a949a77da8b31dde40bf8721fced79 : update_package.py