tis-python38-tranquilit icon

tis-python38-tranquilit

Silent install package for tis-python38-tranquilit

3.8.18-25

  • package: tis-python38-tranquilit
  • version: 3.8.18-25
  • maintainer: sfonteneau
  • locale: all
  • target_os: centos8,centos-8,almalinux8
  • architecture: x64
  • signature_date:
  • size: 55.90 Mo

package           : tis-python38-tranquilit
version           : 3.8.18-25
architecture      : x64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : sfonteneau
description       : Package for python 3.8 install in /opt/python38
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : centos8,centos-8,almalinux8
min_wapt_version  : 2.0
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      : e970f379-86c9-4108-81de-e0629e1151bb
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : qFRHyO40O9gtYMsIitc7h3dNPMytBNZnldU52OAeMhYRq+Ucf8/4c/b8tqoznc8RlDgwBEpgU2wKvYz/dPrAMmSUnxk1/UE9cjf4WlheDPQ7rT9e60vwmBda5Dx+G/N9cli21vbycXU9ZnYGknXu9mYnu3aFX4iLadTr0I5xQVLwEWW5YtMziBPHc2dHXMUgZ8g2hhTJrd4JYquSTvmuiSn2HjNMIqPfbePYgPg87HhhXSTvEw7/1XHUXidtUtCAEnyW5drfENeSkBd6wpWaVHTeU1VaMOZG7z3r6dIqGzvdAcp710JpSYkS5oZTz8BqlPaBNyCY7IHfbWMofXXkcw==
signature_date    : 2023-10-04T03:11:57.698728
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

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


def install():
    mkdirs('/opt/python38/')
    python_version = control.get_software_version()
    run('cd /opt/python38/ ; tar -xzf %s' % makepath(basedir,'python-%s.tar.gz' % python_version) )

def audit():
    python_version = run('/opt/python38/bin/python3 -V').split(' ')[1].strip()

    if Version(python_version) != control.get_software_version():
        print('version install : %s' % python_version)
        return "ERROR"
    else:
        return "OK"

# -*- coding: utf-8 -*-
from setupdevhelpers import *
from waptutils import CustomZipFile
from waptutils import create_recursive_zip


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.8')]
            if v:
                versionpython = v[0].split(' ')[1]
                break
                
    openssl_version = '3.1.3' 
 
    run("chmod a+x *.sh")
    run("bash step1_compile_python_create_debootstrap.sh %s %s" % (versionpython, openssl_version), timeout=7200)
    run("bash step2_compile_python_in_debootstrap.sh %s %s" % (versionpython, openssl_version), timeout=7200)
    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/python38/ .' % (basedir,versionpython))
    control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

14f0bd8cda7ba17f0227258b9ce256b25a1c36f8b92fe69f1ab27217867ae103 : setup.py
c81b1ed60724986d309cd244c30ed3233e36f0ea4a23fc5dd44d434968bfec61 : step1_compile_python_create_debootstrap.sh
523ec0c3a747e9960335805a5dce56ec19a0e6a46b1f08add70512231b8df7ed : step2_compile_python_in_debootstrap.sh
3766309050c50ef52d9f86cb57be598d327c925129819df8ffb5580e4246e29e : update_package.py
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
0da0a81d765f17e6295df7af177e88f9d1845c6549c363f06496281a4e4f1fe8 : luti.json
af07880837ca1cc76c2f5c7d47d89962b760cb61efc2e751471a2d3d689e6ab2 : python-3.8.18.tar.gz
a68b1eee3354e975630ba63ac0b16eb905ee19b15bc830a569bebc5297f11e78 : WAPT/control