diff --git a/packages/python/devel/distutilscross/build b/packages/python/devel/distutilscross/build deleted file mode 100755 index a913c6e315..0000000000 --- a/packages/python/devel/distutilscross/build +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# -# OpenELEC is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# OpenELEC is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC. If not, see . -################################################################################ - -. config/options $1 - -cd $PKG_BUILD - -python setup.py install --prefix=$ROOT/$TOOLCHAIN diff --git a/packages/python/devel/distutilscross/meta b/packages/python/devel/distutilscross/package.mk similarity index 88% rename from packages/python/devel/distutilscross/meta rename to packages/python/devel/distutilscross/package.mk index b4905fcb8f..9d370fc9d8 100644 --- a/packages/python/devel/distutilscross/meta +++ b/packages/python/devel/distutilscross/package.mk @@ -23,12 +23,20 @@ PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://bitbucket.org/lambacck/distutilscross/" PKG_URL="http://pypi.python.org/packages/source/d/distutilscross/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="" -PKG_BUILD_DEPENDS="toolchain Python setuptools" +PKG_DEPENDS_HOST="" +PKG_BUILD_DEPENDS_HOST="toolchain Python setuptools" PKG_PRIORITY="optional" PKG_SECTION="python/devel" PKG_SHORTDESC="distutilscross: Cross Compile Python Extensions" PKG_LONGDESC="distutilscross enhances distutils to support Cross Compile of Python extensions" -PKG_IS_ADDON="no" +PKG_IS_ADDON="no" PKG_AUTORECONF="no" + +make_host() { + : # nothing todo +} + +makeinstall_host() { + python setup.py install --prefix=$ROOT/$TOOLCHAIN +} diff --git a/packages/python/graphics/Imaging/meta b/packages/python/graphics/Imaging/meta index 394ff96e14..968b81c5ec 100644 --- a/packages/python/graphics/Imaging/meta +++ b/packages/python/graphics/Imaging/meta @@ -24,7 +24,7 @@ PKG_LICENSE="BSD" PKG_SITE="http://www.pythonware.com/products/pil/" PKG_URL="http://effbot.org/media/downloads/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python zlib freetype" -PKG_BUILD_DEPENDS="toolchain Python distutilscross zlib freetype libjpeg-turbo" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host zlib freetype libjpeg-turbo" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="pil: Imaging handling/processing for Python" diff --git a/packages/python/security/pycrypto/meta b/packages/python/security/pycrypto/meta index 291935f688..162baaf571 100644 --- a/packages/python/security/pycrypto/meta +++ b/packages/python/security/pycrypto/meta @@ -23,8 +23,8 @@ PKG_ARCH="any" PKG_LICENSE="LGPL" PKG_SITE="https://www.dlitz.net/software/pycrypto/" PKG_URL="http://pypi.python.org/packages/source/p/$PKG_NAME/$PKG_NAME-$PKG_VERSION.tar.gz" -PKG_DEPENDS="Python distutilscross" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_DEPENDS="Python distutilscross:host" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/security" PKG_SHORTDESC="PyCrypto - The Python Cryptography Toolkit" diff --git a/packages/python/system/pyasn1-modules/meta b/packages/python/system/pyasn1-modules/meta index f05c6dadd3..599d175a6c 100644 --- a/packages/python/system/pyasn1-modules/meta +++ b/packages/python/system/pyasn1-modules/meta @@ -24,7 +24,7 @@ PKG_LICENSE="BSD" PKG_SITE="http://sourceforge.net/projects/pyasn1/" PKG_URL="$SOURCEFORGE_SRC/pyasn1/pyasn1-modules/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python pyasn1" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="pyasn1-modules: a collection of protocols modules written in ASN.1 language." diff --git a/packages/python/system/pyasn1/meta b/packages/python/system/pyasn1/meta index c0700c9014..a738caf88c 100644 --- a/packages/python/system/pyasn1/meta +++ b/packages/python/system/pyasn1/meta @@ -24,7 +24,7 @@ PKG_LICENSE="BSD" PKG_SITE="http://sourceforge.net/projects/pyasn1/" PKG_URL="$SOURCEFORGE_SRC/pyasn1/pyasn1-devel/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="pyasn1: ASN.1 types and codecs" diff --git a/packages/python/system/simplejson/meta b/packages/python/system/simplejson/meta index e39d7927ea..a50ed63d60 100644 --- a/packages/python/system/simplejson/meta +++ b/packages/python/system/simplejson/meta @@ -24,7 +24,7 @@ PKG_LICENSE="OSS" PKG_SITE="http://pypi.python.org/pypi/simplejson" PKG_URL="http://pypi.python.org/packages/source/s/simplejson/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/system" PKG_SHORTDESC="simplejson: a simple, fast, complete, correct and extensible JSON encoder and decoder for Python 2.5+." diff --git a/packages/python/web/PyYAML/meta b/packages/python/web/PyYAML/meta index b3c981208b..34c94dccf6 100644 --- a/packages/python/web/PyYAML/meta +++ b/packages/python/web/PyYAML/meta @@ -24,7 +24,7 @@ PKG_LICENSE="OSS" PKG_SITE="http://pyyaml.org/" PKG_URL="http://pyyaml.org/download/pyyaml/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python yaml" -PKG_BUILD_DEPENDS="toolchain Python distutilscross yaml" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host yaml" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="PyYAML: a next generation YAML parser and emitter for Python." diff --git a/packages/python/web/TwistedConch/meta b/packages/python/web/TwistedConch/meta index cc5f4cdd1a..878c6d0d5d 100644 --- a/packages/python/web/TwistedConch/meta +++ b/packages/python/web/TwistedConch/meta @@ -24,7 +24,7 @@ PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Conch/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="Python TwistedCore pyasn1 pycrypto" -PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host TwistedCore" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedConch: an SSHv2 implementation written in Python" diff --git a/packages/python/web/TwistedCore/meta b/packages/python/web/TwistedCore/meta index 3e6c3aa702..0e7cd14a0a 100644 --- a/packages/python/web/TwistedCore/meta +++ b/packages/python/web/TwistedCore/meta @@ -24,7 +24,7 @@ PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Core/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="Python" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedCore: An event-based networking framework for Internet applications" diff --git a/packages/python/web/TwistedNames/meta b/packages/python/web/TwistedNames/meta index da2a2d8ff1..60dcb58d07 100644 --- a/packages/python/web/TwistedNames/meta +++ b/packages/python/web/TwistedNames/meta @@ -24,7 +24,7 @@ PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Names/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="Python TwistedCore" -PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host TwistedCore" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedNames: Name resolution part of Twisted framework" diff --git a/packages/python/web/TwistedWeb/meta b/packages/python/web/TwistedWeb/meta index 7ec3739b15..5b32e700e3 100644 --- a/packages/python/web/TwistedWeb/meta +++ b/packages/python/web/TwistedWeb/meta @@ -24,7 +24,7 @@ PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Web/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="Python TwistedCore" -PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host TwistedCore" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedWeb: An event-based networking framework for Internet applications" diff --git a/packages/python/web/TwistedWords/meta b/packages/python/web/TwistedWords/meta index 44cec07e72..fd307700d8 100644 --- a/packages/python/web/TwistedWords/meta +++ b/packages/python/web/TwistedWords/meta @@ -24,7 +24,7 @@ PKG_LICENSE="MIT" PKG_SITE="http://twistedmatrix.com/" PKG_URL="http://twistedmatrix.com/Releases/Words/11.0/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="Python TwistedCore" -PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedCore" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host TwistedCore" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="TwistedWords: An event-based networking framework for Internet applications" diff --git a/packages/python/web/wokkel/meta b/packages/python/web/wokkel/meta index 5cf07905d0..31e8d1db0c 100644 --- a/packages/python/web/wokkel/meta +++ b/packages/python/web/wokkel/meta @@ -24,7 +24,7 @@ PKG_LICENSE="free" PKG_SITE="http://wokkel.ik.nu/" PKG_URL="http://wokkel.ik.nu/releases/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python TwistedWords" -PKG_BUILD_DEPENDS="toolchain Python distutilscross TwistedWords" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host TwistedWords" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="wokkel: Wokkel is a Python module for experimenting with future enhancements to TwistedWords" diff --git a/packages/python/web/zope.interface/meta b/packages/python/web/zope.interface/meta index 3787c1b990..a822a2e021 100644 --- a/packages/python/web/zope.interface/meta +++ b/packages/python/web/zope.interface/meta @@ -24,7 +24,7 @@ PKG_LICENSE="OSS" PKG_SITE="http://zope.org/Products/ZopeInterface/" PKG_URL="http://www.zope.org/Products/ZopeInterface/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.gz" PKG_DEPENDS="Python" -PKG_BUILD_DEPENDS="toolchain Python distutilscross" +PKG_BUILD_DEPENDS="toolchain Python distutilscross:host" PKG_PRIORITY="optional" PKG_SECTION="python/web" PKG_SHORTDESC="zopeinterface: zope.interface package from Zope 3"