Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions recipes/cherrypy/recipe.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#!/bin/bash

VERSION_cherrypy=3.7.0
DEPS_cherrypy=(python)
URL_cherrypy=https://pypi.python.org/packages/source/C/CherryPy/CherryPy-$VERSION_cherrypy.tar.gz
MD5_cherrypy=fbf36f0b393aee2ebcbc71e3ec6f6832
BUILD_cherrypy=$BUILD_PATH/cherrypy/$(get_directory $URL_cherrypy)
RECIPE_cherrypy=$RECIPES_PATH/cherrypy

function prebuild_cherrypy() {
true
}

function shouldbuild_cherrypy() {
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/cherrypy" ]; then
DO_BUILD=0
fi
}

function build_cherrypy() {
cd $BUILD_cherrypy

push_arm

try $HOSTPYTHON setup.py install

pop_arm
}

function postbuild_cherrypy() {
true
}