zope.interface: add distuilscross and distribute support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-10-19 20:28:32 +02:00
parent 85970c7ff9
commit 81a982b07b
3 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,10 @@
#!/bin/sh
. config/options $1
. config/options.python
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
cd $PKG_BUILD
$PYTHON setup.py bdist_egg --exclude-source-files
python setup.py build --cross-compile bdist_egg --exclude-source-files

View File

@ -1,7 +1,6 @@
#!/bin/sh
. config/options $1
. config/options.python
PKG_SRC_DIR=`ls -d $PKG_BUILD`

View File

@ -5,8 +5,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 setuptools"
PKG_BUILD_DEPENDS="toolchain Python setuptools"
PKG_DEPENDS="Python distribute"
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross"
PKG_PRIORITY="optional"
PKG_SECTION="python/web"
PKG_SHORTDESC="zopeinterface: zope.interface package from Zope 3"