tis-poedit icon

Poedit

Paquet d’installation silencieuse pour Poedit

3.6.1-3

  • package: tis-poedit
  • name: Poedit
  • version: 3.6.1-3
  • categories: Utilities
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Václav Slavík
  • licence: MIT
  • locale: all
  • target_os: macos
  • impacted_process: Poedit
  • architecture: all
  • signature_date:
  • size: 37.94 Mo
  • installed_size: 66.49 Mo
  • homepage : https://poedit.net/

package           : tis-poedit
version           : 3.6.1-3
architecture      : all
section           : base
priority          : optional
name              : Poedit
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Poedit (formerly poEdit) is a shareware and cross-platform gettext catalog (.po file) editor to aid in the process of language localisation.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : macos
min_wapt_version  : 2.0
sources           : https://poedit.net/download
installed_size    : 66494000
impacted_process  : Poedit
description_fr    : Poedit (anciennement poEdit) est un logiciel éditeur libre de catalogues gettext textuels (fichiers .po) multi-plateforme.
description_pl    : Poedit (dawniej poEdit) to shareware'owy i cross-platformowy edytor katalogu gettext (.po file) wspomagający proces lokalizacji języka
description_de    : Poedit (früher poEdit) ist ein plattformübergreifender Shareware-Editor für Gettext-Kataloge (.po-Dateien), der den Prozess der Sprachlokalisierung unterstützt
description_es    : Poedit (antes poEdit) es un editor de catálogos de texto (archivos .po) shareware y multiplataforma para ayudar en el proceso de localización de idiomas
description_pt    : Poedit (anteriormente poEdit) é um editor de catálogo gettext (ficheiro.po) shareware e cross-platform para ajudar no processo de localização linguística
description_it    : Poedit (ex poEdit) è un editor shareware e multipiattaforma di cataloghi gettext (file .po) che aiuta nel processo di localizzazione linguistica
description_nl    : Poedit (voorheen poEdit) is een shareware en cross-platform gettext catalogus (.po bestand) editor om te helpen bij het proces van taal lokalisatie
description_ru    : Poedit (ранее poEdit) - это shareware и кросс-платформенный редактор gettext каталога (файла .po) для помощи в процессе языковой локализации
audit_schedule    : 
editor            : Václav Slavík
keywords          : poedit,po,edit,gettext,get,text,catalog,.po,file,editor,language,localisation,translation
licence           : MIT
homepage          : https://poedit.net/
package_uuid      : e6f15a8a-67e6-43eb-8aa1-38a206bedb09
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/vslavik/poedit/releases
min_os_version    : 
max_os_version    : 
icon_sha256sum    : c7681dffb4faaca8cba76befeeab75e18c37a7755d0fe06ca3b4e77e52ea90de
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-04-20T10:13:13.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         : HmHtlyWvK4WjqxNZKGUeAm8uhINk/z16/ZiH/ANSMk0xHe4ig5B3BJ/8Q4WW4Jfxwt27YFdLjY6MPWOzoQ7NX64dKwJgceynEQbWZtZpUJ1RBqEZUJy/GXFhFaTkCGMeMTrbNG633EuLlF46S9IxI50kcSXAfEX52NrXF0/vyMg2tqzn+G6qcxfOocMVLDic9shD14HLRifE6eRs5NQ5ecnfxUC1fZSM3abE8tf8ldMVzMiX0Z967zBJkaRs/KwDsb5cl2Og1anijq1KLmo/5kXGb6cuASOFK5+vGDSU9p8IHsi+bE9OxwDYFBNoXcmg3+zdZF7EUDm2/6OQVP0g4w==

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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
app_dir = "/Applications/Poedit.app"


def install():
    if isdir(app_dir):
        remove_tree(app_dir)
    unzip(glob.glob("*.zip")[0])
    copytree2("%s/Poedit.app" % glob.glob("*.zip")[0].replace(".zip", ""), app_dir)


def uninstall():
    # Uninstalling the software
    if isdir(app_dir):
        remove_tree(app_dir)

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


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


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://poedit.net/download"

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all('https://poedit.net/download', "a","class","btn btn-secondary w5", proxies=proxies):
        if bin_contains in bs_search["href"]:
            url_dl = bs_search["href"].replace('-setup.exe','.zip')
            latest_bin = url_dl.split("/")[-1]
            version = latest_bin.split("-")[1].replace(".zip", "")
            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) > 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)
    control.save_control_to_wapt()

    for g in glob.glob("*.zip"):
        if g != latest_bin:
            remove_file(g)

    # Validating or not update-package-sources
    return result

6c84e752812756cdacafe00350e93bd80feca8d6673731a9d897ea5c5a18392b : Poedit-3.6.1.zip
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
e438c965464f087f8710afe016d2b8cae5f0b71f3a547c81f30c8637f10041f5 : WAPT/control
c7681dffb4faaca8cba76befeeab75e18c37a7755d0fe06ca3b4e77e52ea90de : WAPT/icon.png
805af5ca3fbf60b86d516d75d5cdccbacc5762dc6c861454c480d1e5a0fa9063 : luti.json
ef41ba305a919ae5c82e40510c5e6d0c0837de4539da0bcdee8de542cb3beae3 : setup.py
48f2133430bda163d493983015a8f167979a86a6a6f34071270fafb945a79181 : update_package.py