tis-conan icon

Conan

Paquet d’installation silencieuse pour Conan

2.25.0-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.0-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.0-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      : 534b2ba7-43f5-4403-821c-278d3fa5c990
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-28T07:40:25.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         : gLpS//Q2pR5Y+4kIUpfnmAVPuSxolxJN25xnHxxRB7draB6rpFdWZJLV3d3+4QmZZJ5Kn0vk7KmE/xwchdnUIw2ca3B6ekUgBhO/9reWv9JgF2agSdzRs37lKefJgz9GMo71R6tL1+wbc/47RRqrwigE3PfKuDyK9bFi1SPTNUXP4WZ+bgetiTfD9F00A2GvTJ95SEteYp0S6Jt3+dohxFa7UeTgaSVq/2qvbCepbzjeCquttVWD68UFqqbrWXtbNNiPrwXrMWHTulovFTu/KmcJP3OM6CL4l++AJXp0Djhdhn0TelU27GBJYZuLQes0CRJDXg1zI4DQW6uW8bACOA==

# -*- 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
04d99e1103417814d6d3bfbfcd34558019985e141331cf27b9ee23096939f7a0 : WAPT/control
b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33 : WAPT/icon.png
9a414364f28ca8a2b8b82d9fd7bdff5dab93912ebc184fab9adf44c703e3be04 : conan-2.25.0-windows-i686-installer.exe
36d6bd3f4c496d8197a53c83ec6cd878d20d4a996f28eef43784df6aa0e42a2b : luti.json
0b33ebd80cd1d64965bf84f2973a5aeef9b02b3602b640ad50c5adbd69bb8688 : setup.py
d2fdd26fdfac059c6b75e757034c0ae7481e9a4a60ec79f6d8de260886c9bee2 : update_package.py