libraries/python-levenshtein: Updated for version 0.10.1

This commit is contained in:
Daniel de Kok 2010-05-11 19:45:26 +02:00 committed by Robby Workman
parent d1d9c420a2
commit 3d0d3d2aac
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,3 @@
python-levenhstein is a C extension module for Python that can be python-levenhstein is a C extension module for Python that can be
used for fast calculation of string distances with the Levenshtein used for fast calculation of string distances with the Levenshtein
algorithm, as well as some other methods. algorithm, as well as some other methods.

View File

@ -55,14 +55,15 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
python setup.py bdist 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. # Generate HTML documentation that describes the module functions.
# Maybe we'll want to replace the Python version number with a variable # 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. # 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING Levenshtein.html NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING Levenshtein.html NEWS README $PKG/usr/doc/$PRGNAM-$VERSION

View File

@ -5,4 +5,4 @@ DOWNLOAD="http://trific.ath.cx/Ftp/python/levenshtein/python-Levenshtein-0.10.1.
MD5SUM="c21cb043bb2951b3197a0447bd61aba4" MD5SUM="c21cb043bb2951b3197a0447bd61aba4"
MAINTAINER="Daniel de Kok" MAINTAINER="Daniel de Kok"
EMAIL="danieldk@pobox.com" EMAIL="danieldk@pobox.com"
APPROVED="robw810" APPROVED="rworkman"