25 lines
720 B
Bash
25 lines
720 B
Bash
# 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 <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=5adc034b7c90e6a8586bd046bcbf6004e35e16b0d7e31de395513a50d729bbf6
|
|
|
|
pre_check() {
|
|
python3 setup.py build_ext --inplace
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|