tis-skype 7.36.32.101-10

  • package : tis-skype
  • version : 7.36.32.101-10
  • description : Skype is a telecommunications application software product that specializes in providing video chat and voice calls from computers, tablets, and mobile devices via the Internet to other devices or telephones/smartphones
  • maintainer : Simon Fonteneau
  • date : 2017-07-20 11:24:15
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20170720-112415
  • min_os_version :
  • min_wapt_version :

setup.py

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

uninstallkey=[]

def install():
    product_version = control['version'].split('-',1)[0]

    oldskype = installed_softwares('skype')
    for soft in oldskype:
        if Version(soft['version'])<Version(product_version):
            print("remove : %s " % soft['name'])
            run_notfatal(uninstall_cmd(soft['key']))
    print('installing Skype %s' % product_version)
    # hack... several properies with same key TRANSFORMS
    install_msi_if_needed('SkypeSetup.msi',
        properties = dict(STARTSKYPE="FALSE",TRANSFORMS=':RemoveDesktopShortcut.mst TRANSFORMS=:RemoveStartup.mst'))


def update_package():

    wget('http://www.skype.com/go/getskype-msi','SkypeSetup.msi')
    product_version = get_msi_properties('SkypeSetup.msi')['ARPVERSION']

    control = PackageEntry().load_control_from_wapt('.')
    packaging = control.version.rsplit('-',1)[1]
    control.version = product_version+'-'+packaging
    control.save_control_to_wapt('.')

if __name__ == '__main__':
    update_package()

    

manifest

[["WAPT/icon.png", "e2eacbce50feb8937475f65b3c3caa72adeb5ba8"], ["WAPT/certificate.crt", "0db563dc9077b268ca07ba834322d0fc5e21f8e5"], ["WAPT/wapt.psproj", "557e60050809687d56525e6ac46df9c0e02ccae6"], ["SkypeSetup.msi", "7949398a8129914796e687f6749c1a2dbc8dbb0e"], ["setup.py", "71db3c2fce630d053f0442d95fb7a2128879428f"], ["WAPT/control", "e18b59c2c749647b90b0e123ee0b58abbaa6f05d"]]