summaryrefslogtreecommitdiff
path: root/repo/python/python-chardet.xibuild
blob: 81db06f475a88f958b478ffa8576a41be1857bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

MAKEDEPS="python"
DEPS=""

PKG_VER=4.0.0
SOURCE=https://files.pythonhosted.org/packages/ee/2d/9cdc2b527e127b4c9db64b86647d567985940ac3698eeabc7ffaccb4ea61/chardet-$PKG_VER.tar.gz
DESC="Universal encoding detector for Python 2 and 3"

build() {
    python setup.py build
}

package () {
    python setup.py install --root="$PKG_DEST" --optimize=1
}