python-wcwidth: update to 0.2.5.

This commit is contained in:
Kartik Singh 2020-09-13 19:00:39 +05:30 committed by Andrew J. Hesford
parent 162fcd65b6
commit 0a28bd8180

View file

@ -1,31 +1,27 @@
# Template file for 'python-wcwidth'
pkgname=python-wcwidth
version=0.1.7
revision=3
archs=noarch
version=0.2.5
revision=1
wrksrc="wcwidth-${version}"
build_style=python-module
pycompile_module="wcwidth"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Measures number of terminal column cells of wide-character codes (Python2)"
short_desc="Measures no. of terminal column cells of wide-character codes (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/jquast/wcwidth"
license="MIT"
homepage="https://github.com/jquast/wcwidth"
distfiles="${PYPI_SITE}/w/wcwidth/wcwidth-${version}.tar.gz"
checksum=3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e
checksum=c4d647b99872929fdb7bdcaa4fbe7f01413ed3d98077df798530e5b04f116c83
post_install() {
vlicense LICENSE.txt LICENSE
vlicense LICENSE
}
python3-wcwidth_package() {
archs=noarch
depends="python3"
pycompile_module="wcwidth"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt LICENSE
vlicense LICENSE
}
}