tis-audacity
3.1.2-0
Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems.
32731 downloads
View on


Description
- package : tis-audacity
- version : 3.1.2-0
- architecture : all
- categories : Media
- maintainer : Tranquil IT,Jimmy PELÉ
- description : Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X, GNU/Linux and other operating systems.
- locale : all
- target_os : darwin
- min_wapt_version : 1.5
- sources : https://www.audacityteam.org/download/
- installed_size : 75657216
- impacted_process : audacity
- description_fr : Audacity est un logiciel d'enregistrement de son numérique et d'édition de sources audionumériques sous différents formats (mp3, Wave, AIFF, Flac, Ogg...).
- description_pl :
- description_de :
- description_es : Audacity es una aplicación informática multiplataforma libre, que se puede usar para grabación y edición de audio, distribuido bajo la licencia GPLv2+.
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : Audacity Team
- licence : GPLv2
- signature_date : 2021-11-18T13:30:35.999951
- Homepage : https://www.audacityteam.org
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import shutil
import json
uninstallkey = []
def install():
bin_name = glob.glob('*.dmg')[0]
install_dmg(bin_name)
def uninstall():
shutil.rmtree("/Applications/Audacity.app")
def update_package():
updated_package = False
# Declaring local variables
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
json_load = json.loads(wgets('https://api.github.com/repos/audacity/audacity/releases/latest', proxies=proxies))
for download in json_load['assets']:
if ".dmg" in download['name']:
download_url = download['browser_download_url']
version = json_load['tag_name'].split('-')[-1]
latest_bin = download['name']
break
print("Latest version is: %s" % version)
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
updated_package = True
control.version = '%s-%s' % (Version(version), control.version.split('-', 1)[-1])
control.save_control_to_wapt()
for exe in glob.glob('*.exe'):
if exe != latest_bin:
remove_file(exe)
return updated_package