From f46aa2b49d3e22cfcdea546dd25d096badec997d Mon Sep 17 00:00:00 2001 From: meator Date: Sat, 3 Jul 2021 15:54:21 +0200 Subject: [PATCH] New package: txt2tags-3.7 This commit adds the python3 version of txt2tags. --- srcpkgs/txt2tags/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/txt2tags/template diff --git a/srcpkgs/txt2tags/template b/srcpkgs/txt2tags/template new file mode 100644 index 00000000000..ac72e72deae --- /dev/null +++ b/srcpkgs/txt2tags/template @@ -0,0 +1,19 @@ +# Template file for 'txt2tags' +pkgname=txt2tags +version=3.7 +revision=1 +build_style=python3-module +hostmakedepends="python3 python3-setuptools" +depends="python3" +short_desc="Tool for converting plain text into many markup languages" +maintainer="meator " +license="GPL-2.0-or-later" +homepage="https://txt2tags.org/" +distfiles="https://github.com/txt2tags/txt2tags/archive/refs/tags/${version}.tar.gz" +checksum=ba745fc1aa98996578afadeb325173f7032a40f161dc4f6f7a7aa08848d11d03 + +do_check() { + vsed -i test/lib.py -e 's:TXT2TAGS = ".*:TXT2TAGS = "build/lib/txt2tags.py":' + chmod u+x build/lib/txt2tags.py + python3 test/run.py +}