Skip to content

Commit 28cdda6

Browse files
committed
Merge pull request kivy#391 from mathewvermeer/cherrypy
add cherrypy recipe
2 parents 656cf9f + 2cb4a2c commit 28cdda6

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

recipes/cherrypy/recipe.sh

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#!/bin/bash
2+
3+
VERSION_cherrypy=3.7.0
4+
DEPS_cherrypy=(python)
5+
URL_cherrypy=https://pypi.python.org/packages/source/C/CherryPy/CherryPy-$VERSION_cherrypy.tar.gz
6+
MD5_cherrypy=fbf36f0b393aee2ebcbc71e3ec6f6832
7+
BUILD_cherrypy=$BUILD_PATH/cherrypy/$(get_directory $URL_cherrypy)
8+
RECIPE_cherrypy=$RECIPES_PATH/cherrypy
9+
10+
function prebuild_cherrypy() {
11+
true
12+
}
13+
14+
function shouldbuild_cherrypy() {
15+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/cherrypy" ]; then
16+
DO_BUILD=0
17+
fi
18+
}
19+
20+
function build_cherrypy() {
21+
cd $BUILD_cherrypy
22+
23+
push_arm
24+
25+
try $HOSTPYTHON setup.py install
26+
27+
pop_arm
28+
}
29+
30+
function postbuild_cherrypy() {
31+
true
32+
}

0 commit comments

Comments
 (0)