Python: add metafile support, cleanups, thanks to cowbalt

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-13 15:14:49 +01:00
parent 56fbd1e793
commit 611cd058ce
8 changed files with 17 additions and 14 deletions

View File

@ -2,14 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build expat-host
$SCRIPTS/build sqlite
$SCRIPTS/build expat
$SCRIPTS/build openssl
$SCRIPTS/build zlib
$SCRIPTS/build libffi
PY_DISABLED_MODULES="readline _curses _curses_panel _tkinter nis gdbm bsddb _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk"
cd $PKG_BUILD

View File

@ -2,11 +2,6 @@
. config/options $1
$SCRIPTS/install openssl
$SCRIPTS/install zlib
$SCRIPTS/install libffi
$SCRIPTS/install file # needed by platform.architecture()
PYTHON_VERSION=2.6
PYTHON_LIB_DIR=$INSTALL/usr/lib/python$PYTHON_VERSION

17
packages/lang/Python/meta Normal file
View File

@ -0,0 +1,17 @@
PKG_NAME="Python"
PKG_VERSION="2.6.6"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.python.org/"
PKG_URL="http://www.python.org/ftp/python/$PKG_VERSION/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="openssl zlib libffi file"
PKG_BUILD_DEPENDS="toolchain expat-host sqlite expat openssl zlib libffi"
PKG_PRIORITY="optional"
PKG_SECTION="lang"
PKG_SHORTDESC="python: The Python programming language"
PKG_LONGDESC="Python is an interpreted object-oriented programming language, and is often compared with Tcl, Perl, Java or Scheme."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz2