From e0d28e02c6a4eaf57a7a5cbddef04ee330a3a5e0 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 25 Jul 2010 15:56:45 +0200 Subject: [PATCH] new package: add package 'setuptools' Signed-off-by: Stephan Raue --- packages/python/devel/setuptools/build | 9 +++++++++ packages/python/devel/setuptools/install | 8 ++++++++ packages/python/devel/setuptools/meta | 14 ++++++++++++++ 3 files changed, 31 insertions(+) create mode 100755 packages/python/devel/setuptools/build create mode 100755 packages/python/devel/setuptools/install create mode 100644 packages/python/devel/setuptools/meta diff --git a/packages/python/devel/setuptools/build b/packages/python/devel/setuptools/build new file mode 100755 index 0000000000..cf268d7e55 --- /dev/null +++ b/packages/python/devel/setuptools/build @@ -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 diff --git a/packages/python/devel/setuptools/install b/packages/python/devel/setuptools/install new file mode 100755 index 0000000000..63c6608658 --- /dev/null +++ b/packages/python/devel/setuptools/install @@ -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 diff --git a/packages/python/devel/setuptools/meta b/packages/python/devel/setuptools/meta new file mode 100644 index 0000000000..b7d1f5e090 --- /dev/null +++ b/packages/python/devel/setuptools/meta @@ -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"