tis-python310-tranquilit icon

tis-python310-tranquilit

Silent install package for tis-python310-tranquilit

3.10.16-10

  • package: tis-python310-tranquilit
  • version: 3.10.16-10
  • maintainer: sfonteneau
  • locale: all
  • target_os: linux
  • architecture: arm64
  • signature_date:
  • size: 60.64 Mo

package           : tis-python310-tranquilit
version           : 3.10.16-10
architecture      : arm64
section           : base
priority          : optional
name              : 
categories        : 
maintainer        : sfonteneau
description       : Package for tis-python-3.10-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.10-tranquilit
description_pl    : Pakiet dla tis-python-3.10-tranquilit
description_de    : Paket für tis-python-3.10-tranquilit
description_es    : Paquete para tis-python-3.10-tranquilit
description_pt    : Pacote para tis-python-3.10-tranquilit
description_it    : Pacchetto per tis-python-3.10-tranquilit
description_nl    : Pakket voor tis-python-3.10-tranquilit
description_ru    : Пакет для tis-python-3.10-tranquilit
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 0bd99122-e27a-44e3-af3d-3e8605295026
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    : 2024-12-08T23:58:06.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         : gGYtIUfhHXwAhwJ9N/FnRjbZOnKRF6o36NLHwx14V7Azkb177/PkxNdwQaVe/1Ut2/7xa64X0MBWflPKZfJ/I9Zg5HtXmas9oyKU70SKxWRoN6EjZqFz6fj+27sxz6J7Sjc8gBhj+xkLtfGkisvZKwujPbeSFcmszIGg7ZTqCw5+zjrVQa90LHgQAqDMtOIZH3s65UPkd9LV0H7Xm8PcPEW/X9Udc9J80iMbRySc+it91rRsPp5W5RkODY8UcsIyAdI6v3Bng6q4U5oZkYjUUxcxcOpwauXpyhNz+WYnSNq5Hoz0KVRWr8a49DsdZqsT5la4oHNdoI4lZiDY6U+k5g==

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

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

def audit():
    python_version = run('/opt/python310/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.10')]
            if v:
                versionpython = v[0].split(' ')[1]
                break
                
    openssl_version = '3.1.6' 
 
    run("chmod a+x *.sh")
    run("bash step1_compile_python_create_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 /root/python_builddir/opt/python310/ .' % (basedir,python_name_file))
    
    control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
b7e73368fa5f234abe9a5866134691bdbc75e942ac315bef18618ee50ed1b1b5 : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
a0fd51a56cc1fc0b1257188f28729d0a1e7a9b5a5a28b94f9b6d3e805fe281dd : luti.json
bcf77f88adf3f9d9df83bc62d90109d91c5393df1743c31014bf54884c71a4c4 : python-linux_aarch64.tar.gz
1d1f4915bee0aa846b3adff0599b922bca7ff927b0dc9e519b16d38322eb9213 : setup.py
f1db9c6d24b69d58166f0ab4fadb41ea342466e743618f35bd57945060012597 : step1_compile_python_create_debootstrap.sh
3d17fec5e50a5d48e7b3006ddfd4e152ca427aed7d004ecaaba5050b5f89d407 : step2_compile_python_in_debootstrap.sh
59ae71c7301105e117945c5ca0cdc6e8b7ae723fe89a55bb1250055b065ca0a6 : update_package.py