mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
PyYAML: 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:
parent
46877987d6
commit
eaf552095e
@ -27,4 +27,5 @@ export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"
|
|||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
|
|
||||||
python setup.py build --cross-compile bdist_egg --exclude-source-files
|
python setup.py build --cross-compile
|
||||||
|
python setup.py install --root=./.install --prefix=/usr
|
||||||
|
@ -22,9 +22,4 @@
|
|||||||
|
|
||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
PKG_SRC_DIR=`ls -d $PKG_BUILD`
|
cp -PR $PKG_BUILD/.install/* $INSTALL
|
||||||
|
|
||||||
PYTHON_IMAGE_DIR="`ls -d $INSTALL/usr/lib/python*`"
|
|
||||||
export PYTHONPATH="$PYTHON_IMAGE_DIR/site-packages"
|
|
||||||
|
|
||||||
$TOOLCHAIN/bin/easy_install --exclude-scripts --zip-ok --no-deps --quiet --prefix=$INSTALL/usr $PKG_SRC_DIR/dist/*.egg
|
|
||||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
|||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://pyyaml.org/"
|
PKG_SITE="http://pyyaml.org/"
|
||||||
PKG_URL="http://pyyaml.org/download/pyyaml/$PKG_NAME-$PKG_VERSION.tar.gz"
|
PKG_URL="http://pyyaml.org/download/pyyaml/$PKG_NAME-$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS="Python distribute yaml"
|
PKG_DEPENDS="Python yaml"
|
||||||
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross yaml"
|
PKG_BUILD_DEPENDS="toolchain Python distutilscross yaml"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="python/web"
|
PKG_SECTION="python/web"
|
||||||
PKG_SHORTDESC="PyYAML: a next generation YAML parser and emitter for Python."
|
PKG_SHORTDESC="PyYAML: a next generation YAML parser and emitter for Python."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user