
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: macos
- architecture: arm
- signature_date:
- size: 39.76 Mo
package : tis-python310-tranquilit
version : 3.10.16-10
architecture : arm
section : base
priority : optional
name :
categories :
maintainer : sfonteneau
description : Package for tis-python-3.10-tranquilit
depends :
conflicts :
maturity : PROD
locale : all
target_os : macos
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 : 56c9ac74-fe83-4ed4-9939-e84c8d0132ca
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-08T22:00:08.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 : EcSaG92b8+cqlPaiXAbG3ymQTAOKIh75iL/YTqGd9fUTgwfXUXf+c/UozybLXmmkuObF+diMb0Xgrt3jDzgLS1OBzf6M9pmOmzVIU3qgrjTWJK9cLtFDJIae9SSY9QZGd8XjrA1ttrbx/d+u1JYE1ZP5hqh2+DSU4NF53lZmPB7UFJHO8okCyDHPOXAii9qUGKVuQbPl3hYMmGmS5pRU2dgjxwkbV73cCONxO3XatWH63NEpCJkGH6oX3fvr/Z4JyWd0u2J/fu+JrLmODP/ExpmtA8c1oSvE23iQzOyH9hK1FYfPm6ESZnVr0NBCakEP9RH+dduPy1Kg6nN+xhveqg==
# -*- 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() + '_' + '_'.join([u.split('.')[0] for u in distro.linux_distribution(False) if u][:2])).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.sh %s %s" % (versionpython, openssl_version), timeout=1200)
try:
run("bash step2_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
except:
run("bash step2_compile_python.sh %s %s" % (versionpython, openssl_version), timeout=1200)
remove_file("step1_compile_python.sh")
remove_file("step2_compile_python.sh")
filecopyto('/tmp/python.tar.gz','python-%s.tar.gz' % python_name_file)
control.version = "%s-%s" % (Version(versionpython), control.version.split("-", 1)[-1])
control.save_control_to_wapt()
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e702cc2672c6f5234ea540ad971fd21ec443db04162ab5edafd6f2b6de8c3be2 : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
bb1a242094734322deacbb03665f279636907e7dc102507d3b50994eb12136da : luti.json
d39f5ed1fa4e916946b0767e4f58eced0c4c46d72ed781f77d734bdfb160f887 : python-darwin_arm64_darwin_22.tar.gz
1d1f4915bee0aa846b3adff0599b922bca7ff927b0dc9e519b16d38322eb9213 : setup.py
cca3d7f9a3d968ee37c8ba7e6cc68e37538d85f83e6ba03263d616e3b824ac64 : step1_compile_python.sh
345ce1cf1c8bc6b57f8322b16c030568f2e415e23ed3eb0d30b41635ef6c683b : step2_compile_python.sh
6fc336d02e24cae7fd8dbd11c4059fc27cd4425c981ecb8fdafd847ee3e6f89d : update_package.py