summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel de Kok <danieldk@pobox.com>2010-05-11 19:45:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:45:26 +0200
commit3d0d3d2aac46940959e7f4818bbe8d0ad288b604 (patch)
tree748cf77ed073eaf3f4de932bdc46310ecc9e1967
parentd1d9c420a240452ed7061987923c3a1472bf7309 (diff)
downloadslackbuilds-3d0d3d2aac46940959e7f4818bbe8d0ad288b604.tar.gz
libraries/python-levenshtein: Updated for version 0.10.1
-rw-r--r--libraries/python-levenshtein/README1
-rw-r--r--libraries/python-levenshtein/python-levenshtein.SlackBuild7
-rw-r--r--libraries/python-levenshtein/python-levenshtein.info2
3 files changed, 5 insertions, 5 deletions
diff --git a/libraries/python-levenshtein/README b/libraries/python-levenshtein/README
index e85f563228..69d943d69f 100644
--- a/libraries/python-levenshtein/README
+++ b/libraries/python-levenshtein/README
@@ -1,4 +1,3 @@
python-levenhstein is a C extension module for Python that can be
used for fast calculation of string distances with the Levenshtein
algorithm, as well as some other methods.
-
diff --git a/libraries/python-levenshtein/python-levenshtein.SlackBuild b/libraries/python-levenshtein/python-levenshtein.SlackBuild
index cc4bd9ac9a..5e3cb946a4 100644
--- a/libraries/python-levenshtein/python-levenshtein.SlackBuild
+++ b/libraries/python-levenshtein/python-levenshtein.SlackBuild
@@ -55,14 +55,15 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
python setup.py bdist
-tar -C $PKG -zxvf dist/$DISTNAM-$VERSION.linux-i686.tar.gz
+tar zxvf dist/$DISTNAM-$VERSION.linux-i686.tar.gz -C $PKG
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+( find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : \
+ | xargs strip --strip-unneeded 2> /dev/null )
# Generate HTML documentation that describes the module functions.
# Maybe we'll want to replace the Python version number with a variable
# in the future, but for the moment this is for Slackware Linux 11.
-PYTHONPATH=$PKG/usr/lib/python2.4/site-packages sh gendoc.sh --selfcontained
+PYTHONPATH=$PKG/usr/lib/python2.5/site-packages sh gendoc.sh --selfcontained
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING Levenshtein.html NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/libraries/python-levenshtein/python-levenshtein.info b/libraries/python-levenshtein/python-levenshtein.info
index 2e1ea56c43..b010d2b7a1 100644
--- a/libraries/python-levenshtein/python-levenshtein.info
+++ b/libraries/python-levenshtein/python-levenshtein.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://trific.ath.cx/Ftp/python/levenshtein/python-Levenshtein-0.10.1.
MD5SUM="c21cb043bb2951b3197a0447bd61aba4"
MAINTAINER="Daniel de Kok"
EMAIL="danieldk@pobox.com"
-APPROVED="robw810"
+APPROVED="rworkman"