2011-04-10 23:25:59 +10:00
|
|
|
# Description: Python module for character encoding auto-detection.
|
2013-03-28 01:11:04 +11:00
|
|
|
# URL: https://github.com/erikrose/chardet
|
2011-04-10 23:25:59 +10:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Marcin Karpezo, sirmacik at crux dot org dot pl
|
2014-01-20 00:51:42 +11:00
|
|
|
# Depends on: setuptools
|
2011-04-10 23:25:59 +10:00
|
|
|
|
|
|
|
name=python2-chardet
|
2013-03-28 01:11:04 +11:00
|
|
|
version=2.1.1
|
2011-04-10 23:25:59 +10:00
|
|
|
release=1
|
2013-03-28 01:11:04 +11:00
|
|
|
source=(https://pypi.python.org/packages/source/c/chardet/chardet-$version.tar.gz)
|
2011-04-10 23:25:59 +10:00
|
|
|
|
|
|
|
build() {
|
2013-03-28 01:11:04 +11:00
|
|
|
cd chardet-$version
|
2014-01-27 18:53:42 +11:00
|
|
|
/usr/bin/python setup.py install --root=$PKG
|
2011-04-10 23:25:59 +10:00
|
|
|
find $PKG -name '*.egg-info' | xargs rm -rf
|
|
|
|
}
|