zope.interface: cleanup build and install scripts, dont use 'easy_install', dont depend on 'distribute'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-24 16:58:31 +02:00
parent 0f862440c9
commit bc043c9425
3 changed files with 5 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://zope.org/Products/ZopeInterface/"
PKG_URL="http://www.zope.org/Products/ZopeInterface/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="Python distribute"
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross"
PKG_DEPENDS="Python"
PKG_BUILD_DEPENDS="toolchain Python distutilscross"
PKG_PRIORITY="optional"
PKG_SECTION="python/web"
PKG_SHORTDESC="zopeinterface: zope.interface package from Zope 3"