aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2012-08-11 17:12:05 +1000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-11 22:59:02 +0200
commit1ff74a535d9c5e7e7f996eb9b8d8f83f8af44f1e (patch)
tree8d15c78368f787a13ae0b5802bc67174b1b0c5e1 /package
parent54fe81fbb49d29a15945bdcf8e2c281bcb1969fd (diff)
downloadbuildroot-novena-1ff74a535d9c5e7e7f996eb9b8d8f83f8af44f1e.tar.gz
buildroot-novena-1ff74a535d9c5e7e7f996eb9b8d8f83f8af44f1e.zip
python-meld3: new package
[thomas.petazzoni@free-electrons.com: Fixup indentation in the Config.in file. Add 'select BR2_PACKAGE_PYTHON_PYEXPAT' which is needed to get XML support in Python. Add license information.] Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/python-meld3/Config.in8
-rw-r--r--package/python-meld3/python-meld3.mk22
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 45f079953..a9101b205 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -271,6 +271,7 @@ menu "external python modules"
source "package/python-dpkt/Config.in"
source "package/python-id3/Config.in"
source "package/python-mad/Config.in"
+source "package/python-meld3/Config.in"
source "package/python-netifaces/Config.in"
source "package/python-nfc/Config.in"
source "package/python-pygame/Config.in"
diff --git a/package/python-meld3/Config.in b/package/python-meld3/Config.in
new file mode 100644
index 000000000..8dee723e0
--- /dev/null
+++ b/package/python-meld3/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_MELD3
+ bool "python-meld3"
+ depends on BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON_PYEXPAT
+ help
+ A HTML/XML templating system.
+
+ https://github.com/supervisor/meld3
diff --git a/package/python-meld3/python-meld3.mk b/package/python-meld3/python-meld3.mk
new file mode 100644
index 000000000..de83b2850
--- /dev/null
+++ b/package/python-meld3/python-meld3.mk
@@ -0,0 +1,22 @@
+#############################################################
+#
+# python-meld3
+#
+#############################################################
+
+PYTHON_MELD3_VERSION = 0.6.8
+PYTHON_MELD3_SOURCE = meld3-$(PYTHON_MELD3_VERSION).tar.gz
+PYTHON_MELD3_SITE = http://pypi.python.org/packages/source/m/meld3/
+PYTHON_MELD3_DEPENDENCIES = python
+PYTHON_MELD3_LICENSE = ZPLv2.1
+PYTHON_MELD3_LICENSE_FILES = COPYRIGHT.txt LICENSE.txt
+
+define PYTHON_MELD3_BUILD_CMDS
+ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
+endef
+
+define PYTHON_MELD3_INSTALL_TARGET_CMDS
+ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
+endef
+
+$(eval $(generic-package))