tis-wapt-python39-relocatable
Silent install package for tis-wapt-python39-relocatable
								
								3.9.25-37
								
							
							
                                    Preprod packages are packages built on LUTI.
                                    They remain in PREPROD usually for 5 days, after which a new VirusTotal scan is performed.
                                    
                                    If the package passes this last check, it is promoted to PROD and published on the store.
                                
- package: tis-wapt-python39-relocatable
 - version: 3.9.25-37
 - maintainer: sfonteneau
 - locale: all
 - target_os: macos
 - architecture: x64
 - signature_date:
 - size: 44.13 Mo
 
package           : tis-wapt-python39-relocatable
version           : 3.9.25-37
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : sfonteneau
description       : Package for tis-python-3.9-tranquilit
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : macos
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Paquet pour tis-python-3.9-tranquilit
description_pl    : Pakiet dla tis-python-3.9-tranquilit
description_de    : Paket für tis-python-3.9-tranquilit
description_es    : Paquete para tis-python-3.9-tranquilit
description_pt    : Pacote para tis-python-3.9-tranquilit
description_it    : Pacchetto per tis-python-3.9-tranquilit
description_nl    : Pakket voor tis-python-3.9-tranquilit
description_ru    : Пакет для tis-python-3.9-tranquilit
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : fc10e077-f442-45f6-a27d-dd53bf7f248b
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-31T23:33:02.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         : IFnlJYgepvVxsYRjCICifUtD9JqW5AVR8U/gSMzHvNpTJHicgJqubYieKcVxZXUIlvom5m8n565a8I9bujT34/HWTIzTcOJW+AOH6iUfB7+DtthAor1qFQuqWQbzZQkDwyUo+p7W/WH/Iz8+9epA9pShMAc/8S0ml6az9qNlgssr5C0R+9OOPormkoY2ni6XJ2I7YeL8shYIqRHjy6m2OxgQRR6LQZBRR6HqGJARtRvAJQXDF2QIMR9339F0C0bEEcTLVprfuXMxoTSrxjDoejopQi3LGefXA/LOxmI953SeybLj3XbBucOpUtTWKBDviRKQQopuord1aV3/MI4NMQ==
                        # -*- coding: utf-8 -*-
from setuphelpers import *
def install():
    pass
def uninstall():
    pass
                            # -*- coding: utf-8 -*-
from setupdevhelpers import *
from waptutils import CustomZipFile
from waptutils import create_recursive_zip
import os
import distro
import platform
import time
python_name_file = str(platform.system().lower() + '_' + platform.machine().lower() + '_' + '_'.join([u.split('.')[0] for u in distro.linux_distribution(False) if u][:2])).strip('_')
def update_package():
    colum1 = bs_find_all('https://www.python.org/downloads/source/','div','class',"column")[0].findAll('li')
    versionpython = None
    for entry in colum1:
        if versionpython:
            continue
        if not hasattr(entry,'contents'):
            continue
        for i in entry.contents :
            if not hasattr(i,'contents'):
                continue
            v = [t for t in i.contents if str(t).startswith('Python 3.9')]
            if v:
                versionpython = v[0].split(' ')[1]
                break
    openssl_version = '3.5.1'
    run("chmod a+x *.sh")
    run("bash step1_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    if os.system("bash step2_compile_python.sh %s %s" % (versionpython, openssl_version)) != 0:
        error('buildfailed')
    remove_file("step1_compile_python.sh")
    remove_file("step2_compile_python.sh")
    filecopyto('/tmp/python.tar.gz','python-%s.tar.gz' % python_name_file)
    control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()
                            01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
411f3a0fb472bdbeae09a90641c1a2a070ecb52818dc64a93ca23201163d242b : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
1406f9b7b0f711955a2a755efb9c53e4f1d26fb84e8f939deab2770d734ea20f : luti.json
198e2788c9cc35b56397bf62bc50ac9af6a2543e2e20efe88ed758795bea7ee6 : python-darwin_x86_64_darwin_21.tar.gz
119c7fcf6fa446e849ffe55a269d3c28b0d9223a2d9640182d97fd0eeb1f717a : setup.py
432f5efd9a13af7e3c6707b8f9c8167f48bb1a7cdeb385052f166ea75d23e7b4 : step1_compile_python.sh
efd683345bd2bfc7605247f5680c7714501e289c91cfc433468da05d2a8adce4 : step2_compile_python.sh
8bbe43d41290522cae77107b9e8ae1f92dfbfe438cf432c72eeabed6b6d3a21b : update_package.py