tis-python39-tranquilit

3.9.19-10
Paquet pour tis-python-3.9-tranquilit
2873 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-python39-tranquilit icon
  • package : tis-python39-tranquilit
  • name :
  • version : 3.9.19-10
  • categories :
  • maintainer : sfonteneau
  • editor :
  • licence :
  • locale : all
  • target_os : linux
  • impacted_process :
  • architecture : x64
  • signature_date : 2024-09-01 13:00
  • size : 50.86 Mo
package           : tis-python39-tranquilit
version           : 3.9.19-10
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         : linux
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      : db97f215-e6c4-45b1-bdb0-6e20e6989d32
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : ImnpgCbJjj1C6KfJboSa7+JDllt8y5JA5St0h9N0dtODm7V+LBBnPu+8dYifDUFIWFsBRjKtSqHX4ja5GeZGBg7crIdM8PX7xKKO5MpLYRp3y7sXwrPEXewI8VdiaNMJXQhXzHaAwu471OoZhf5sWP5sstMBSiotvvncL1onLizePDkP5tTLo8cnF1YfBNLIby7CQU5wR5ZAkA8npyA/M7bSKJUNCSlqPTM4XDeRMGRGL8roJcvkb7kL3JMv4EGv4Z5G9lKfaVpX5rU5dVVaThzGuVx0F/iRHrdXFTV+HySzXSvYC2Oe5Wu7ougjO0Vy1ud00Gx2aPhzYQlonK71bg==
signature_date    : 2024-09-01T13:00:39.968042
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 *
import glob

def install():
    mkdirs('/opt/python39/')
    f= glob.glob('*.tar.gz')[0]
    python_version = control.get_software_version()
    run('cd /opt/python39/ ; tar -xzf %s' % makepath(basedir,f))

def audit():
    python_version = run('/opt/python39/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

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.1.6' 
 
    filecopyto('patch_p11_attr.patch','/root/patch_p11_attr.patch')

    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/python39/ .' % (basedir,python_name_file))
    
    control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()
c79da4f2da395bcec855181a1fa384b599bd2239d158c2d1c5dac4e894d65e03 : setup.py
 : __pycache__
6b9a76c03f276f591942d3354e3fb5d00cf1b2b444e68c2aaa30a4c40d6990d2 : step1_compile_python_create_debootstrap.sh
15458f5cb03f598b2d99874f7ad02b47f99c825566e347e2977f1639547b1e68 : step2_compile_python_in_debootstrap.sh
4e28c1e1fc25f6ff4c00dec2a697418891083c0cb2619543d701b381f29d1b86 : update_package.py
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
e5860d104c970632adf227628eb3c8ebfdf7b7b854144051f625fa0edd5ed60c : luti.json
a7ce2bf02e16854e28d281796caccd9c9b7e8dcb015014ee9da7a549ab18804c : patch_p11_attr.patch
4087a9f2ed9161fe4361597c92b24718f7fbdfe78b20e4482fb14aa1aeb0198f : python-linux_x86_64.tar.gz
7e45f4a8d1d5706a729058df4cc18e64f7f507f8bd8ac69a79de8049aadbb4b0 : WAPT/control