milis/talimatname/genel/p/pychardet/talimat

25 lines
628 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Otomatik algılama karakteri kodlaması için Python modülü
# URL: https://pypi.io/packages/source/c/chardet
# Paketçi: Cihan_Alkan
# Gerekler: python python3 python-setuptools python3-setuptools
# Grup: kütüphane
isim=pychardet
surum=3.0.4
devir=1
kaynak=(https://pypi.io/packages/source/c/chardet/chardet-${surum}.tar.gz)
derle() {
cp -a chardet-$surum{,-py3}
cd "$SRC"/chardet-$surum
python setup.py build
python setup.py install --root="$PKG" --optimize=1 --skip-build
cd "$SRC"/chardet-$surum-py3
python3 setup.py build
python3 setup.py install --root="$PKG" --optimize=1 --skip-build
}