blob: 3bc89755c7f62218b64d23aff4c2b59e1496fb4b (
plain)
1 # Description: Encoding and language detection alternative to chardet
2 # URL: https://github.com/ousret/charset_normalizer
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: python3-setuptools
5
6 name=python3-charset-normalizer
7 version=2.0.12
8 release=1
9 source=(https://github.com/Ousret/charset_normalizer/archive/$version/$name-$version.tar.gz)
10
11 build() {
12 cd charset_normalizer-$version
13 /usr/bin/python3 setup.py build
14 /usr/bin/python3 setup.py install --root=$PKG \
15 --optimize=1 \
16 --skip-build
17 }
|