8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5e8ea commit 111bfbbCopy full SHA for 111bfbb
recipes/django/recipe.sh
@@ -0,0 +1,25 @@
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 build_django() {
15
+ cd $BUILD_django
16
+ push_arm
17
+ try $HOSTPYTHON setup.py install
18
+ pop_arm
19
20
21
+function postbuild_django() {
22
+ # ensure the blacklist doesn't contain wsgiref or unittest
23
+ $SED '/unittest/d' $BUILD_PATH/blacklist.txt
24
+ $SED '/wsgiref/d' $BUILD_PATH/blacklist.txt
25
0 commit comments