tis-ugene icon

Ugene

Paquet d’installation silencieuse pour Ugene

52.1-2

  • package: tis-ugene
  • name: Ugene
  • version: 52.1-2
  • categories: Bio-informatique
  • maintainer: Gaëtan Segat,WAPT Team,Tranquil IT,Pierre COSSON
  • editor: Unipro
  • licence: opensource_free,cpe:/a:gnu:gpl_v2
  • locale: all
  • target_os: darwin
  • architecture: x64
  • signature_date:
  • size: 336.88 Mo
  • installed_size: 1.62 Go

package           : tis-ugene
version           : 52.1-2
architecture      : x64
section           : base
priority          : optional
name              : Ugene
categories        : Bio-informatique
maintainer        : Gaëtan Segat,WAPT Team,Tranquil IT,Pierre COSSON
description       : UGENE is free open-source cross-platform bioinformatics software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.1
sources           : http://ugene.net/download-all_html
installed_size    : 1619587072
impacted_process  : 
description_fr    : UGENE est une plateforme multiplateforme open source gratuite logiciel de bioinformatique
description_pl    : UGENE jest wolnym, otwartym, wieloplatformowym oprogramowaniem bioinformatycznym
description_de    : UGENE ist eine kostenlose, plattformübergreifende Open-Source-Bioinformatik-Software
description_es    : UGENE es un software bioinformático multiplataforma gratuito y de código abierto
description_pt    : UGENE é um software gratuito de bioinformática multiplataforma de código aberto
description_it    : UGENE è un software bioinformatico multipiattaforma gratuito e open-source
description_nl    : UGENE is gratis open-source cross-platform bioinformaticasoftware
description_ru    : UGENE - бесплатное кроссплатформенное программное обеспечение для биоинформатики с открытым исходным кодом
audit_schedule    : 
editor            : Unipro
keywords          : 
licence           : opensource_free,cpe:/a:gnu:gpl_v2
homepage          : 
package_uuid      : b84f4810-a670-446e-b3a0-b2878d4946ab
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 157a02a13f54a2e39ef0cf5ee77d93f2e17be5522290cb4789fb206558ac96f5
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-13T06:04:37.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : p7O/nR7s5vHiQGAufnTKWXc8j4i5b31/g/KFUuGOqwW/nQM4J/peVAQk781hVVtYSl+vlChZNBnLXQnYAeYKSG2rgf8fsuycCBAgLY7xa0XpVVF8+rs1dqS5QD5mj/ftRfXAVMgmxZmv6DIQLWbWa0JqhjOv76APDhlLRQ02ynVgc/Pu/pQQIagjz9kcOpdnU4NsN62suWo6ytBnNGS4dSnVW3OCcfwoFWTn5QsBAFDpb1jcQvX/fghcSywpKQfzvQtcBywKLozPg6o08BsQgJ13mpzQcGaQfX5YcBV0tOHPw6WPWL4pe9W9nJcz6RJCmRWUt86Mdbbo49Jyz6HbKg==

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *


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


def uninstall():
    shutil.rmtree("/Applications/Unipro UGENE.app")

# -*- coding: utf-8 -*-
##################################################
# This file is part of WAPT Enterprise
# All right reserved, (c) Tranquil IT Systems 2023
# For more information please refer to
# https://wapt.tranquil.it/store/licences.html
##################################################
from setuphelpers import *
import platform
import json


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    git_repo = "ugeneunipro/ugene"
    url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % url_api)
    json_load = json.loads(wgets(url_api, proxies=proxies))
    bin_content_type = "application/x-apple-diskimage"
    for download in json_load["assets"]:
        if "ugene" in download["name"] and bin_content_type in download["content_type"]:
            url_dl = download["browser_download_url"]
            version = json_load["tag_name"].replace("v", "")
            latest_bin = download["name"]
            break

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % url_dl)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)
    # Changing version of the package
    if Version(version) > control.get_software_version():
        print("Software version updated from: %s to: %s" % (control.get_software_version(), Version(version)))
        result = True
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(Version(version))
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
54148c3116d9b6fec37b6474789d94b5a79155d81ab9fab6ec7169b3315a59a1 : WAPT/control
157a02a13f54a2e39ef0cf5ee77d93f2e17be5522290cb4789fb206558ac96f5 : WAPT/icon.png
20c1ea7d04861159e9c0e0729058bbe0e37672bd1b727ea574ee6a997fd3e269 : luti.json
0b0be7cbce441bbb3fe08e76d844d68b7404aad9bbe8899efc30ca304c9fa7f2 : setup.py
ac20a2303466bbf328473b9edd02c45d31c7d9bb3bd7956045b3d6356e365967 : ugene-52.1-mac-x86-64.dmg
cc373e84baa98d86003a5b578d7f9e383c09fd1a4c97457260ef59b09b3c24fa : update_package.py