tis-projectlibre icon

ProjectLibre

Silent install package for ProjectLibre

1.9.3-6

  • package: tis-projectlibre
  • name: ProjectLibre
  • version: 1.9.3-6
  • categories: Office
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • licence: CPAL
  • locale: all
  • target_os: darwin
  • impacted_process: ProjectLibre
  • architecture: x64
  • signature_date:
  • size: 100.40 Mo
  • installed_size: 223.85 Mo
  • homepage : http://www.projectlibre.com/

package           : tis-projectlibre
version           : 1.9.3-6
architecture      : x64
section           : base
priority          : optional
name              : ProjectLibre
categories        : Office
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : ProjectLibre is a free and open-source project management software
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.3
sources           : https://sourceforge.net/projects/projectlibre/files/
installed_size    : 223854592
impacted_process  : ProjectLibre
description_fr    : ProjectLibre est un outil open source de planification de projet
description_pl    : ProjectLibre to darmowe i open-source'owe oprogramowanie do zarządzania projektami
description_de    : ProjectLibre ist eine freie und quelloffene Projektmanagementsoftware
description_es    : ProjectLibre es un software de gestión de proyectos gratuito y de código abierto
description_pt    : ProjectLibre é um software de gestão de projectos gratuito e de código aberto
description_it    : ProjectLibre è un software di gestione dei progetti gratuito e open-source
description_nl    : ProjectLibre is een gratis en open-source project management software
description_ru    : ProjectLibre - это бесплатное программное обеспечение для управления проектами с открытым исходным кодом
audit_schedule    : 
editor            : 
keywords          : 
licence           : CPAL
homepage          : http://www.projectlibre.com/
package_uuid      : 04ff6cd3-0850-4872-ba13-eadaee301179
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : d9a499823d03ac8c653f0eb6f2ef1dfcdaf6aeca2834e2ee8d63da12f05c52a3
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : Y/r1VqlgTkl2yySIP1nDmluIewsyFd7eSiykzuF3nz0bFjj/VrFLdc5J0CB27riliRFhfadc7RYJiU0YIKrvD9AzGJKDldb10qWJuE4tbl58omy4T2f4U72c4Uh7Z2na6WuhYuJzyRgN72KARsNs+lTbOtM5CwMm8wI4W28cZyk+zbZEkEKVIqARRy/ujvFx3ywBdwGxaInnAvQWAv7ltyAS+Cci1+iRMY/cVqNRtAjvM6khX/TuYdDVaH8yiwvii7RcoBKI7eOiLE85jQU7mPBW9PhLLmNZA+DigtNRbuyc7jRFb3lLEtOA3FZkso+7gChfWUDD7RygOi2R9mGPnw==
signature_date    : 2024-07-31T09:00:49.610560
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

# -*- 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():
    bin_name = glob.glob("projectlibre-*.dmg")[0]
    tempo_path = "/tmp/cdrTempo"
    run(f"hdiutil convert -quiet {bin_name} -format UDTO -o {tempo_path}")
    
    install_dmg(f"{tempo_path}.cdr", min_version=control.get_software_version())
    
    if isfile(f"{tempo_path}.cdr"):
        remove_file(f"{tempo_path}.cdr")


def uninstall():
    remove_tree("/Applications/ProjectLibre.app")

# -*- coding: utf-8 -*-
from setuphelpers import *
import json

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "projectlibre-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    api_url = "https://sourceforge.net/projects/projectlibre/best_release.json"

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    for download in json_load["platform_releases"]:
        if bin_contains in json_load["platform_releases"][download]["filename"] and ".dmg" in json_load["platform_releases"][download]["filename"]:
            download_url = json_load["platform_releases"][download]["url"]
            version = json_load["platform_releases"][download]["filename"].split("/")[-2]
            latest_bin = json_load["platform_releases"][download]["filename"].split("/")[-1]
            break

    print("Latest %s version is: %s" % (app_name, 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,connect_timeout=60, proxies=proxies)

    control.set_software_version(version)
    control.save_control_to_wapt()


    # Validating update-package-sources
    return result

be3268938bc94a2f9d253e6089d9b4a1fe2c6bee32492688a7a3f7633c462735 : setup.py
7dea79e90f3d9172aa9f8feafdb24c96b0e19380db6e530a9b2e1a5c3d99717b : projectlibre-1.9.3.dmg
00cb35df416b3382997f1edf14fe7aadbb4e8e858ae69381b5e83d4e555686b5 : update_package.py
d9a499823d03ac8c653f0eb6f2ef1dfcdaf6aeca2834e2ee8d63da12f05c52a3 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
2b831317a3249380666b4f6c3194c15d924d433835121d606ddf5ab2d1d71cb9 : luti.json
b095bbab7c2d55f8cb65f5fcc0365d54181a0a48ec857ae76b49a3c8ca6acbfd : WAPT/control