libraries/Nevow: Fixed python path

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2012-09-16 12:14:14 -04:00
parent 2a7949f879
commit 12c2ebba14

View file

@ -27,7 +27,7 @@
PRGNAM=Nevow
VERSION=${VERSION:-0.10.0}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -79,8 +79,8 @@ python setup.py install --root=$PKG
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/lib${LIBDIRSUFFIX}/python2.6/site-packages
mv $PKG/usr/twisted $PKG/usr/lib${LIBDIRSUFFIX}/python2.6/site-packages
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages
mv $PKG/usr/twisted $PKG/usr/lib${LIBDIRSUFFIX}/python2.7/site-packages
mkdir -p $PKG/usr/man/man1
mv $PKG/usr/doc/man/* $PKG/usr/man/man1