tis-conan icon

Conan

Paquet d’installation silencieuse pour Conan

2.25.0-2

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-2
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: MIT license
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 14.78 Mo
  • homepage : https://conan.io/

package           : tis-conan
version           : 2.25.0-2
architecture      : x64
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      : 5ef1e5de-c599-49a3-aec6-a6ae6f60595c
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:00:09.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         : ExN+KKxK1PPWJZt3bthZyF3qT/yN8e685W+8e/HrDqEP3KKFGp3lhdzOLf3GhRCQn8v9grhJ0I0zqLnj9JaECNc37NqA0KT8lj9/YOeuUGWwUNx1mcXCABPBpC+2JjuoW2evWuQf2w9adfQQaFsfQhPH4W9p9LVEUiL+tT1WG5kFM3XK1J6YjXtAXrWJrAEOWOT1GZ2ziu3LyNpvfbGEvhCrs7C1fmqJRIMdquJ5VP0lYLgMI+0crvdMzvQK5E6HeWOkn3xgpxZcGHGxZTR4xZzkQYXHN14A/4sdsxMLNpRGN6U1hztRqG6JPNmwBUAXn4uODCIjPwQ05cJaMxoVow==

# -*- 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
27c286681496248f8637dbb69061141389930b73d8a8a230937157f872a26a32 : WAPT/control
b024c403b7e5de0b5b342b1b7d7475e62533bb40d5f8017c496d27bab829fa33 : WAPT/icon.png
a3751663e8ff415d39405d2273e7e278e4c0f2bec613436bc7cf3fc4ed15e09a : conan-2.25.0-windows-x86_64-installer.exe
416f1b8ef27f7d8efe037632ec428d8b2da128af54fc1a991cc6dff72fde1815 : luti.json
c4701b8f67965b993deb7ce8c7f75eaf7401888a0c920dba81d0f0163486db09 : setup.py
d2fdd26fdfac059c6b75e757034c0ae7481e9a4a60ec79f6d8de260886c9bee2 : update_package.py