Cheetah: update to Cheetah-2.4.2.1, add metafile support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-15 14:56:07 +01:00
parent 1b88106ba8
commit 7a98ae0307
5 changed files with 14 additions and 32 deletions

View File

@ -2,11 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build Python
$SCRIPTS/build distribute
$SCRIPTS/build distutilscross
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib"

View File

@ -2,7 +2,4 @@
. config/options $1
$SCRIPTS/install Python
$SCRIPTS/install distribute
cp -PR $PKG_BUILD/.install/* $INSTALL

View File

@ -0,0 +1,14 @@
PKG_NAME="Cheetah"
PKG_VERSION="2.4.2.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://www.cheetahtemplate.org/"
PKG_URL="http://pypi.python.org/packages/source/C/Cheetah/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS="Python distribute"
PKG_BUILD_DEPENDS="toolchain Python distribute distutilscross"
PKG_PRIORITY="optional"
PKG_SECTION="python/devel"
PKG_SHORTDESC="cheetah: Python-powered template engine and code generator"
PKG_LONGDESC="Cheetah is a Python-powered template engine and code generator. It can be used as a standalone utility or it can be combined with other tools. Cheetah has many potential uses, but web developers looking for a viable alternative to ASP, JSP, PHP and PSP are expected to be its principle user group."
PKG_IS_ADDON="no"

View File

@ -1,23 +0,0 @@
diff -Naur Cheetah-2.0.1/SetupTools.py Cheetah-2.0.1.patch/SetupTools.py
--- Cheetah-2.0.1/SetupTools.py 2007-11-03 20:44:38.000000000 +0100
+++ Cheetah-2.0.1.patch/SetupTools.py 2010-10-19 00:34:45.377616641 +0200
@@ -19,18 +19,7 @@
import string
import traceback
-from distutils.core import setup
-if 'CHEETAH_USE_SETUPTOOLS' in os.environ:
- # @@TR: Please note that this is for testing purposes only! PEAK setuptools
- # is not required or recommended for installing Cheetah. Downstream
- # package managers (linux distros, etc.) should *not* enable this.
- try:
- # use http://peak.telecommunity.com/DevCenter/setuptools if it's installed
- # requires Py >=2.3
- from setuptools import setup
- except ImportError:
- from distutils.core import setup
-
+from setuptools import setup
from distutils.core import Command
from distutils.command.install_data import install_data

View File

@ -1 +0,0 @@
http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz