vp-build/srcpkgs/python3-tokenize-rt/template

21 lines
650 B
Bash

# Template file for 'python3-tokenize-rt'
pkgname=python3-tokenize-rt
version=4.1.0
revision=2
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 <python.bogdan@gmail.com>"
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
}