
Pandoc
Silent install package for Pandoc
3.6.4-1
- package: tis-pandoc
- name: Pandoc
- version: 3.6.4-1
- maintainer: Amel FRADJ
- licence: GNU GENERAL PUBLIC LICENSE
- target_os: windows
- architecture: x64
- signature_date:
- size: 39.08 Mo
- homepage : https://pandoc.org/
package : tis-pandoc
version : 3.6.4-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 : 720fa4c0-1797-448f-a0ee-df7000ccdddd
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-03-21T20:20:29.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 : cfaG//NEbPw3FMNEzVvcbhKa8dZFuN3eeWSYo92e/HKH6ci0zUj2V2M01aVoWMEMs/RDx63ogqc+pdbdotOgBVSB3zdBPalPkBT5WpJkIrYfwnMv9MX6WAXuQ1qYSF1xCGHM/6tWlV8Wfe+xg3u7a5te1jrjZ/P/lzTHMPg+2MQMBerqCdcidX53WSmB/hv6OjXx/A370zGeDUvXhYFxsRWzUfesEZWcdPN7HJ0TsJI1PIbHGHQfh8sME5NwLdtbt5rGg7wh12q91oUE/U5QsatHoKYDORlTjqqZYa4r6DCmuqTlh2r8YXv4jiALhtvoEn/BBuOQcq703pVYlKQCKQ==
# -*- 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
cf64a76e8e350b737de9d1eac49b4c23de475dcf6c66ec88cf6d4241454552bc : WAPT/control
22de6a0dfd701ba4d09d6f12a7dba7ba5049806ef80197b1a725a05280868691 : WAPT/icon.png
e2d4379659abaa0e66364a35b870492c71733e333da9937fdbd3f19390c89d36 : luti.json
c8b050467ebe41dcd86f2c47b138cd8b527aed7299392dcd00a6eb71b40eaab7 : pandoc-3.6.4-windows-x86_64.msi
d70532f3b6c76d2c0e09b3d894ca0b8be4371a249ef8c0f860333738fe344cc4 : setup.py
f55df141ab3ef08e771b5eeacb1cf64c96e4368451d59e3fab1c5837a1c50f23 : update_package.py