tis-conan icon

Conan

Paquet d’installation silencieuse pour Conan

2.25.1-1

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-conan
  • name: Conan
  • version: 2.25.1-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x86
  • signature_date:
  • size: 13.49 Mo
  • homepage : https://conan.io/

package           : tis-conan
version           : 2.25.1-1
architecture      : x86
section           : base
priority          : optional
name              : Conan
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Open source, decentralized C/C++ package manager (MIT)
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Gestionnaire de paquets C/C++ décentralisé et open source (MIT)
description_pl    : Zdecentralizowany menedżer pakietów C/C++ typu open source (MIT)
description_de    : Dezentralisierter Open Source C/C++ Paketmanager (MIT)
description_es    : Gestor de paquetes C/C++ descentralizado y de código abierto (MIT)
description_pt    : Gerenciador de pacotes C/C++ descentralizado e de código aberto (MIT)
description_it    : Gestore di pacchetti C/C++ decentralizzato open source (MIT)
description_nl    : Open bron gedecentraliseerde C/C++ pakketbeheerder (MIT)
description_ru    : Децентрализованный менеджер пакетов C/C++ с открытым исходным кодом (MIT)
audit_schedule    : 
editor            : 
keywords          : 
licence           : MIT license
homepage          : https://conan.io/
package_uuid      : 8b2fb11e-0a27-45a9-9e22-77d556061126
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-01-29T15:58:17.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         : IF1o19tBY9+0hLLeKAi6hvzo0oxJq8uOgD5EydTlmNppoqRD0xAdOy+lRGoVfcFtr8K9uf7IewuJ7lKQBlCyt5fiVdaiEWO0sRdFkDknHe3TonV8rkshQLMcmJNyXWab5scImpydhGURwLNQ93Kvy2n6a37hsqYAldOhmhAt1XNpLRaEUcyaiUX9LWiUyZcl3ncFFoDCn6C/TZSZRD4fm2H1rEtXYnKTtSpD2hah/z4I33pBvQZe8dJMjbec4TIeFdn6t+DPY95qA0W0R0arocs2V4GcPhyPT4Zwhd8k+QgvwVxG8TiIstPeRFXbp7ZLLAoVA+HWntnbRXVSckf63w==

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

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"Conan Package Manager_is1",
   "name":"Conan Package Manager version 1.65.0",
   "version":"1.65.0",
   "install_date":"2024-08-14 00:00:00",
   "install_location":"C:\\Program Files\\Conan\\",
   "uninstall_string":"\"C:\\Program Files\\Conan\\unins000.exe\"",
   "publisher":"",
   "system_component":0,
   "win64":true
  }

"""
# 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('conan-*.exe')[0]
    # Installing the software

    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART',
        key='',
        min_version=control.get_software_version(),
    )

def uninstall():
    killalltasks(ensure_list(control.impacted_process))
    run(r'"C:\Program Files\Conan\unins000.exe" /SILENT')

# -*- 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():
    result = False
    proxies = get_proxies()

    if not proxies:
        proxies = get_proxies_from_wapt_console()
    dict_arch = {
        "x64" :"-windows-x86_64-installer.exe",
        "x86" :"-windows-i686-installer.exe"
    }
    git_repo = "conan-io/conan"
    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"]:
            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)
    version = get_version_from_binary(filename)
    control.set_software_version(version)
    control.save_control_to_wapt()

    

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9a9809c4a00ade0cbe800d6489953b1bea7fabf9fb318d600e97cac8ffccc58a : WAPT/control
b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33 : WAPT/icon.png
0c8620b1bdb83df922c70b81c7a3454b3bef5dd128486714ccfab52eb139df9e : conan-2.25.1-windows-i686-installer.exe
1990c489df020f73e17d8b45eb29f187f9084860d5f44cdec3e1a890ce528348 : luti.json
0b33ebd80cd1d64965bf84f2973a5aeef9b02b3602b640ad50c5adbd69bb8688 : setup.py
d2fdd26fdfac059c6b75e757034c0ae7481e9a4a60ec79f6d8de260886c9bee2 : update_package.py