mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: python-wcwidth-0.1.7
This commit is contained in:
parent
6ad4a95c73
commit
1ed4e7fc8b
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-wcwidth/template
Normal file
31
srcpkgs/python-wcwidth/template
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Template file for 'python-wcwidth'
|
||||||
|
pkgname=python-wcwidth
|
||||||
|
version=0.1.7
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
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)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://github.com/jquast/wcwidth"
|
||||||
|
license="MIT"
|
||||||
|
distfiles="${PYPI_SITE}/w/wcwidth/wcwidth-${version}.tar.gz"
|
||||||
|
checksum=3df37372226d6e63e1b1e1eda15c594bca98a22d33a23832a90998faa96bc65e
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-wcwidth_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3"
|
||||||
|
pycompile_module="wcwidth"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE.txt LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-wcwidth
Symbolic link
1
srcpkgs/python3-wcwidth
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-wcwidth
|
Loading…
Add table
Reference in a new issue