diff --git a/srcpkgs/python3-cwcwidth/template b/srcpkgs/python3-cwcwidth/template new file mode 100644 index 00000000000..d0da829d040 --- /dev/null +++ b/srcpkgs/python3-cwcwidth/template @@ -0,0 +1,24 @@ +# Template file for 'python3-cwcwidth' +pkgname=python3-cwcwidth +version=0.1.8 +revision=1 +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 " +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=5adc034b7c90e6a8586bd046bcbf6004e35e16b0d7e31de395513a50d729bbf6 + +pre_check() { + python3 setup.py build_ext --inplace +} + +post_install() { + vlicense LICENSE +}