tis-marktext
0.17.1-0
Un éditeur open-source Markdown simple et élégant, axé sur la vitesse et la convivialité.
1409 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal

- package : tis-marktext
- name : Marktext
- version : 0.17.1-0
- categories : Office
- maintainer : WAPT Team,Tranquil IT
- editor : Jocs and contributors
- licence : opensource_free,MIT,wapt_public
- locale : all
- target_os : redhat_based
- impacted_process : MarkText
- architecture : all
- signature_date : 2024-05-28 11:00
- size : 75.49 Mo
- installed_size : 276.00 Mo
- homepage : https://www.marktext.cc/
package : tis-marktext
version : 0.17.1-0
architecture : all
section : base
priority : optional
name : Marktext
categories : Office
maintainer : WAPT Team,Tranquil IT
description : A simple and elegant open-source markdown editor that focused on speed and usability.
depends :
conflicts :
maturity : PROD
locale : all
target_os : redhat_based
min_wapt_version : 2.0
sources : https://github.com/marktext/marktext
installed_size : 276000000
impacted_process : MarkText
description_fr : Un éditeur open-source Markdown simple et élégant, axé sur la vitesse et la convivialité.
description_pl : Prosty i elegancki edytor markdown open-source, który koncentruje się na szybkości i łatwości użytkowania.
description_de : Ein einfacher und eleganter Open-Source-Markdown-Editor, der sich auf Geschwindigkeit und Benutzerfreundlichkeit konzentriert.
description_es : Un editor Markdown de código abierto simple y elegante que se centra en la velocidad y la usabilidad.
description_pt : Um editor markdown open-source simples e elegante, focado em velocidade e usabilidade.
description_it : Un editor Markdown open source semplice ed elegante, incentrato su velocità e usabilità.
description_nl : Een open-source markdown-editor die eenvoudig en elegant is, gericht op snelheid en bruikbaarheid.
description_ru : Простой и элегантный редактор Markdown с открытым исходным кодом, ориентированный на скорость и удобство использования.
audit_schedule :
editor : Jocs and contributors
keywords : marktext,markdown,editor
licence : opensource_free,MIT,wapt_public
homepage : https://www.marktext.cc/
package_uuid : 432a55c0-a16b-4804-a9d0-b1d8d5302e57
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version : 8
max_os_version :
icon_sha256sum : ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature : hum4aAZ2HSbyrYzPT9Y75nI3e4efV638QoDOWq/kV4FH7NDZqtC1qEefKZ1TtF0y+NI+d1Dwlc6YsscmKcdA3Ud96O1lQbnk227QVDXyyBAwHd5E47iDxPoXf3sxWAtKhB0sNTRxSjuoSdGnxaFJrtLwyPz5yZKSPChavfBbMadzzfAo1i+uOjXKBuCgNuueslWfYVITu79VFBMesBS6gzsw7sVLCpAcHjL7iVJOVrdczvHuh3UFXL8miH4/nGI2G6H0voo6rO9naVI4sqMUccX0Y4gvITtZ6Jr6Fg33qCQWYMqIXQkceOl31KsuVzQ/GA7oR2CAO2n9OHEIDkn90Q==
signature_date : 2024-05-28T11:00:09.809154
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
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
# Declaring local variables
bin_name = glob.glob("*.rpm")[0]
install_rpm(bin_name)
def uninstall():
uninstall_yum('marktext-%s' % control.get_software_version())
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import json
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
def update_package():
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
git_repo = "marktext/marktext"
url_api = "https://api.github.com/repos/%s/releases/latest" % git_repo
# Getting latest version information from official sources
print("API used is: %s" % url_api)
json_load = json.loads(wgets(url_api, proxies=proxies))
for download in json_load["assets"]:
if download["name"].endswith('.rpm') and 'x86_64' in download["name"] :
url_dl = download["browser_download_url"]
version = json_load["tag_name"].replace("v", "")
latest_bin = download["name"]
break
print("Downloading: %s" % latest_bin)
wget(url_dl, 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
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(Version(version))
control.save_control_to_wapt()
# Validating update-package-sources
return result
4eab051412261f5e9560280c6d22170c91091b8dfd838c763068fef6b02dd9ea : setup.py
: __pycache__
64dc581c1a0a295aba31be4439e2324f5bd1c8d22be5469d4c1d7ad6ad04c3f3 : update_package.py
ab4bca56acd317eecf8130ec445c383b6d4122df1c68a820d1ca86f34f3d3499 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
169516b5b69df50e51d5eb328880254c8bd3e46a3bc8d24c128e11f1c9001aea : luti.json
685a151943f854ebc9c475108fbe988bec6d5ead3b008337244ae33567de0a4e : marktext-x86_64.rpm
21fdcf283127fb2d144913c5a67ee6e0b4b5dc2d241f9d2f557ab98428784193 : WAPT/control