tis-calibre icon

calibre

Paquet d’installation silencieuse pour calibre

9.6.0-15
Office
Utilities
Media
Office
Utilities
Media

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un deuxième scan VirusTotal est effectué pour vérifier que le status n'a pas changé.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-calibre
  • name: calibre
  • version: 9.6.0-15
  • categories: Office,Utilities,Media
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ
  • editor: Kovid Goyal
  • licence: GPLv3
  • locale: all
  • target_os: darwin
  • impacted_process: calibre,ebook-viewer,lrfviewer
  • architecture: all
  • signature_date:
  • size: 330.20 Mo
  • homepage : https://calibre-ebook.com

package           : tis-calibre
version           : 9.6.0-15
architecture      : all
section           : base
priority          : optional
name              : calibre
categories        : Office,Utilities,Media
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Calibre (stylised calibre) is a cross-platform open-source suite of e-book software
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : darwin
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : calibre,ebook-viewer,lrfviewer
description_fr    : calibre est un gestionnaire de bibliothèques numériques permettant la visualisation, la conversion, le catalogage et l’édition de livres numériques
description_pl    : Calibre (stylizowany na calibre) to wieloplatformowy, open-source’owy pakiet oprogramowania do obsługi książek elektronicznych
description_de    : Calibre (stilisiert als Calibre) ist eine plattformübergreifende Open-Source-Software für E-Books
description_es    : Calibre (estilizado como calibre) es una suite de software de libros electrónicos de código abierto y multiplataforma
description_pt    : Calibre (calibre estilizado) é um conjunto de software de código-fonte aberto de código aberto para várias plataformas de livros electrónicos
description_it    : Calibre (stilizzato calibre) è una suite open-source multipiattaforma di software per libri elettronici
description_nl    : Calibre (gestileerd calibre) is een cross-platform open-source suite van e-boek software
description_ru    : Calibre (стилизованный calibre) - это кроссплатформенный пакет программного обеспечения для электронных книг с открытым исходным кодом
audit_schedule    : 
editor            : Kovid Goyal
keywords          : e-book,ebook,book,reader,word,processor,calibre,e-readers,ereaders,epub,azw3,mobi
licence           : GPLv3
homepage          : https://calibre-ebook.com
package_uuid      : bb20dc0d-30df-4c7d-ba4b-2ecc031b1803
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://calibre-ebook.com/whats-new
min_os_version    : 11
max_os_version    : 
icon_sha256sum    : 4152db2fde14eb9f3015e05bfe41ddf78ce34b91a57b2e41b38f022033df4e86
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-03-27T05:07:52.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         : pgMRCv4rRCIlIf2EpZR2p3JqpUsAaENJhcbC1d+3PUJ8wE0QaOBU90VS25VFjZefCtNz0/ntW+x8lgIencxlgTqQkq7vHIYBdSjbrkVmRhx/wHh9CB92DsDhR9UONdZGojTTcSH/mZ29yG8Bqssj30dtbm05kBqxOhIw+0C3giobDl8hTPsLa4AHQyg2BVTKaI1m/xaxknrvJGr9rbvGTeUS03DxUJJJ/oar0vSJ8ipzIixu6nbLqGWD5J4zGPXaNAbpCdlyAXwrnJXQROctJsWolZa4k9mmh17raSPJUgwHwwv9VdCq74kE7X/cZTXBAIWHivyOouvTXeM6Z7mM3g==

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


def install():
    # Declaring local variable
    bin_name = glob.glob("*calibre-*.dmg")[0]

    # Installing the software
    install_dmg(bin_name)


def uninstall():
    # Uninstalling the software
    uninstall_app("calibre")

# -*- coding: utf-8 -*-
from setuphelpers import *
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 = "kovidgoyal/calibre"
    api_url = "https://api.github.com/repos/%s/releases/latest" % git_repo

    # Getting latest version information from official sources
    print("API used is: %s" % api_url)
    json_load = json.loads(wgets(api_url, proxies=proxies))
    version = json_load["tag_name"].replace("v", "")
    latest_bin = "calibre-%s.dmg" % version
    for download in json_load["assets"]:
        if latest_bin in download["name"]:
            download_url = download["browser_download_url"]
            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, 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
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating update-package-sources
    return result

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
e8975970fb369a935604e9342800f6ddb0bec2886213d95f319f751f6d5042ba : WAPT/changelog.txt
919f11eb7d3bc93b50c8a4af18916ee311863e3f9657c140eedaea632ba4941f : WAPT/control
4152db2fde14eb9f3015e05bfe41ddf78ce34b91a57b2e41b38f022033df4e86 : WAPT/icon.png
1e20b1a9859eae7411f4ff4fd7f7c64524ca16339d969aeb828b791673d03d4c : calibre-9.6.0.dmg
2f4f7e686df91028513c73d028d768e5f6bc7339bce2805b7c104feb1ea72e30 : luti.json
acc963318b5217c81b49bacf75c4573b854e7eeb454e890617a20128f9cc2cc3 : setup.py
b311ca35c3cf5b5ac440ad1d6b793ea48c07542773a59678fb8e4701f3824625 : update_package.py

https://calibre-ebook.com/whats-new
6.3.0
===
improve code