
tis-wapt-python39-relocatable
Silent install package for tis-wapt-python39-relocatable
3.9.22-36
- package: tis-wapt-python39-relocatable
- version: 3.9.22-36
- maintainer: sfonteneau
- locale: all
- target_os: macos
- architecture: arm
- signature_date:
- size: 43.58 Mo
package : tis-wapt-python39-relocatable
version : 3.9.22-36
architecture : arm
section : base
priority : optional
name :
categories :
maintainer : sfonteneau
description : Package for tis-python-3.9-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.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 : a18fab4e-9aaa-42b7-9106-9b1f81ff6863
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 : 2025-04-19T10:17:21.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 : h2ojHd5a40DlHvBoqLtCLX5iWR54f/HGnc0SVuGW9dl/Oy2jU1GVJbG3CfqqQiB+bguBg/nOUvevA40K4G2oAThE2CG7Bka+4N8KFzTQ8oH+/vFZAQA+gd7TnI2cDN6I5bDTW7a1LtO72u46VGD/dWfRkXYYeUhJ0v7RUH5GMBPKMWaQ8XnypeDmWNl3+aTuJ19iC3KPuE2qchLV6SMr9LlErtmZfFlgw3NPjo/G8BniH1+WEDHMHgwAYtQpqxL/CfqattgoHUiNwH0NP4gLa40VRYTg6hMTRkQhalNitu6DH+yMEO3mvhSlE9lc6M9O5p8KfEfpnqP3E4fL//Hssw==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
pass
def uninstall():
pass
# -*- 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.9')]
if v:
versionpython = v[0].split(' ')[1]
break
openssl_version = '3.5.0'
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
39559e79b05832dcc7f99ce0bf7bf48e72ec30dfdd1f5323cd4459c83bcdbeb4 : WAPT/control
b55b23fa81945c6cd4c2f4f114188aa9f8f3d0c3cbb9fb353b2803ffbb67b43b : WAPT/icon.png
1525e87ac2d4741cd631836f2b699da924c2e80851a03d12befa9b689498c50f : luti.json
6cd0c6022217b5db7c05bd8c80e38b6b504219e0ae2f7191e672a00112ed8bdc : python-darwin_arm64_darwin_22.tar.gz
119c7fcf6fa446e849ffe55a269d3c28b0d9223a2d9640182d97fd0eeb1f717a : setup.py
dca0c46f9bb76032ca0ea9f5cda56db0946b14532615adbabd8362886c9eab60 : step1_compile_python.sh
edbf93d0c6b6fac65925dab455e0ded71aaadeff51dff1671f7a46b7a91316af : step2_compile_python.sh
1852e57b47d7c340f73a17c2d14d4e45a9077ab9ff05508cf668fc59fcedf70e : update_package.py