tis-wapt-python39-relocatable icon

tis-wapt-python39-relocatable

Silent install package for tis-wapt-python39-relocatable

3.9.21-36

  • package: tis-wapt-python39-relocatable
  • version: 3.9.21-36
  • maintainer: sfonteneau
  • locale: all
  • target_os: macos
  • architecture: arm
  • signature_date:
  • size: 43.07 Mo

package           : tis-wapt-python39-relocatable
version           : 3.9.21-36
architecture      : arm
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : sfonteneau
description       : Package for tis-python-3.9-tranquilit
depends           : 
conflicts         : 
maturity          : PROD
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      : dc4fa8d7-daa4-4816-abf5-a2d8e8655067
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-03-12T16:13:26.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         : bE3rEztEhi2ziZ97AyP+dnbn2VHBw2FLpiL3QAKnSNCe1xbyL1Y3IvL3sxBSRmaS0rW1AkI0Z2EzhPNEZGdOg1CClRfngK2femBOMDEv3bzbL3+8bauM3O4fyjoFjlpnbZ4lF1SxzOCarizZVlGbZ84F73k4vg/UEJTTAvqIfN+C7jf+nLJTlI9MLLUAGZjNxeYdzj3RoaJB9tXlwixqh1FgVowNnqFAat8ixrS4RxbwCRGaBfekLaVUgweVaaNiMtIuoaw6qnNSUMWvTKWJcZTvSjKlE+sa9oWvME3C9xb+Znv2SHqlDYOehI+1ICv1LPSoVbrbn0Z1Q+WPmOXLxQ==

# -*- 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 distro
import platform

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.4.1'

    run("chmod a+x *.sh")
    run("bash step1_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    try:
        run("bash step2_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    except:
        run("bash step2_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    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()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
77685044162919243359b666747b1644cc8f75a4e775ea3e9f5325dce669518c : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
45d6a37758a8064ebff33ef5f91b2bcef5687dffb5bb8962d5f790fe5c656a7a : luti.json
e70da24e09b3bd1f07392425715306b3c78cd4237fe5e6faebbfd5419a97e69d : python-darwin_arm64_darwin_22.tar.gz
119c7fcf6fa446e849ffe55a269d3c28b0d9223a2d9640182d97fd0eeb1f717a : setup.py
0fa2e25f3c4b5d3151e39c13662843c1f45042b27dba485fe415e6edd9088658 : step1_compile_python.sh
db6cb64318970b5acf3c57736e05c1406b78b6b9f62ed1f231dd8fb982709696 : step2_compile_python.sh
09be02823b8ac3059da3c9c07a0ecc81193028e7a4ae4b2855251f8afc5cc3b7 : update_package.py