tis-wapt-python39-relocatable icon

tis-wapt-python39-relocatable

Paquet d’installation silencieuse pour tis-wapt-python39-relocatable

3.9.23-36

  • package: tis-wapt-python39-relocatable
  • version: 3.9.23-36
  • maintainer: sfonteneau
  • locale: all
  • target_os: centos7
  • architecture: x64
  • signature_date:
  • size: 54.87 Mo

package           : tis-wapt-python39-relocatable
version           : 3.9.23-36
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : sfonteneau
description       : Package for tis-python-3.9-tranquilit
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : centos7
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      : 8ea1f45a-70ba-4f07-bac6-08982b579ac3
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-06-08T22:02:30.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         : kDJfYdeJh1fqfbk68SyXa6vbb09qOTdlF6KZ0WvtgVeGuN4rbRLE45mpZwg6ZI7aOc5IdQtnOllR/0j/b7JWbsSw5lrJ7cCumLzgtcg4d9dFdCs/XPvC+kLGL3yPiVKp0xlCgSHQ8thJ4sAOIQkHMijsa9p1a3gIQe9xXs4DZx/hcLXdhgklpBPeeamxtN/MLs079rcZ283tb72wLvTJhjmsVP5DgJy2m+6Gk6s+HG75R1iho3RvhSbq7MPE8pz1y+GFgWyOs0aqxOwZJ83ZQ9VefftidPBqvBFoldA6oY9v95cPiLxI0/LDPHdBJbwb9c0fFsFdAVJqPUpur+jtog==

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


def install():
    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() + '_' .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.0' 

    run("chmod a+x *.sh")
    run("bash step1_compile_python_create_debootstrap.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    run('rm -f /usr/lib64/libgdbm*')
    run("bash step2_compile_python_in_debootstrap.sh %s %s" % (versionpython, openssl_version), timeout=1200)
    remove_file("step1_compile_python_create_debootstrap.sh")
    remove_file("step2_compile_python_in_debootstrap.sh")

    run('tar -zcf %s/python-%s.tar.gz -C /opt/wapt/ .' % (basedir,python_name_file))
    
    control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
c9e5a5802451423987b33b7caa0f71f75f97d7b6dbdd2ca5658097d47ade5d73 : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
124fe2dd0a5af9feed06b3a7888d3ce4786bc54e3f832161568ad75db4ab3896 : luti.json
6b9ce6ba3912c731554a6cee1baed5583ba52b7ffc388d3f76ab068d535e8fb9 : python-linux_x86_64.tar.gz
7d4e0fbb93ff533c06e9931eb5fff1f65abcafe34d58202b95b33d8b3a6734e5 : setup.py
7dfd63706ce23304482abdd2507655cc672265d72b9b387f8d041d2e27f1e3de : step1_compile_python_create_debootstrap.sh
36f9b1cc669d385df85a6b132bd794e954e3284450f34cd252763bb07ddbbe8e : step2_compile_python_in_debootstrap.sh
a97a8c4baa2b4b775cc252c965c2c416562eef08bc64b3ff9bcd9f3c2bb6973c : update_package.py