tis-wapt-python39-relocatable icon

tis-wapt-python39-relocatable

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

3.9.21-36

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

package           : tis-wapt-python39-relocatable
version           : 3.9.21-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      : b291dd9b-9c0f-470d-a9ea-e8b9c39561a8
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-12T17:55:17.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         : W6l+9qK4gKsGBfEWt0XCAc2Y/ifd7udGUgHmmAZ53NkdRvrxQAxsBNyh+7aQ3m809MjCjhmzZ0CPMfn1btLzjBx5NwkNva6x+lBPQSCGAGS8VsIJZ/jxkSymrkcpmaJSDcTwqZFidOSS+wq37Pzg/yNeLRkd29aRr+Hvq5EHa7CNLY3iRqR3ESZ0G+uBAkQNz3IOsKsFE4b4YZffICuxGFflCr/UPbR5yBuplPXBoB6HlxAp80CBjLjz1TmFUY3Du8UnnQ+hscmvJJfuB4kaQMEwG9sd8IIE8TMVnJzGAQwK6s0JXb9vd6Rue+DpPy1lDdypRELL6ws5kqqVzX3f9w==

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

    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
e5489552df5019acbceeacdcb128914f50a4458d6e1a48fb3f4d241ac70fd117 : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
356c6664a93eeb04f678da81eebb47356f180c5b1eb8b156ce55307bf62c31d6 : luti.json
f25a79faffaaf89129b9826f635a3caa6458cdcd0dc197a72131d815f8ecf547 : python-linux_x86_64.tar.gz
7d4e0fbb93ff533c06e9931eb5fff1f65abcafe34d58202b95b33d8b3a6734e5 : setup.py
203afca56f833f31853cf2b88609067d5a0790183043636377013223ff00e79c : step1_compile_python_create_debootstrap.sh
11ae7a38cd7dc8d8250d9e17e1f4baaf7065824b78d83f6c5b595f3c3bd3a82b : step2_compile_python_in_debootstrap.sh
83eaf65bfb43a4dbf41d37aeb3dfcdd3fe097abbaeed9ba259b81cf664353d23 : update_package.py