diff --git a/recipes/click/recipe.sh b/recipes/click/recipe.sh new file mode 100644 index 0000000000..0f3f8334db --- /dev/null +++ b/recipes/click/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_click=${VERSION_click:-master} +DEPS_click=(python) +URL_click=https://github.com/mitsuhiko/click/archive/$VERSION_click.zip +MD5_click= +BUILD_click=$BUILD_PATH/click/$(get_directory $URL_click) +RECIPE_click=$RECIPES_PATH/click + +function prebuild_click() { + true +} + +function shouldbuild_click() { + if [ -d "$SITEPACKAGES_PATH/click" ]; then + DO_BUILD=0 + fi +} + +function build_click() { + cd $BUILD_click + + push_arm + sed -i "s/setuptools/distutils.core/g" `grep -rl "setuptools" ./setup.py` + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_click() { + true +} + diff --git a/recipes/flask/recipe.sh b/recipes/flask/recipe.sh new file mode 100644 index 0000000000..65b782f8a6 --- /dev/null +++ b/recipes/flask/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_flask=${VERSION_flask:-master} +DEPS_flask=(python werkzeug jinja2 itsdangerous click) +URL_flask=https://github.com/mitsuhiko/flask/archive/$VERSION_flask.zip +MD5_flask= +BUILD_flask=$BUILD_PATH/flask/$(get_directory $URL_flask) +RECIPE_flask=$RECIPES_PATH/flask + +function prebuild_flask() { + true +} + +function shouldbuild_flask() { + if [ -d "$SITEPACKAGES_PATH/flask" ]; then + DO_BUILD=0 + fi +} + +function build_flask() { + cd $BUILD_flask + + push_arm + sed -i "s/setuptools/distutils.core/g" `grep -rl "setuptools" ./setup.py` + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_flask() { + true +} + diff --git a/recipes/itsdangerous/recipe.sh b/recipes/itsdangerous/recipe.sh new file mode 100644 index 0000000000..8ebe5b8e56 --- /dev/null +++ b/recipes/itsdangerous/recipe.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +VERSION_itsdangerous=${VERSION_itsdangerous:-master} +DEPS_itsdangerous=(python) +URL_itsdangerous=https://github.com/mitsuhiko/itsdangerous/archive/$VERSION_itsdangerous.zip +MD5_itsdangerous= +BUILD_itsdangerous=$BUILD_PATH/itsdangerous/$(get_directory $URL_itsdangerous) +RECIPE_itsdangerous=$RECIPES_PATH/itsdangerous + +function prebuild_itsdangerous() { + true +} + +function shouldbuild_itsdangerous() { + if [ -d "$SITEPACKAGES_PATH/itsdangerous" ]; then + DO_BUILD=0 + fi +} + +function build_itsdangerous() { + cd $BUILD_itsdangerous + + push_arm + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_itsdangerous() { + true +} + diff --git a/recipes/jinja2/recipe.sh b/recipes/jinja2/recipe.sh new file mode 100644 index 0000000000..0c4ca90a6a --- /dev/null +++ b/recipes/jinja2/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_jinja2=${VERSION_jinja2:-master} +DEPS_jinja2=(python markupsafe) +URL_jinja2=https://github.com/mitsuhiko/jinja2/archive/$VERSION_jinja2.zip +MD5_jinja2= +BUILD_jinja2=$BUILD_PATH/jinja2/$(get_directory $URL_jinja2) +RECIPE_jinja2=$RECIPES_PATH/jinja2 + +function prebuild_jinja2() { + true +} + +function shouldbuild_jinja2() { + if [ -d "$SITEPACKAGES_PATH/jinja2" ]; then + DO_BUILD=0 + fi +} + +function build_jinja2() { + cd $BUILD_jinja2 + + push_arm + sed -i "s/setuptools/distutils.core/g" `grep -rl "setuptools" ./setup.py` + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_jinja2() { + true +} + diff --git a/recipes/markupsafe/recipe.sh b/recipes/markupsafe/recipe.sh new file mode 100644 index 0000000000..d3cefa0e8f --- /dev/null +++ b/recipes/markupsafe/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_markupsafe=${VERSION_markupsafe:-master} +DEPS_markupsafe=(python) +URL_markupsafe=https://github.com/mitsuhiko/markupsafe/archive/$VERSION_markupsafe.zip +MD5_markupsafe= +BUILD_markupsafe=$BUILD_PATH/markupsafe/$(get_directory $URL_markupsafe) +RECIPE_markupsafe=$RECIPES_PATH/markupsafe + +function prebuild_markupsafe() { + true +} + +function shouldbuild_markupsafe() { + if [ -d "$SITEPACKAGES_PATH/markupsafe" ]; then + DO_BUILD=0 + fi +} + +function build_markupsafe() { + cd $BUILD_markupsafe + + push_arm + sed -i "s/setuptools/distutils.core/g" `grep -rl "setuptools" ./setup.py` + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_markupsafe() { + true +} + diff --git a/recipes/openssl/recipe.sh b/recipes/openssl/recipe.sh index 0aeb5e7455..d89264966d 100644 --- a/recipes/openssl/recipe.sh +++ b/recipes/openssl/recipe.sh @@ -1,9 +1,9 @@ #!/bin/bash -VERSION_openssl=${VERSION_openssl:-1.0.2d} +VERSION_openssl=${VERSION_openssl:-1.0.1p} URL_openssl=https://www.openssl.org/source/openssl-$VERSION_openssl.tar.gz DEPS_openssl=() -MD5_openssl=38dd619b2e77cbac69b99f52a053d25a +MD5_openssl=7563e92327199e0067ccd0f79f436976 BUILD_openssl=$BUILD_PATH/openssl/$(get_directory $URL_openssl) RECIPE_openssl=$RECIPES_PATH/openssl diff --git a/recipes/werkzeug/recipe.sh b/recipes/werkzeug/recipe.sh new file mode 100644 index 0000000000..88730baf71 --- /dev/null +++ b/recipes/werkzeug/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_werkzeug=${VERSION_werkzeug:-master} +DEPS_werkzeug=(python pyopenssl) +URL_werkzeug=https://github.com/mitsuhiko/werkzeug/archive/$VERSION_werkzeug.zip +MD5_werkzeug= +BUILD_werkzeug=$BUILD_PATH/werkzeug/$(get_directory $URL_werkzeug) +RECIPE_werkzeug=$RECIPES_PATH/werkzeug + +function prebuild_werkzeug() { + true +} + +function shouldbuild_werkzeug() { + if [ -d "$SITEPACKAGES_PATH/werkzeug" ]; then + DO_BUILD=0 + fi +} + +function build_werkzeug() { + cd $BUILD_werkzeug + + push_arm + sed -i "s/setuptools/distutils.core/g" `grep -rl "setuptools" ./setup.py` + try $HOSTPYTHON setup.py install + pop_arm +} + +function postbuild_werkzeug() { + true +} +