mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package: add package 'distribute' to replace package 'setuptools'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1f5f3dea44
commit
99c18a94ee
13
packages/python/devel/distribute/build
Executable file
13
packages/python/devel/distribute/build
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
#PYTHON_LIB_DIR="`ls -d $SYSROOT_PREFIX/usr/lib/python*`"
|
||||
#PYTHON_IMAGE_DIR="`ls -d $ROOT/$BUILD/image/system/usr/lib/python*`"
|
||||
|
||||
#export PYTHONPATH="$PYTHON_LIB_DIR/site-packages:$PYTHON_IMAGE_DIR/site-packages"
|
||||
|
||||
python setup.py install --prefix=$ROOT/$TOOLCHAIN
|
||||
#python setup.py install --prefix=$SYSROOT_PREFIX/usr
|
10
packages/python/devel/distribute/install
Executable file
10
packages/python/devel/distribute/install
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options $1
|
||||
|
||||
PKG_SRC_DIR=`ls -d $PKG_BUILD`
|
||||
|
||||
PYTHON_IMAGE_DIR="`ls -d $ROOT/$BUILD/image/system/usr/lib/python*`"
|
||||
export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages"
|
||||
|
||||
$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --prefix=$INSTALL/usr $PKG_SRC_DIR
|
14
packages/python/devel/distribute/meta
Normal file
14
packages/python/devel/distribute/meta
Normal file
@ -0,0 +1,14 @@
|
||||
PKG_NAME="distribute"
|
||||
PKG_VERSION="0.6.14"
|
||||
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/d/$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="distribute: A collection of enhancements to the Python distutils"
|
||||
PKG_LONGDESC="Distribute is intended to replace Setuptools as the standard method for working with Python module distributions. Packages built and distributed using distribute 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"
|
Loading…
x
Reference in New Issue
Block a user