tis-virtualbox

6.1.14-1
Oracle VM VirtualBox (formerly VirtualBox) is a free virtualization software published by Oracle.
94090 downloads
Download
default icon

  Description 

  • package : tis-virtualbox
  • version : 6.1.14-1
  • architecture : x64
  • categories : System and network
  • maintainer : WAPT Team,Jimmy PELÉ,Simon Fonteneau
  • description : Oracle VM VirtualBox (formerly VirtualBox) is a free virtualization software published by Oracle.
  • locale : all
  • target_os : darwin
  • min_wapt_version : 1.5
  • sources : https://www.virtualbox.org/wiki/Downloads
  • installed_size : 396652544
  • impacted_process : VirtualBox.exe,VBoxManage.exe,VBoxSVC.exe,VBoxSDS.exe
  • description_fr : Oracle VM VirtualBox (anciennement VirtualBox) est un logiciel libre de virtualisation publié par Oracle.
  • description_pl : Oracle VM VirtualBox (dawniej VirtualBox) to darmowe oprogramowanie do wirtualizacji opublikowane przez Oracle.
  • description_de : Oracle VM VirtualBox (ehemals VirtualBox) ist eine von Oracle veröffentlichte kostenlose Virtualisierungssoftware.
  • description_es : Oracle VM VirtualBox (antes VirtualBox) es un software de virtualización libre publicado por Oracle.
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Oracle Corporation
  • licence : GPLv2
  • signature_date : 2020-09-09T10:05:05.188287
  • Homepage : https://www.virtualbox.org/

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
try:
    import bs4 as BeautifulSoup
except:
    import BeautifulSoup
import json
import requests


uninstallkey = []


def install():
    install_dmg(glob.glob('*.dmg')[0])

def uninstall():
    shutil.rmtree('/Applications/VirtualBox.app')

def update_package():
    print('Download/Update package content from upstream binary sources')

    # Getting proxy informations from WAPT settings
    proxy = {}
    if isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
        proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
        if proxywapt :
            proxy = {'http':proxywapt,'https':proxywapt}

    # Specific app values
    url = 'https://www.virtualbox.org/wiki/Downloads'

    # Getting latest version from official website
    page = requests.get(url,headers={'User-Agent':'Mozilla/5.0 (Windows NT 6.1; Win64; x64)'},proxies=proxy).text
    bs = BeautifulSoup.BeautifulSoup(page)
    #bs = BeautifulSoup.BeautifulSoup(page,features="html.parser") # For bs4 only

    for u in bs.findAll('a',{'class':'ext-link'}):
        if '.dmg' in str(u['href']):
            url_dl = u['href']
    latest_bin = url_dl.split('/')[-1]
    version = url_dl.split('/')[-2]

    print('Latest Version %s' % version)

    for f in glob.glob('*.dmg'):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print('Downloading: ' + latest_bin)
        wget(url_dl,latest_bin,proxies=proxy)

    control.version = version + '-0'
    control.save_control_to_wapt()
    print('Update package done. You can now build-upload your package')



										

  Changelog 



Changelog software url : https://www.virtualbox.org/wiki/Changelog



No changelog.txt.
									
  manifest.sha256