tis-calibre icon

calibre

Paquet d’installation silencieuse pour calibre

8.9.0-15

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

package           : tis-calibre
version           : 8.9.0-15
architecture      : x64
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          : PROD
locale            : all
target_os         : windows
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      : 47ee6503-fdbb-4ddd-8f7a-d5176e2f9a12
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://calibre-ebook.com/whats-new
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 4152db2fde14eb9f3015e05bfe41ddf78ce34b91a57b2e41b38f022033df4e86
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-27T04:05:10.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         : Hggxon5OX0YBF30fodCmYjqboJOqQQm1I0BVAjGuZBEGSpNxQI4s6tCDbDsjPa1wPR9s5di5sMDHA/Q85p9CmWk6jBS5N/1LlYx5igW/A0y10C1pwK+9f6BZyzL0+YGgrpmf9H2b583Cox6t0w6V/QnHlwwDukMiiHjkyW1pLdwaGbBmLc0VYuG0tVQUdOuHtQaLIugNL0hdfwl7YcK9skJVdo744f7hat4LBLmBbaaOmbLt3ioyn2kozpopT+hnx3U/gD9Z4oGBRXXhc0TT5J5VvGYapz247/QlnB3pYLp4zjnk7L+EGm89sPcUvdKPkHYXBxfZjxBAbQZY0XPH/A==

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

"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()

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


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.msi" % bin_contains)[0]

    # Installing the software
    print("Installing: %s" % bin_name)
    install_msi_if_needed(
        bin_name,
        min_version=package_version,
    )

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

bin_contains = "calibre-"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    sub_bin_name = bin_contains + "-%s.exe"
    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-64bit-%s.msi" % version
    download_url = "https://download.calibre-ebook.com/%s/calibre-64bit-%s.msi" % (version, version)

    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)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        if version != version_from_file and version_from_file != "":
            print("Changing version to the version number of the binary")
            os.rename(latest_bin, sub_bin_name % version_from_file)
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # 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

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
654a72a6422e3c9144c52aaf1b6064e8142b394f64745f1cb912f8d2024a590d : WAPT/changelog.txt
49da400b2bac0458fcdd5201b8db70ff998846fa5b454253e1f644f8205430ff : WAPT/control
4152db2fde14eb9f3015e05bfe41ddf78ce34b91a57b2e41b38f022033df4e86 : WAPT/icon.png
67b5346d302bdca7480b620a74438680d4b85499a8757cbc0e0ed0155fbb8357 : calibre-64bit-8.9.0.msi
d8acf8a67ba2066d8499f870e2e187a7ef107344c3a41e0e54a24635914b462f : luti.json
d5b00980c90e14117c9dc4777374c87d1ce1354a8e5fe6dd8ecc8dce136a3c32 : setup.py
3cf1126c4b480dd4eaa163a808b2f95dd7c52f2bdb29b751f4eb0f951752fabd : update_package.py

https://calibre-ebook.com/whats-new
6.3.0
===
Improve code
Min version Windows 10