aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/python-chardet/README1
-rw-r--r--python/python-chardet/python-chardet.SlackBuild (renamed from python/python2-chardet/python2-chardet.SlackBuild)10
-rw-r--r--python/python-chardet/python-chardet.info (renamed from python/python2-chardet/python2-chardet.info)8
-rw-r--r--python/python-chardet/slack-desc (renamed from python/python2-chardet/slack-desc)22
-rw-r--r--python/python2-chardet/README1
5 files changed, 21 insertions, 21 deletions
diff --git a/python/python-chardet/README b/python/python-chardet/README
new file mode 100644
index 0000000000000..9ececd6900dc0
--- /dev/null
+++ b/python/python-chardet/README
@@ -0,0 +1 @@
+Universal encoding detector for Python 2 and 3.
diff --git a/python/python2-chardet/python2-chardet.SlackBuild b/python/python-chardet/python-chardet.SlackBuild
index 63a7882f61348..6ce71a57f2484 100644
--- a/python/python2-chardet/python2-chardet.SlackBuild
+++ b/python/python-chardet/python-chardet.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware build script for python2-chardet
+# Slackware build script for python-chardet
-# Copyright 2011 Mikko Värri, Finland
+# Copyright 2014 Mikko Värri, Finland
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,9 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-PRGNAM=python2-chardet
+PRGNAM=python-chardet
SRCNAM=chardet
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING docs/* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README.rst docs $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/python2-chardet/python2-chardet.info b/python/python-chardet/python-chardet.info
index 0dbd696306362..28b562a9a9cfe 100644
--- a/python/python2-chardet/python2-chardet.info
+++ b/python/python-chardet/python-chardet.info
@@ -1,8 +1,8 @@
-PRGNAM="python2-chardet"
-VERSION="2.1.1"
+PRGNAM="python-chardet"
+VERSION="2.2.1"
HOMEPAGE="https://pypi.python.org/pypi/chardet"
-DOWNLOAD="https://pypi.python.org/packages/source/c/chardet/chardet-2.1.1.tar.gz"
-MD5SUM="295367fd210d20f3febda615a88e1ef0"
+DOWNLOAD="https://pypi.python.org/packages/source/c/chardet/chardet-2.2.1.tar.gz"
+MD5SUM="4a758402eaefd0331bdedc7ecb6f452c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"
diff --git a/python/python2-chardet/slack-desc b/python/python-chardet/slack-desc
index 93a3d20f44865..caa96a1b60edd 100644
--- a/python/python2-chardet/slack-desc
+++ b/python/python-chardet/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-python2-chardet: python2-chardet (autodetection of character encoding in python)
-python2-chardet:
-python2-chardet: Character encoding auto-detection in Python for Python 2.x.
-python2-chardet:
-python2-chardet: Homepage: https://pypi.python.org/pypi/chardet
-python2-chardet:
-python2-chardet:
-python2-chardet:
-python2-chardet:
-python2-chardet:
-python2-chardet:
+python-chardet: python-chardet (autodetection of character encoding in python)
+python-chardet:
+python-chardet: Universal encoding detector for Python 2 and 3.
+python-chardet:
+python-chardet: Homepage: https://pypi.python.org/pypi/chardet
+python-chardet:
+python-chardet:
+python-chardet:
+python-chardet:
+python-chardet:
+python-chardet:
diff --git a/python/python2-chardet/README b/python/python2-chardet/README
deleted file mode 100644
index c834c08942d19..0000000000000
--- a/python/python2-chardet/README
+++ /dev/null
@@ -1 +0,0 @@
-Character encoding auto-detection in Python for Python 2.x.