tis-skype 7.40.32.104-15

  • package : tis-skype
  • version : 7.40.32.104-15
  • 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 : 2018-02-27 19:08:13

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()

    

Changelog

No changelog
    

manifest.sha256

[["WAPT/icon.png", "bd6b7d1fadbcdaf3f12753395bde90e5aab74bb75da73bd496f2892b3027e1b9"], ["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "795d36d10109ca85357285f79090fac2be856e5830ea31fa913cc55cb825807b"], ["SkypeSetup.msi", "23af9375776733cd8eeb29135f5a73feff1fb5a650992a675fa576cbe5cb2b6d"], ["setup.py", "cfddd75c0ad4bfef7c50c91a80828ed36583d6a2883685d95f33acbdfc94fe7f"], ["WAPT/control", "56f4f830d87ada9763111b4312fc17a0b04029c8a3276a0a8ad1f70f6a8ede41"]]