python-bottle: new package
PATCH v2 1/1 python-bottle: new package
From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]>
---
v2: fix cut-and-paste error of meld3 in the comment in the .mk file.
--- package/Config.in | 1 + package/python-bottle/Config.in | 8 ++++++++ package/python-bottle/python-bottle.mk | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/python-bottle/Config.in create mode 100644 package/python-bottle/python-bottle.mk
package/Config.in +1 -0
@@ -269,6 +269,7 @@ source "package/php/Config.in" source "package/python/Config.in" if BR2_PACKAGE_PYTHON menu "external python modules" +source "package/python-bottle/Config.in" source "package/python-dpkt/Config.in" source "package/python-id3/Config.in" source "package/python-mad/Config.in"
package/python-bottle/Config.in new file +8 -0
@@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_BOTTLE + bool "python-bottle" + help + Bottle is a fast, simple and lightweight WSGI micro web-framework + for Python. It is distributed as a single file module and has no + dependencies other than the Python Standard Library. + + http://bottlepy.org
package/python-bottle/python-bottle.mk new file +22 -0
@@ -0,0 +1,22 @@ +############################################################# +# +# python-bottle +# +############################################################# + +PYTHON_BOTTLE_VERSION = 0.11.4 +PYTHON_BOTTLE_SOURCE = bottle-$(PYTHON_BOTTLE_VERSION).tar.gz +PYTHON_BOTTLE_SITE = http://pypi.python.org/packages/source/b/bottle +PYTHON_BOTTLE_DEPENDENCIES = python +PYTHON_BOTTLE_LICENSE = MIT +# README.rst refers to the file "LICENSE" but it's not included + +define PYTHON_BOTTLE_BUILD_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build) +endef + +define PYTHON_BOTTLE_INSTALL_TARGET_CMDS + (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr) +endef + +$(eval $(generic-package))
Signature · 1 line
1.7.10.4
PATCH v2 1/1 python-bottle: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 1/1 python-bottle: new package
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Arnout" == Arnout Vandecappelle (Essensium/Mind) <[email protected]> writes:
Arnout> From: "Arnout Vandecappelle (Essensium/Mind)" <[email protected]> Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Peter> Committed, thanks.
It btw didn't apply cleanly as you apparently based it on a tree with local modifications from before python3 got added, but I fixed that up. Please consider basing patches on a recent commit (or atleast a commit from the public git so git am --3way gets a chance to figure it out).
Thanks.
Signature · 1 line
Bye, Peter Korsgaard