From 2cdf2cda526a253346dd223a086663c91d5bc4b3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 24 May 2012 17:06:18 +0200 Subject: [PATCH] pycrypto: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute' Signed-off-by: Stephan Raue --- packages/python/security/pycrypto/build | 3 ++- packages/python/security/pycrypto/install | 7 +------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/python/security/pycrypto/build b/packages/python/security/pycrypto/build index a5c7622968..69832db409 100755 --- a/packages/python/security/pycrypto/build +++ b/packages/python/security/pycrypto/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/security/pycrypto/install b/packages/python/security/pycrypto/install index f113043c99..85a37ef61d 100755 --- a/packages/python/security/pycrypto/install +++ b/packages/python/security/pycrypto/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