
tis-python38-tranquilit
Silent install package for tis-python38-tranquilit
3.8.18-12
- package: tis-python38-tranquilit
- version: 3.8.18-12
- maintainer: sfonteneau
- locale: all
- target_os: centos7
- architecture: x64
- signature_date:
- size: 51.34 Mo
package : tis-python38-tranquilit
version : 3.8.18-12
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 : centos7
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 : 7bb4b1ec-81b9-464b-8a19-5a46d12b128f
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : styLBV1u4oLtpYOETqZGmlkoiwD6375NGZ5T9vlAtyp/FYb4iNTGxr0g+kVqt2mFFHblUN8qNVA95/H/HEMwu8n1Xac88RsOjoenwATYqN83LQ4Oz4365MeytbBO8yoWqB2YLirbZcy9tKqJmi4GsPS7h3juXim0wm8K6pVbXUkUvUIvr/hr+bQ/rhZgTbYOiYLMfobsFDreX8FUWvSgAMhXSxw82Ivn0Nz1vrZFj+PThdXYNxpLyIjqyZxHEklXf7qrqbkVnvO+7u3XCbVvxQ+IH/6wBDZQRLxGAL2S12Eh/zawW/IwXL+hv8kxenChNYZsXpd53dn/Luvc8+Gl2A==
signature_date : 2023-10-04T03:13:26.243931
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'
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=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
2234ff6d2b73e7a832f44c65477979e1f0f6ee011e24f23f97fe63d63d1b78d1 : step2_compile_python_in_debootstrap.sh
c320108fbbf93be23972455c7840063329385b53073ca1bc1e2594f520a57cbc : update_package.py
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
f6d03d6ecade87297a61ec8777d6b5c87bc66abc4d2a7bcfd9e3c1bc68893645 : luti.json
a7ce2bf02e16854e28d281796caccd9c9b7e8dcb015014ee9da7a549ab18804c : patch_p11_attr.patch
c2192911f26863e6911996cca26009a0ed83199b90ac0de1346624836cb00bc2 : python-3.8.18.tar.gz
08ce1709d30930bb55f44d92767b2c8f954b8c3d9a54e971efaf55f4c2db048f : WAPT/control