Skip to content

Instantly share code, notes, and snippets.

Created March 27, 2013 13:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/5254117 to your computer and use it in GitHub Desktop.
Save anonymous/5254117 to your computer and use it in GitHub Desktop.
python2-chardet.diff
diff -Nru python2-chardet_new/.footprint python2-chardet/.footprint
--- python2-chardet_new/.footprint 2013-03-27 15:22:40.125787624 +0200
+++ python2-chardet/.footprint 2013-03-27 15:22:45.937778038 +0200
@@ -1,6 +1,4 @@
drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/chardetect.py
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/python2.7/
drwxr-xr-x root/root usr/lib/python2.7/site-packages/
@@ -71,6 +69,8 @@
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/sbcsgroupprober.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/sjisprober.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/sjisprober.pyc
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/test.py
+-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/test.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/universaldetector.py
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/universaldetector.pyc
-rw-r--r-- root/root usr/lib/python2.7/site-packages/chardet/utf8prober.py
diff -Nru python2-chardet_new/.md5sum python2-chardet/.md5sum
--- python2-chardet_new/.md5sum 2013-03-27 15:22:40.125787624 +0200
+++ python2-chardet/.md5sum 2013-03-27 15:22:45.938778036 +0200
@@ -1 +1 @@
-295367fd210d20f3febda615a88e1ef0 chardet-2.1.1.tar.gz
+ec771971bab5dd1943a10362ebd2fd4c python2-chardet-2.0.1.tgz
diff -Nru python2-chardet_new/Pkgfile python2-chardet/Pkgfile
--- python2-chardet_new/Pkgfile 2013-03-27 15:22:40.125787624 +0200
+++ python2-chardet/Pkgfile 2013-03-27 15:22:45.938778036 +0200
@@ -1,16 +1,16 @@
# Description: Python module for character encoding auto-detection.
-# URL: https://github.com/erikrose/chardet
+# URL: http://chardet.feedparser.org/
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Marcin Karpezo, sirmacik at crux dot org dot pl
# Depends on: python
name=python2-chardet
-version=2.1.1
+version=2.0.1
release=1
-source="https://pypi.python.org/packages/source/c/chardet/chardet-$version.tar.gz"
+source="http://chardet.feedparser.org/download/$name-$version.tgz"
build() {
- cd chardet-$version
+ cd $name-$version
python setup.py install --root=$PKG
find $PKG -name '*.egg-info' | xargs rm -rf
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment