New package: txt2tags-3.7

This commit adds the python3 version of txt2tags.
This commit is contained in:
meator 2021-07-03 15:54:21 +02:00 committed by Piotr
parent 8296e2d7d4
commit f46aa2b49d
1 changed files with 19 additions and 0 deletions

19
srcpkgs/txt2tags/template Normal file
View File

@ -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 <coder64@protonmail.com>"
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
}