void-packages/srcpkgs/python3-parse/template

19 lines
574 B
Bash

# Template file for 'python3-parse'
pkgname=python3-parse
version=1.19.1
revision=2
build_style=python3-pep517
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
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=cc3a47236ff05da377617ddefa867b7ba983819c664e1afe46249e5b469be464
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
vlicense LICENSE
}