From patchwork Sat Dec 20 11:17:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 423046 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 4D9F41400D2 for ; Sat, 20 Dec 2014 22:16:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 244AF91C30; Sat, 20 Dec 2014 11:16:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YYfiu-9C9XXY; Sat, 20 Dec 2014 11:16:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DC68591C23; Sat, 20 Dec 2014 11:16:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 063B11C2B3C for ; Sat, 20 Dec 2014 11:16:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 01F0D91C1F for ; Sat, 20 Dec 2014 11:16:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BTEfHHy+8lCJ for ; Sat, 20 Dec 2014 11:16:40 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by whitealder.osuosl.org (Postfix) with ESMTPS id A50F391C1C for ; Sat, 20 Dec 2014 11:16:40 +0000 (UTC) Received: from x230.trabucayre.com (unknown [81.56.132.22]) by smtp2-g21.free.fr (Postfix) with ESMTP id 8B1EE4B0257; Sat, 20 Dec 2014 12:15:33 +0100 (CET) From: Gwenhael Goavec-Merou To: buildroot@busybox.net Date: Sat, 20 Dec 2014 12:17:58 +0100 Message-Id: <1419074278-17625-2-git-send-email-gwenj@trabucayre.com> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1419074278-17625-1-git-send-email-gwenj@trabucayre.com> References: <1419074278-17625-1-git-send-email-gwenj@trabucayre.com> Cc: Gwenhael Goavec-Merou Subject: [Buildroot] [PATCH v2 2/2] python-cheetah: add new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Gwenhael Goavec-Merou Signed-off-by: Gwenhael Goavec-Merou --- Changes v1 -> v2: - Add python-cheetah patch package/Config.in | 1 + package/python-cheetah/Config.in | 12 ++++++++++++ package/python-cheetah/python-cheetah.mk | 14 ++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/python-cheetah/Config.in create mode 100644 package/python-cheetah/python-cheetah.mk diff --git a/package/Config.in b/package/Config.in index 51630ba..3324f17 100644 --- a/package/Config.in +++ b/package/Config.in @@ -489,6 +489,7 @@ menu "external python modules" source "package/python-bottle/Config.in" source "package/python-certifi/Config.in" source "package/python-cffi/Config.in" + source "package/python-cheetah/Config.in" source "package/python-configobj/Config.in" source "package/python-configshell-fb/Config.in" source "package/python-crc16/Config.in" diff --git a/package/python-cheetah/Config.in b/package/python-cheetah/Config.in new file mode 100644 index 0000000..732da6a --- /dev/null +++ b/package/python-cheetah/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_CHEETAH + bool "python-cheetah" + depends on BR2_PACKAGE_PYTHON_MARKDOWN + help + Cheetah is an open source template engine and code generation tool. + + It can be used standalone or combined with other tools and frameworks. + Web development is its principle use, but Cheetah is very flexible + and is also being used to generate C++ game code, Java, sql, form + emails and even Python code. + + https://pypi.python.org/pypi/Cheetah/ diff --git a/package/python-cheetah/python-cheetah.mk b/package/python-cheetah/python-cheetah.mk new file mode 100644 index 0000000..523ad26 --- /dev/null +++ b/package/python-cheetah/python-cheetah.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cheetah +# +################################################################################ + +PYTHON_CHEETAH_VERSION = 2.4.4 +PYTHON_CHEETAH_SOURCE = Cheetah-$(PYTHON_CHEETAH_VERSION).tar.gz +PYTHON_CHEETAH_SITE = http://pypi.python.org/packages/source/C/Cheetah +PYTHON_CHEETAH_LICENSE = MIT +PYTHON_CHEETAH_SETUP_TYPE = setuptools +PYTHON_CHEETAH_DEPENDENCIES += host-python-markdown + +$(eval $(python-package))