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

MAKEDEPS="python"
DEPS="python-unicodedata2"

PKG_VER=2.1.0
SOURCE=https://files.pythonhosted.org/packages/source/c/charset-normalizer/charset-normalizer-$PKG_VER.tar.gz
MAKEDEPS="python"
DESC="The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."

build() {
    python setup.py build
}

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