1 # Maintainer : Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: William Rea <sillywilly@gmail.com>
9 url="https://github.com/chardet/chardet"
12 pkgdesc="Python3 module for character encoding auto-detection"
13 makedepends=('python-setuptools')
14 checkdepends=('python-pytest')
15 source=("https://pypi.io/packages/source/c/chardet/chardet-${pkgver}.tar.gz")
16 sha512sums=('3853248584d53d977abe0e6ab856e1526fd7360d9b94b4f08d03895da80ba9efac8882dbd3f919f0d52b0699c0d7fd68edb223c37512685976c6f2b212fbe0ff')
19 cd "$srcdir"/chardet-$pkgver
24 cd "$srcdir"/chardet-$pkgver
30 python setup.py install --root="$pkgdir" --optimize=1