terminal_markdown_viewer: remove package
Does not support Python >=3.9, no releases since 2016. https://github.com/axiros/terminal_markdown_viewer/issues/86
This commit is contained in:
parent
2cd22cfb8a
commit
4fced2175e
3 changed files with 1 additions and 40 deletions
|
@ -340,6 +340,7 @@ replaces="
|
||||||
srw<=0.7_1
|
srw<=0.7_1
|
||||||
tagainijisho<=1.0.3_1
|
tagainijisho<=1.0.3_1
|
||||||
taizen<=0.0.0.20180808_4
|
taizen<=0.0.0.20180808_4
|
||||||
|
terminal_markdown_viewer<=1.6.3_4
|
||||||
tlsdate<=0.0.13_16
|
tlsdate<=0.0.13_16
|
||||||
traverso<=0.49.6_2
|
traverso<=0.49.6_2
|
||||||
ttyload-git<=20141117_4
|
ttyload-git<=20141117_4
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
--- a/mdv/markdownviewer.py
|
|
||||||
+++ b/mdv/markdownviewer.py
|
|
||||||
@@ -129,6 +129,9 @@
|
|
||||||
import io
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
+
|
|
||||||
+PY3 = True if sys.version_info[0] > 2 else False
|
|
||||||
+
|
|
||||||
import textwrap
|
|
||||||
is_app = 0
|
|
||||||
# code analysis for hilite:
|
|
||||||
@@ -158,6 +161,9 @@
|
|
||||||
from HTMLParser import HTMLParser
|
|
||||||
envget = os.environ.get
|
|
||||||
|
|
||||||
+if PY3:
|
|
||||||
+ unichr = chr
|
|
||||||
+
|
|
||||||
# ---------------------------------------------------------------------- Config
|
|
||||||
hr_sep, txt_block_cut, code_pref, list_pref, bquote_pref, hr_ends = \
|
|
||||||
'─', '✂', '| ', '- ', '|', '◈'
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Template file for 'terminal_markdown_viewer'
|
|
||||||
pkgname=terminal_markdown_viewer
|
|
||||||
version=1.6.3
|
|
||||||
revision=4
|
|
||||||
build_style=python3-module
|
|
||||||
pycompile_module="mdv"
|
|
||||||
hostmakedepends="python3-setuptools"
|
|
||||||
depends="python3-docopt python3-Markdown python3-Pygments python3-tabulate python3-yaml"
|
|
||||||
short_desc="Styled Terminal Markdown Viewer"
|
|
||||||
maintainer="Andrew Benson <abenson@gmail.com>"
|
|
||||||
license="BSD-3-Clause"
|
|
||||||
homepage="https://github.com/axiros/terminal_markdown_viewer"
|
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
||||||
checksum=58dbdf8c051a2d7f8c00e4dc13c655c335cbc2bc96851dd0388d73a21c4507b6
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue