diff --git a/srcpkgs/python3-tokenize-rt/template b/srcpkgs/python3-tokenize-rt/template new file mode 100644 index 00000000000..65e6dcac58c --- /dev/null +++ b/srcpkgs/python3-tokenize-rt/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tokenize-rt' +pkgname=python3-tokenize-rt +version=4.1.0 +revision=1 +wrksrc="tokenize-rt-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Wrapper around the stdlib \`tokenize\` which roundtrips" +maintainer="k4leg " +license="MIT" +homepage="https://pypi.org/project/tokenize-rt" +# Don't use PyPI because tests are missing. +distfiles="https://github.com/asottile/tokenize-rt/archive/v${version}.tar.gz" +checksum=7043d391eae7e6ab3e2e69ab2995b4d9873f56805a55d2ba2db128f468efbace + +post_install() { + vlicense LICENSE +}