File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_django=${VERSION_django:- 1.6.1}
4+ DEPS_django=(sqlite3)
5+ URL_django=https://pypi.python.org/packages/source/D/Django/Django-$VERSION_django .tar.gz
6+ MD5_django=3ea7a00ea9e7a014e8a4067dd6466a1b
7+ BUILD_django=$BUILD_PATH /django/$( get_directory $URL_django )
8+ RECIPE_django=$RECIPES_PATH /django
9+
10+ function prebuild_django() {
11+ true
12+ }
13+
14+ function shouldbuild_django() {
15+ if [ -d " $SITEPACKAGES_PATH /django" ]; then
16+ DO_BUILD=0
17+ fi
18+ }
19+
20+ function build_django() {
21+ cd $BUILD_django
22+ push_arm
23+ try $HOSTPYTHON setup.py install
24+ pop_arm
25+ }
26+
27+ function postbuild_django() {
28+ # ensure the blacklist doesn't contain wsgiref or unittest
29+ $SED ' /unittest/d' $BUILD_PATH /blacklist.txt
30+ $SED ' /wsgiref/d' $BUILD_PATH /blacklist.txt
31+ }
You can’t perform that action at this time.
0 commit comments