From 2b8e3caaf1b3b4b342a043c677b3cadafd8907c9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 24 May 2012 16:58:45 +0200 Subject: [PATCH] wokkel: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute' Signed-off-by: Stephan Raue --- packages/python/web/wokkel/build | 3 ++- packages/python/web/wokkel/install | 7 +------ packages/python/web/wokkel/meta | 4 ++-- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/packages/python/web/wokkel/build b/packages/python/web/wokkel/build index a5c7622968..69832db409 100755 --- a/packages/python/web/wokkel/build +++ b/packages/python/web/wokkel/build @@ -27,4 +27,5 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD -python setup.py build --cross-compile bdist_egg --exclude-source-files +python setup.py build --cross-compile +python setup.py install --root=./.install --prefix=/usr diff --git a/packages/python/web/wokkel/install b/packages/python/web/wokkel/install index f113043c99..85a37ef61d 100755 --- a/packages/python/web/wokkel/install +++ b/packages/python/web/wokkel/install @@ -22,9 +22,4 @@ . config/options $1 -PKG_SRC_DIR=`ls -d $PKG_BUILD` - -PYTHON_IMAGE_DIR="`ls -d $INSTALL/usr/lib/python*`" -export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages" - -$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg +cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/python/web/wokkel/meta b/packages/python/web/wokkel/meta index 4086740d92..33aa095d61 100644 --- a/packages/python/web/wokkel/meta +++ b/packages/python/web/wokkel/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="free" PKG_SITE="http://wokkel.ik.nu/" PKG_URL="http://wokkel.ik.nu/releases/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="Python distribute TwistedWords" -PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross TwistedWords" +PKG_DEPENDS="Python TwistedWords" +PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedWords" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="wokkel: Wokkel is a Python module for experimenting with future enhancements to TwistedWords"