tis-pandoc icon

Pandoc

Paquet d'installation silencieuse pour Pandoc

3.12-1

  • package: tis-pandoc
  • name: Pandoc
  • version: 3.12-1
  • maintainer: Amel FRADJ
  • licence: GNU GENERAL PUBLIC LICENSE
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 41.84 Mo
  • homepage : https://pandoc.org/

package           : tis-pandoc
version           : 3.12-1
architecture      : x64
section           : base
priority          : optional
name              : Pandoc
categories        : 
maintainer        : Amel FRADJ
description       : Pandoc can convert documents to markdown, reStructuredText, textile, HTML, DocBook, LaTeX and many others.
depends           : 
conflicts         : 
maturity          : PROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Pandoc peut convertir des documents en markdown, reStructuredText, textile, HTML, DocBook, LaTeX et bien d'autres.
description_pl    : Pandoc może konwertować dokumenty do formatu Markdown, ReStructuredText, tekstylnego, HTML, DocBook, LaTeX i wielu innych.
description_de    : Pandoc kann Dokumente in Markdown, reStructuredText, Textile, HTML, DocBook, LaTeX und viele andere konvertieren.
description_es    : Pandoc puede convertir documentos a Markdown, reStructuredText, textil, HTML, DocBook, LaTeX y muchos otros.
description_pt    : Pandoc pode converter documentos em markdown, reStructuredText, têxtil, HTML, DocBook, LaTeX e muitos outros.
description_it    : Pandoc può convertire documenti in markdown, reStructuredText, tessile, HTML, DocBook, LaTeX e molti altri.
description_nl    : Pandoc kan documenten converteren naar markdown, reStructuredText, textiel, HTML, DocBook, LaTeX en vele andere.
description_ru    : Pandoc может конвертировать документы в Markdown, reStructuredText, Textile, HTML, DocBook, LaTeX и многие другие.
audit_schedule    : 
editor            : 
keywords          : 
licence           : GNU GENERAL PUBLIC LICENSE
homepage          : https://pandoc.org/
package_uuid      : 7e208b6e-338f-457c-ad19-b19d3f272831
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://github.com/jgm/pandoc/blob/main/changelog.md
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 22de6a0dfd701ba4d09d6f12a7dba7ba5049806ef80197b1a725a05280868691
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2026-10-04T08:32:44.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         : absAZKXuoW9ZBXcLzV1svZkmdF906xg1/mtgqjWaQnIM5msmxZbO4S0NI4Y03HlAlW9JuYAHjP+t7wQXTApQfTE2iOorYVfhvIJ88EhZfBL4umtBnB6nGRLXU4/1oHDnoa9iQPORGOAoLJJSpwVkp8PUEoof2ESpC75I6Hie5LXhlljdhQ+M/8/WxmMb6uJCyIp+q5yfOhCa9EtfRT4i+ecEE3At6MOZGqxyHrEe886inKj7Ey+L5PB8PT6Bh5rFPzCtF6ooGGa4YsJS49iQgglKoHxuxadryl6h95npOhwmSDmfH478y5WbP8ocp6S0NZUx4YuatuYAWw8OXgp5VQ==

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

r"""
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


def install():
    # Declaring local variables
    bin_name = glob.glob('pandoc-*-windows-x86_64.msi')[0]
    # Installing the software
   
    install_msi_if_needed(bin_name)



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


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    api_url = "https://api.github.com/repos/jgm/pandoc/releases/latest"

    # Get data from API
    releases_dict = json.loads(wgets(api_url, proxies=proxies))
    msi_found = False  # Flag pour indiquer la découverte d'un fichier .msi
    for release in releases_dict:
        if msi_found:
            break
        for asset in releases_dict["assets"]:
            if asset["browser_download_url"].endswith(".msi") :
                url_download = asset["browser_download_url"]
                latest_bin = url_download.split("/")[-1]
                version = releases_dict["name"][7:]
                msi_found = True  # Mettre à jour le flag pour indiquer qu'un msi a été trouvé
                break

    # Deleting binaries
    for f in glob.glob("*.msi"):
        if f != latest_bin:
            remove_file(f)

    # Downloading latest binaries
    print("Download URL is: %s" % url_download)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_download, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)
        
    control.set_software_version(version)
    control.save_control_to_wapt()

38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
335e73bc23c90253cf8185ac6bcaa803a7123dfff43f59ef27ca91a411c7a32e : WAPT/control
22de6a0dfd701ba4d09d6f12a7dba7ba5049806ef80197b1a725a05280868691 : WAPT/icon.png
9971eb4e884844cde667f4cf571c90e3b22dcb2a13d890186248263c168d9bb7 : luti.json
a1342617c3ec4adb2e005284b566a9fde5dc20ee67012bbd9694fdda93fdfd61 : pandoc-3.12-windows-x86_64.msi
d70532f3b6c76d2c0e09b3d894ca0b8be4371a249ef8c0f860333738fe344cc4 : setup.py
f55df141ab3ef08e771b5eeacb1cf64c96e4368451d59e3fab1c5837a1c50f23 : update_package.py