new package: add package 'setuptools'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-07-25 15:56:45 +02:00
parent 3a10ee9fb0
commit e0d28e02c6
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/bin/sh
. config/options $1
. config/options.python
cd $PKG_BUILD
$PYTHON setup.py install --prefix=$ROOT/$TOOLCHAIN
$PYTHON setup.py install --prefix=$SYSROOT_PREFIX/usr

View File

@ -0,0 +1,8 @@
#!/bin/sh
. config/options $1
. config/options.python
PKG_SRC_DIR=`ls -d $PKG_BUILD`
$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --prefix=$INSTALL/usr $PKG_SRC_DIR

View File

@ -0,0 +1,14 @@
PKG_NAME="setuptools"
PKG_VERSION="0.6c11"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://peak.telecommunity.com/DevCenter/setuptools"
PKG_URL="http://pypi.python.org/packages/source/s/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="Python"
PKG_BUILD_DEPENDS="toolchain Python"
PKG_PRIORITY="optional"
PKG_SECTION="python/devel"
PKG_SHORTDESC="setuptools: A collection of enhancements to the Python distutils"
PKG_LONGDESC="Packages built and distributed using setuptools look to the user like ordinary Python packages based on the distutils. Your users don't need to install or even know about setuptools in order to use them, and you don't have to include the entire setuptools package in your distributions. By including just a single bootstrap module (a 7K .py file), your package will automatically download and install setuptools if the user is building your package from source and doesn't have a suitable version already installed."
PKG_IS_ADDON="no"