blob: e3a4e4d70be05023cd2b133d53057fc6a2020157 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py3-wcwidth
_pkgname=wcwidth
pkgver=0.1.7
pkgrel=4
pkgdesc="Measures number of Terminal column cells of wide-character codes"
url="https://pypi.python.org/pypi/wcwidth"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-wcwidth" # Backwards compatibility
provides="py-wcwidth=$pkgver-r$pkgrel" # Backwards compatibility
check() {
cd "$builddir"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="5bc9625fbd10721a50a3ac7d7f91012cca8e4f83533f265cf56890498bc52a53b155c82e67d6bc5523a5593c8d7992a1dec2a0f590318170eddf987c56f9c368 wcwidth-0.1.7.tar.gz"
|