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