tis-skype 7.40.32.103-14

  • package : tis-skype
  • version : 7.40.32.103-14
  • 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", "c5a1697bf6e134989a9870764995725626a8f5055b640e541b569d1a927363fc"], ["SkypeSetup.msi", "7c0084fbfc57b051fa0954cee49e83291e576af8d34ee8d64fda4aa4aeb38bc7"], ["setup.py", "cfddd75c0ad4bfef7c50c91a80828ed36583d6a2883685d95f33acbdfc94fe7f"], ["WAPT/control", "923f488492c6821c758be957b1039db9529c970e508877164529ac9e241ce6f1"]]