28 lines
762 B
Bash
28 lines
762 B
Bash
# Template file for 'python-wcwidth'
|
|
pkgname=python-wcwidth
|
|
version=0.2.5
|
|
revision=4
|
|
wrksrc="wcwidth-${version}"
|
|
build_style=python-module
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-backports.functools_lru_cache"
|
|
short_desc="Measures no. of terminal column cells of wide-character codes (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/jquast/wcwidth"
|
|
distfiles="${PYPI_SITE}/w/wcwidth/wcwidth-${version}.tar.gz"
|
|
checksum=c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-wcwidth_package() {
|
|
depends="python3"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|