From 16d0574f38aca9a0c188732356097a93622da42d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 24 May 2012 16:59:02 +0200 Subject: [PATCH] TwistedWords: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute' Signed-off-by: Stephan Raue --- packages/python/web/TwistedWords/build | 4 ++-- packages/python/web/TwistedWords/meta | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/python/web/TwistedWords/build b/packages/python/web/TwistedWords/build index de52c79878..ae9a6b0423 100755 --- a/packages/python/web/TwistedWords/build +++ b/packages/python/web/TwistedWords/build @@ -28,9 +28,9 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" cd $PKG_BUILD python setup.py build --cross-compile -python setup.py install -O0 --no-compile --prefix /usr --root .install +python setup.py install --root=./.install --prefix=/usr # install to toolchain because its needed for other twisted modules - python setup.py install -O0 --no-compile --prefix $ROOT/$TOOLCHAIN + python setup.py install --prefix $ROOT/$TOOLCHAIN rm -rf .install/usr/lib/python*/site-packages/twisted/words/test diff --git a/packages/python/web/TwistedWords/meta b/packages/python/web/TwistedWords/meta index 9f67d9bc2b..a39df59f87 100644 --- a/packages/python/web/TwistedWords/meta +++ b/packages/python/web/TwistedWords/meta @@ -25,8 +25,8 @@ PKG_ARCH="any" PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Words/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" -PKG_DEPENDS="Python distribute TwistedCore" -PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross TwistedCore" +PKG_DEPENDS="Python TwistedCore" +PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedWords: An event-based networking framework for Internet applications"