
Pandoc
Paquet d’installation silencieuse pour Pandoc
3.7-1
- package: tis-pandoc
- name: Pandoc
- version: 3.7-1
- maintainer: Jordan ARNAUD
- licence: GNU GENERAL PUBLIC LICENSE
- target_os: darwin
- architecture: arm
- signature_date:
- size: 41.14 Mo
- homepage : https://pandoc.org/
package : tis-pandoc
version : 3.7-1
architecture : arm
section : base
priority : optional
name : Pandoc
categories :
maintainer : Jordan ARNAUD
description : Pandoc can convert documents to markdown, reStructuredText, textile, HTML, DocBook, LaTeX and many others.
depends :
conflicts :
maturity : PROD
locale :
target_os : darwin
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 : b4d7c967-33b5-4a59-b837-d36a738e4aea
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 : 2025-05-20T07:04:43.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 : O87zCkrjDLzBIpnAQe748FzLbSKIrdJvHQE+nrnXvQkzSNarbWtz7v3v4vBIKE70lTq8LNJ+lPsNPZx01Jx6P73fK/bUnSWHrA0veGud4z2K5+g36z8fXmSV7fhxWsiVnyaLR5DpPayGEdLIcjIlkiggOBmVPsSbHbpPE2NTZV94IcBagbyCNmWPTFmxRoJ1sZLt/aUI0YarDrFnG5Rq1seJrJtr3dovdloEgFo2eCrcUPJ3PZnE26eQvGfzM2DYeubIBFIsus6Y/MRk0Hd0+KJxyvQdULmzvUEJmuGyuAgm8YyfUf4P/hVNjXAjrOIGJBck1JP24CiaTFhoKoublg==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
bin_name = glob.glob("*.pkg")[0]
install_pkg(
bin_name,
key="pkgid:net.johnmacfarlane.pandoc",
)
def uninstall():
uninstall_pkg("pkgid:net.johnmacfarlane.pandoc")
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"
update_dict = {
"bin_contains": {
"windows-x64": "windows-x86_64.msi",
"debian_based-x64": "amd64.deb",
"debian_based-arm64" :"arm64.deb",
"darwin-arm": "arm64-macOS.pkg",
"darwin-x64": "x86_64-macOS.pkg"
},
}
# Getting latest version information from official sources
print("API used is: %s" % api_url)
json_load = wgets(api_url, proxies=proxies, as_json=True)
version = json_load["tag_name"].replace("v", "").replace(".windows", "")
for to_download in json_load["assets"]:
if update_dict["bin_contains"][control.target_os + "-" + ensure_list(control.architecture)[0]] in to_download["name"]:
download_url = to_download["browser_download_url"]
latest_bin = to_download["name"]
#version = to_download["name"].split('-')[1]
break
# Deleting binaries
for f in glob.glob("*.pkg"):
if f != latest_bin:
remove_file(f)
# Downloading latest binaries
print("Download URL is: %s" % download_url)
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, 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
d7ce5e8b4f3585c622157a5f2131884372acfc826b018d9927c6f791f6780bb6 : WAPT/control
22de6a0dfd701ba4d09d6f12a7dba7ba5049806ef80197b1a725a05280868691 : WAPT/icon.png
66b6a68c788b51cc738f4bfe6091cab1954cc41aa828d6e34de0617bf26d762c : luti.json
7666e9ac94bc22e94954977dcbb10992b0de7745d38ac861c3a46903e42c257f : pandoc-3.7-arm64-macOS.pkg
08430366d9c08208fd1ce16601a61c68b3064797c10b6807eb9869160fb70195 : setup.py
e974db990bc1065aa37a47558c14dec10bb8e0a7954ed5760f31b2466dcd10a9 : update_package.py