From 3d5ec14501a1ff17dd975a52a1514f9850c26909 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Fri, 25 Feb 2022 11:47:41 -0500 Subject: [PATCH] terminal_markdown_viewer: remove package Does not support Python >=3.9, no releases since 2016. https://github.com/axiros/terminal_markdown_viewer/issues/86 --- srcpkgs/removed-packages/template | 1 + .../patches/unichr.patch | 22 ------------------- srcpkgs/terminal_markdown_viewer/template | 18 --------------- 3 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 srcpkgs/terminal_markdown_viewer/patches/unichr.patch delete mode 100644 srcpkgs/terminal_markdown_viewer/template diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 2f2c9c4fe497..81b43de4f622 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -340,6 +340,7 @@ replaces=" srw<=0.7_1 tagainijisho<=1.0.3_1 taizen<=0.0.0.20180808_4 + terminal_markdown_viewer<=1.6.3_4 tlsdate<=0.0.13_16 traverso<=0.49.6_2 ttyload-git<=20141117_4 diff --git a/srcpkgs/terminal_markdown_viewer/patches/unichr.patch b/srcpkgs/terminal_markdown_viewer/patches/unichr.patch deleted file mode 100644 index 235e44e12901..000000000000 --- a/srcpkgs/terminal_markdown_viewer/patches/unichr.patch +++ /dev/null @@ -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 = \ - '─', '✂', '| ', '- ', '|', '◈' diff --git a/srcpkgs/terminal_markdown_viewer/template b/srcpkgs/terminal_markdown_viewer/template deleted file mode 100644 index cf6dc4cbaa6c..000000000000 --- a/srcpkgs/terminal_markdown_viewer/template +++ /dev/null @@ -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 " -license="BSD-3-Clause" -homepage="https://github.com/axiros/terminal_markdown_viewer" -distfiles="${homepage}/archive/${version}.tar.gz" -checksum=58dbdf8c051a2d7f8c00e4dc13c655c335cbc2bc96851dd0388d73a21c4507b6 - -post_install() { - vlicense LICENSE -}