# Template file for 'python3-cwcwidth'
pkgname=python3-cwcwidth
version=0.1.9
revision=2
build_style=python3-pep517
hostmakedepends="python3-Cython python3-setuptools python3-wheel"
makedepends="python3-devel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python bindings for wc(s)width"
maintainer="icp <pangolin@vivaldi.net>"
license="MIT"
homepage="https://github.com/sebastinas/cwcwidth"
changelog="https://raw.githubusercontent.com/sebastinas/cwcwidth/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/c/cwcwidth/cwcwidth-${version}.tar.gz"
checksum=f19d11a0148d4a8cacd064c96e93bca8ce3415a186ae8204038f45e108db76b8

pre_check() {
	python3 setup.py build_ext --inplace
}

post_install() {
	vlicense LICENSE
}
