tis-skype
8.65.0.78-19
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
66765 downloads

Description
- package : tis-skype
- version : 8.65.0.78-19
- architecture : all
- categories : Messaging,Media
- maintainer : Tranquil IT,Kevin Guerineau,Jimmy PELE
- 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
- locale : all
- target_os : windows
- min_wapt_version :
- sources : https://store.wapt.fr/store/tis-skype
- installed_size : 228896768
- impacted_process : Skype.exe
- description_fr : Skype est un logiciel qui permet aux utilisateurs de passer des appels téléphoniques ou vidéo via Internet, ainsi que le partage d'écran. Les appels d’utilisateur à utilisateur sont gratuits, tandis que ceux vers les lignes téléphoniques fixes et les téléphones mobiles sont payants.
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : Microsoft and Microsoft Skype Division
- licence : Freemium
- signature_date : 2020-10-13T15:40:52.797582
- Homepage : https://www.skype.com
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import glob
uninstallkey=[]
def install():
print('installing %s' % control.asrequirement())
current_version = control['version'].split('-',1)[0]
short_version = current_version.split('.',2)[0] + '.' + current_version.split('.',2)[1]
oldskype = installed_softwares('skype')
for soft in oldskype:
if Version(soft['version'])<Version(short_version):
print("remove : %s " % soft['name'])
run_notfatal(uninstall_cmd(soft['key']))
print('installing Skype %s' % current_version)
# hack... several properies with same key TRANSFORMS
# Getting the used storage on programfiles before installation (place it on the top)
diskfreespacebefore = get_disk_free_space(programfiles)
install_exe_if_needed('Skype-%s.exe' %current_version, key='Skype_is1',min_version=short_version)
remove_desktop_shortcut('Skype')
killalltasks(control['impacted_process'])
# Return used storage of the installation. (place it on the bottom)
diskfreespaceafter = get_disk_free_space(programfiles)
difffreespace = diskfreespacebefore - diskfreespaceafter
print ("Storage used: " + str(difffreespace))
def update_package():
print('Update package content from upstream binary sources')
import requests,re
from waptpackage import PackageEntry
# Update transition from BeautifulSoup 3 to 4
try:
import BeautifulSoup
except:
import bs4 as BeautifulSoup
# Get Proxy informations from WAPT settings
proxies = {}
if isfile(makepath(application_data(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxies = {'http':proxywapt,'https':proxywapt}
verify=True
pe = PackageEntry()
pe.load_control_from_wapt(os.getcwd())
current_version = pe['version'].split('-',1)[0]
verify=True
url_dl = ('https://go.skype.com/windows.desktop.download')
wget(url_dl,'skype-temp.exe',proxies=proxies)
product_version = get_file_properties('skype-temp.exe')['FileVersion']
exes = glob.glob('Skype*.exe')
for fn in exes:
if fn != 'skype-temp.exe':
remove_file(fn)
filecopyto('skype-temp.exe', 'Skype-%s.exe' % product_version)
remove_file('skype-temp.exe')
# updates control version from filename, increment package version.
control = PackageEntry().load_control_from_wapt ('.')
control.version = '%s-%s' % (product_version,int(control.version.split('-',1)[1])+1)
control.save_control_to_wapt('.')
if __name__ == '__main__':
update_package()