Détails du package smp-ezcast_2.8.0.107-1_all.wapt
Revenir à la liste des packages
ATTENTION CE DÉPÔT n'est plus compatible 1.3 vous devez migrer en 1.5.1.21 !
Fichier control :
package : smp-ezcast
version : 2.8.0.107-1
architecture : all
section : base
priority : optional
maintainer : Simon Fonteneau
description : Logiciel ezcast pour dongle ezcast ATTENTION ! Reboot automatique lors de l'installation et la désinstallation
depends :
conflicts :
maturity :
locale :
target_os :
min_os_version :
max_os_version :
min_wapt_version :
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : a6efd265-c8ad-4717-b42b-0d6bd17abd97
signer : wapt.lesfourmisduweb.org
signer_fingerprint: 8da83ebdac1a25e820b186510d049f47407b11835b0664fdc5bacd3595b1671d
signature : tnGP6h0BDfaeYPb1zHS38iPl+yiUMGU4BAooZpes5Rb8TI6yMeQ3LeIbwPQMzRs44MFIW/1A3ifZMdT6/SuNYjV9QH1mwY0K8lvVzK0SyZUPAoqoZVwK3EfzRl/0DGTCbA1fJ3oQoMkRtIuOvVwtQic7DHobNm6uXNfyX0la3ulssD7T8+Sl4wUnd9wDUkpVKzggAbUCS/9zkbSERB+4Vu2jQM4v+fnXCALgPQx0md/m5wOEZcYCNPhV1K2R4gHFtEspmA+Eddd6Hie0KOtupfZW/RHIU0hNDbg694NVfM9VQ2+9gQ8K5lpfqhrLuMdfI5be7ALHRivZi0A8quHUGw==
signature_date : 20181227-185905
signed_attributes : package,version,architecture,section,priority,maintainer,description,depends,conflicts,maturity,locale,target_os,min_os_version,max_os_version,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,audit_schedule,editor,keywords,licence,homepage,package_uuid,signer,signer_fingerprint,signature_date,signed_attributes
Fichier setup.py :
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
print('installing ezcastpro')
versionsoft = control['version'].split('-',1)[0]
install_exe_if_needed('EZCast_Win%s.exe' % versionsoft,silentflags='/S /norestart',key='{74CECDD9-4B8E-4AE3-9571-8070A17F3C34}',min_version=versionsoft,killbefore=['EZCast.exe'])
uninstallkey.remove('{74CECDD9-4B8E-4AE3-9571-8070A17F3C34}')
remove_desktop_shortcut('EZCast')
def uninstall():
run('"%s" /S /norestart' % makepath(install_location('{74CECDD9-4B8E-4AE3-9571-8070A17F3C34}'),'uninstall.exe'))
def update_package():
htmlsource=wgets('https://www.iezvu.com/index.php?m=download&a=index&id=29&l=en&aa=10').splitlines()
for line in htmlsource:
if 'EZCastPro_Win' and '.exe' in line :
versionez = line[line.find('EZCast_Win') + 10 :line.find('.exe')]
print versionez
break
for exe in glob.glob('*.exe'):
if exe != 'EZCast_Win%s.exe' % versionez:
remove_file(exe)
if not isfile('EZCast_Win%s.exe' % versionez):
wget('https://www.iezvu.com/upgrade/ezcast/appupgrade/EZCast_Win%s.exe' % versionez,'EZCast_Win%s.exe' % versionez)
os.chdir(os.path.dirname(__file__))
from waptpackage import PackageEntry
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
pe.version = versionez + '-0'
pe.save_control_to_wapt(os.getcwd())
if __name__ == '__main__':
update_package()