
Tribler
Silent install package for Tribler
8.0.5-1
- package: tis-tribler
- name: Tribler
- version: 8.0.5-1
- maintainer: Amel FRADJ
- licence: GPL-3.0 license
- target_os: windows
- architecture: x86
- signature_date:
- size: 32.28 Mo
- homepage : https://www.tribler.org/
package : tis-tribler
version : 8.0.5-1
architecture : x86
section : base
priority : optional
name : Tribler
categories :
maintainer : Amel FRADJ
description : Tribler is an open source anonymous peer-to-peer decentralized BitTorrent client
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version :
sources : https://github.com/Tribler/tribler
installed_size :
impacted_process :
description_fr : Tribler est un client BitTorrent décentralisé, anonyme et peer-to-peer
description_pl : Tribler to anonimowy, zdecentralizowany klient BitTorrent typu peer-to-peer o otwartym kodzie źródłowym
description_de : Tribler ist ein quelloffener, anonymer, dezentraler Peer-to-Peer-BitTorrent-Client
description_es : Tribler es un cliente BitTorrent de código abierto, anónimo y descentralizado
description_pt : Tribler é um cliente BitTorrent descentralizado peer-to-peer anónimo e de código aberto
description_it : Tribler è un client BitTorrent decentralizzato peer-to-peer anonimo e open source
description_nl : Tribler is een openbron anonieme peer-to-peer gedecentraliseerde BitTorrent-client
description_ru : Tribler - анонимный одноранговый децентрализованный BitTorrent-клиент с открытым исходным кодом
audit_schedule :
editor :
keywords :
licence : GPL-3.0 license
homepage : https://www.tribler.org/
package_uuid : f487efe8-b6dd-42ec-bebb-a489920f0f4e
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 7f6717c0df5423cc278ec9de4c7d2dfb8eee7e4bcaf0c8425835c7eca9e9387e
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-12-04T09:00:10.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 : pQ9ArDfbBL75V6UjqP0DskgMmWjU1OLD/OVuBtNzmn71ONcDFzrsJZdJHeMd4sNh6PPRJFo2ekqzfNjtvSmqMiVshCBgCn8KOE2043+jdesSn+iBIwOZSpaNGJPjSgvc0Qr/KzB2V1TDiarkPirVndDcCqV0fWXHIaAhk5Y+wAbQV4KiHr0X75MoV4TCFisHwXB3tbasogpUN/4XTubBSpJV3rVj8o9t9IVZe4Rbaz7hLnDmUiA+xZ3+SxX2Mmlx8n1TKiBKH+n/9OjKkmT5kzLHPl1NmIqNKGsNHQGNvbtTV+uyntn81+VOvZWV3JVDVYQJYlVBc7v56E5RcDqMSQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def install():
# Declaring local variables
bin_name = glob.glob('Tribler_*.exe')[0]
software_version = control.get_software_version()
# Uninstalling older major versions of the software
for to_uninstall in installed_softwares(name="Tribler"):
if Version(to_uninstall["version"], 2) < Version(software_version, 2) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.impacted_process.split(","))
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
# Installing the software
install_exe_if_needed(bin_name,
silentflags='/S /allusers',
key='Tribler',
min_version=control.get_software_version(),
)
# -*- 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()
dict_arch = {"x64": "_x64.exe", "x86": "_x86.exe"}
git_repo = "Tribler/tribler"
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))
for download in json_load["assets"]:
if download["browser_download_url"].endswith(".exe") and dict_arch[control.architecture] in download["browser_download_url"]:
if "debug" not in download["browser_download_url"]: # Skip debug versions
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
filename = download["name"]
break
if not isfile(filename):
package_updated = True
wget(url_dl, filename, proxies=proxies)
# nettoyer les fichiers temporaires
for f in glob.glob("*.exe"):
if f != filename:
remove_file(f)
control.set_software_version(version)
control.save_control_to_wapt()
3183914c29ac692c10b9c1d82419506e15ef23b940c7577e33c32d80cf822a88 : Tribler_8.0.5_x86.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e9a73965f258d53da142cb3c345baf052e9675ce65e36e78a7fbe84652fc7c38 : WAPT/control
7f6717c0df5423cc278ec9de4c7d2dfb8eee7e4bcaf0c8425835c7eca9e9387e : WAPT/icon.png
e2e383ae0fad2a4efc9f0289e16eb47162d4ff0ef03f70e56175acad1184763e : luti.json
95be2a54fb2ace2e360f06c59006ad4cef75adf40f39a52e99c2c4912ba85d37 : setup.py
62c78e2bc1ae8e68a99b1530e5ce1a0d6636a48ed2a02a9a7ce9b14c7da07a0e : update_package.py