distutilscross: convert to new package format

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-21 02:07:28 +01:00
parent 37eced3f74
commit c8c16f044f
15 changed files with 25 additions and 42 deletions

View File

@ -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 <http://www.gnu.org/licenses/>.
################################################################################
. config/options $1
cd $PKG_BUILD
python setup.py install --prefix=$ROOT/$TOOLCHAIN

View File

@ -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
}

View File

@ -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"

View File

@ -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"

View File

@ -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."

View File

@ -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"

View File

@ -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 <http://json.org> encoder and decoder for Python 2.5+."

View File

@ -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."

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"