24 lines
625 B
Bash
24 lines
625 B
Bash
# Template file for 'python3-parse'
|
|
pkgname=python3-parse
|
|
version=1.12.0
|
|
revision=4
|
|
wrksrc="parse-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3"
|
|
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=1b68657434d371e5156048ca4a0c5aea5afc6ca59a2fea4dd1a575354f617142
|
|
|
|
do_check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
post_install() {
|
|
sed -n '/Copyright/,/SOFTWARE\./p' parse.py >LICENSE
|
|
vlicense LICENSE
|
|
}
|