# Template file for 'python3-parse'
pkgname=python3-parse
version=1.21.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Parse strings using the format() syntax (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/r1chardj0n3s/parse"
distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz"
checksum=937725d51330ffec9c7a26fdb5623baa135d8ba8ed78817ea9523538844e3ce4

post_install() {
	sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
	vlicense LICENSE
}
