void-packages/srcpkgs/python3-parse/template

20 lines
604 B
Bash

# Template file for 'python3-parse'
pkgname=python3-parse
version=1.20.2
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="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://github.com/r1chardj0n3s/parse"
distfiles="${PYPI_SITE}/p/parse/parse-${version}.tar.gz"
checksum=b41d604d16503c79d81af5165155c0b20f6c8d6c559efa66b4b695c3e5a0a0ce
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
vlicense LICENSE
}