void-packages/srcpkgs/python3-parse/template

20 lines
604 B
Bash

# Template file for 'python3-parse'
pkgname=python3-parse
version=1.20.1
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=09002ca350ad42e76629995f71f7b518670bcf93548bdde3684fd55d2be51975
post_install() {
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
vlicense LICENSE
}