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 +}