TwistedConch: 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:59:49 +02:00
parent e5d6d5d6fa
commit 46877987d6
2 changed files with 4 additions and 4 deletions

View File

@ -28,9 +28,9 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
cd $PKG_BUILD cd $PKG_BUILD
python setup.py build --cross-compile 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 # 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/conch/test rm -rf .install/usr/lib/python*/site-packages/twisted/conch/test

View File

@ -25,8 +25,8 @@ PKG_ARCH="any"
PKG_LICENSE="MIT" PKG_LICENSE="MIT"
PKG_SITE="http://twistedmatrix.com/" PKG_SITE="http://twistedmatrix.com/"
PKG_URL="http://twistedmatrix.com/Releases/Conch/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_URL="http://twistedmatrix.com/Releases/Conch/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="Python distribute TwistedCore pyasn1 pycrypto" PKG_DEPENDS="Python TwistedCore pyasn1 pycrypto"
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross TwistedCore" PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
PKG_SECTION="python/web" PKG_SECTION="python/web"
PKG_SHORTDESC="TwistedConch: an SSHv2 implementation written in Python" PKG_SHORTDESC="TwistedConch: an SSHv2 implementation written in Python"