From 3d0d3d2aac46940959e7f4818bbe8d0ad288b604 Mon Sep 17 00:00:00 2001 From: Daniel de Kok Date: Tue, 11 May 2010 19:45:26 +0200 Subject: [PATCH] libraries/python-levenshtein: Updated for version 0.10.1 --- libraries/python-levenshtein/README | 1 - libraries/python-levenshtein/python-levenshtein.SlackBuild | 7 ++++--- libraries/python-levenshtein/python-levenshtein.info | 2 +- 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"