From 4c4f7be861c3d2dd8dc2a272c1c76cea880d9356 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 14 Mar 2012 17:43:50 +0000 Subject: [PATCH 1/8] adding pyopenssl recipe --- recipes/pyopenssl/recipe.sh | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 recipes/pyopenssl/recipe.sh diff --git a/recipes/pyopenssl/recipe.sh b/recipes/pyopenssl/recipe.sh new file mode 100644 index 0000000000..2f39e02410 --- /dev/null +++ b/recipes/pyopenssl/recipe.sh @@ -0,0 +1,39 @@ +#!/bin/bash + +VERSION_pyopenssl=0.13 +URL_pyopenssl=http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-$VERSION_pyopenssl.tar.gz +DEPS_pyopenssl=(openssl python) +MD5_pyopenssl= 767bca18a71178ca353dff9e10941929 +BUILD_pyopenssl=$BUILD_PATH/pyopenssl/$(get_directory $URL_pyopenssl) +RECIPE_pyopenssl=$RECIPES_PATH/pyopenssl + +function prebuild_pyopenssl() { + true +} + +function build_pyopenssl() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/pyOpenSSL" ]; then + return + fi + + cd $BUILD_pyopenssl + + push_arm + + export CC="$CC -I$BUILD_openssl/include" + export LDFLAGS="$LDFLAGS -L$LIBS_PATH -L$BUILD_openssl" + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + + try $BUILD_PATH/python-install/bin/python.host setup.py install -O2 + + try rm -rf $BUILD_PATH/python-install/lib/python*/site-packages/OpenSSL/test + + pop_arm +} + +function postbuild_pyopenssl() { + true +} From f83e093d7b07581f65af4edaf31c7cf7e853fd35 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Wed, 14 Mar 2012 23:16:42 +0000 Subject: [PATCH 2/8] adding build flags for lxml, and providing the xslt_config binary to allow compiler to find xslt/xml libs --- recipes/lxml/recipe.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/recipes/lxml/recipe.sh b/recipes/lxml/recipe.sh index 2b43831e0f..f86053e123 100644 --- a/recipes/lxml/recipe.sh +++ b/recipes/lxml/recipe.sh @@ -21,11 +21,19 @@ function build_lxml() { push_arm export CC="$CC -I$BUILD_libxml2/include -I$BUILD_libxslt" - export LDFLAGS="$LDFLAGS -L$BUILD_libxslt/libxslt/.libs -L$BUILD_libxslt/libexslt/.libs -L$BUILD_libxml2/.libs" + export LDFLAGS="-L$BUILD_libxslt/libxslt/.libs -L$BUILD_libxslt/libexslt/.libs -L$BUILD_libxml2/.libs -L$BUILD_libxslt/libxslt -L$BUILD_libxslt/libexslt -L$BUILD_libxml2/ $LDFLAGS" export LDSHARED="$LIBLINK" - try $BUILD_PATH/python-install/bin/python.host setup.py build_ext - try $BUILD_PATH/python-install/bin/python.host setup.py install -O2 + chmod +x $BUILD_libxslt/xslt-config + export PATH=$PATH:$BUILD_libxslt + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -I$BUILD_libxml2/include -I$BUILD_libxslt + try find . -iname '*.pyx' -exec cython {} \; + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages unset LDSHARED pop_arm From 1cbecb9c6c868df22999e24c92aa218d4d5dcc57 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 02:03:19 +0000 Subject: [PATCH 3/8] added zope.component and dependencies and renamed zope.interface --- recipes/zope_component/recipe.sh | 33 ++++++++++++++++++++++++ recipes/zope_event/recipe.sh | 32 +++++++++++++++++++++++ recipes/zope_interface/recipe.sh | 44 ++++++++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 recipes/zope_component/recipe.sh create mode 100644 recipes/zope_event/recipe.sh create mode 100644 recipes/zope_interface/recipe.sh diff --git a/recipes/zope_component/recipe.sh b/recipes/zope_component/recipe.sh new file mode 100644 index 0000000000..2992feb9c3 --- /dev/null +++ b/recipes/zope_component/recipe.sh @@ -0,0 +1,33 @@ +#!/bin/bash + + +VERSION_zope_component=3.12.0 +URL_zope_component=http://pypi.python.org/packages/source/z/zope.component/zope.component-$VERSION_zope_component.tar.gz +DEPS_zope_component=(setuptools zope_event) +MD5_zope_component=1002e3be68c56751335c185f01b286fb +BUILD_zope_component=$BUILD_PATH/zope_component/$(get_directory $URL_zope_component) +RECIPE_zope_component=$RECIPES_PATH/zope_component + +function prebuild_zope_component() { + true +} + +function build_zope_component() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/component" ]; then + return + fi + + cd $BUILD_zope_component + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_component() { + true +} + diff --git a/recipes/zope_event/recipe.sh b/recipes/zope_event/recipe.sh new file mode 100644 index 0000000000..c82b34ab10 --- /dev/null +++ b/recipes/zope_event/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_event=3.5.1 +URL_zope_event=http://pypi.python.org/packages/source/z/zope.event/zope.event-$VERSION_zope_event.tar.gz +DEPS_zope_event=(setuptools zope_interface) +MD5_zope_event=f18363bf9926f1762fa580cc69bd97ec +BUILD_zope_event=$BUILD_PATH/zope_event/$(get_directory $URL_zope_event) +RECIPE_zope_event=$RECIPES_PATH/zope_event + +function prebuild_zope_event() { + true +} + +function build_zope_event() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/event" ]; then + return + fi + + cd $BUILD_zope_event + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_event() { + true +} + diff --git a/recipes/zope_interface/recipe.sh b/recipes/zope_interface/recipe.sh new file mode 100644 index 0000000000..71a6502ed4 --- /dev/null +++ b/recipes/zope_interface/recipe.sh @@ -0,0 +1,44 @@ +#!/bin/bash + +VERSION_zope_interface=3.8.0 +URL_zope_interface=http://pypi.python.org/packages/source/z/zope.interface/zope.interface-$VERSION_zope_interface.tar.gz +DEPS_zope_interface=(python) +MD5_zope_interface=8ab837320b4532774c9c89f030d2a389 +BUILD_zope_interface=$BUILD_PATH/zope_interface/$(get_directory $URL_zope_interface) +RECIPE_zope_interface=$RECIPES_PATH/zope_interface + +function prebuild_zope_interface() { + true +} + +function build_zope_interface() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/interface" ]; then + return + fi + + cd $BUILD_zope_interface + + push_arm + + export LDFLAGS="$LDFLAGS -L$LIBS_PATH" + export LDSHARED="$LIBLINK" + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + + try rm -rf $BUILD_PATH/python-install/lib/python*/site-packages/zope/interface/interface/tests + try rm -rf $BUILD_PATH/python-install/lib/python*/site-packages/zope/interface/interface/*.txt + + unset LDSHARED + + pop_arm +} + +function postbuild_zope_interface() { + true +} + From 13bd521942d4ff6ff5eb1ea9adaa2bc5ca7e9a11 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 03:42:02 +0000 Subject: [PATCH 4/8] added zope.component.zcml dependencies recipes --- recipes/zope_component/recipe.sh | 1 - recipes/zope_configuration/recipe.sh | 30 +++++++++++++++++++++++++ recipes/zope_i18nmessageid/recipe.sh | 33 ++++++++++++++++++++++++++++ recipes/zope_schema/recipe.sh | 32 +++++++++++++++++++++++++++ 4 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 recipes/zope_configuration/recipe.sh create mode 100644 recipes/zope_i18nmessageid/recipe.sh create mode 100644 recipes/zope_schema/recipe.sh diff --git a/recipes/zope_component/recipe.sh b/recipes/zope_component/recipe.sh index 2992feb9c3..47550873f5 100644 --- a/recipes/zope_component/recipe.sh +++ b/recipes/zope_component/recipe.sh @@ -1,6 +1,5 @@ #!/bin/bash - VERSION_zope_component=3.12.0 URL_zope_component=http://pypi.python.org/packages/source/z/zope.component/zope.component-$VERSION_zope_component.tar.gz DEPS_zope_component=(setuptools zope_event) diff --git a/recipes/zope_configuration/recipe.sh b/recipes/zope_configuration/recipe.sh new file mode 100644 index 0000000000..0546033bb3 --- /dev/null +++ b/recipes/zope_configuration/recipe.sh @@ -0,0 +1,30 @@ +#!/bin/bash + +VERSION_zope_configuration=3.8.0 +URL_zope_configuration=http://pypi.python.org/packages/source/z/zope.configuration/zope.configuration-$VERSION_zope_configuration.tar.gz +DEPS_zope_configuration=(setuptools zope_interface zope_i18nmessageid zope_schema) +MD5_zope_configuration=4f8718661ef5c7a34a77f7701e878ce8 +BUILD_zope_configuration=$BUILD_PATH/zope_configuration/$(get_directory $URL_zope_configuration) +RECIPE_zope_configuration=$RECIPES_PATH/zope_configuration + +function prebuild_zope_configuration() { + true +} + +function build_zope_configuration() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/configuration" ]; then + return + fi + + cd $BUILD_zope_configuration + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm +} + +function postbuild_zope_configuration() { + true +} + diff --git a/recipes/zope_i18nmessageid/recipe.sh b/recipes/zope_i18nmessageid/recipe.sh new file mode 100644 index 0000000000..0a2540c56d --- /dev/null +++ b/recipes/zope_i18nmessageid/recipe.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +VERSION_zope_i18nmessageid=3.6.1 +URL_zope_i18nmessageid=http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-$VERSION_zope_i18nmessageid.tar.gz +DEPS_zope_i18nmessageid=(setuptools zope) +MD5_zope_i18nmessageid=6716cd769c006b5e90af030f83592600 +BUILD_zope_i18nmessageid=$BUILD_PATH/zope_i18nmessageid/$(get_directory $URL_zope_i18nmessageid) +RECIPE_zope_i18nmessageid=$RECIPES_PATH/zope_i18nmessageid + +function prebuild_zope_i18nmessageid() { + true +} + +function build_zope_i18nmessageid() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/i18nmessageid" ]; then + return + fi + + cd $BUILD_zope_i18nmessageid + push_arm + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm +} + +function postbuild_zope_i18nmessageid() { + true +} diff --git a/recipes/zope_schema/recipe.sh b/recipes/zope_schema/recipe.sh new file mode 100644 index 0000000000..ecfb5a5031 --- /dev/null +++ b/recipes/zope_schema/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_schema=3.5.1 +URL_zope_schema=http://pypi.python.org/packages/source/z/zope.schema/zope.schema-$VERSION_zope_schema.tar.gz +DEPS_zope_schema=(setuptools zope_interface zope_i18nmessageid zope_event) +MD5_zope_schema=91e5f6f977746dc692049658649d9e47 +BUILD_zope_schema=$BUILD_PATH/zope_schema/$(get_directory $URL_zope_schema) +RECIPE_zope_schema=$RECIPES_PATH/zope_schema + +function prebuild_zope_schema() { + true +} + +function build_zope_schema() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/schema" ]; then + return + fi + + cd $BUILD_zope_schema + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_schema() { + true +} + From 76b29a52acd1bf3ba63d353785df8adaa2ca5e08 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 04:13:05 +0000 Subject: [PATCH 5/8] adding zope.component.security packages --- recipes/zope_i18nmessageid/recipe.sh | 33 ++++++++++++++++++++++ recipes/zope_location/recipe.sh | 32 +++++++++++++++++++++ recipes/zope_proxy/recipe.sh | 40 ++++++++++++++++++++++++++ recipes/zope_schema/recipe.sh | 32 +++++++++++++++++++++ recipes/zope_security/recipe.sh | 42 ++++++++++++++++++++++++++++ 5 files changed, 179 insertions(+) create mode 100644 recipes/zope_i18nmessageid/recipe.sh create mode 100644 recipes/zope_location/recipe.sh create mode 100644 recipes/zope_proxy/recipe.sh create mode 100644 recipes/zope_schema/recipe.sh create mode 100644 recipes/zope_security/recipe.sh diff --git a/recipes/zope_i18nmessageid/recipe.sh b/recipes/zope_i18nmessageid/recipe.sh new file mode 100644 index 0000000000..0a2540c56d --- /dev/null +++ b/recipes/zope_i18nmessageid/recipe.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +VERSION_zope_i18nmessageid=3.6.1 +URL_zope_i18nmessageid=http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-$VERSION_zope_i18nmessageid.tar.gz +DEPS_zope_i18nmessageid=(setuptools zope) +MD5_zope_i18nmessageid=6716cd769c006b5e90af030f83592600 +BUILD_zope_i18nmessageid=$BUILD_PATH/zope_i18nmessageid/$(get_directory $URL_zope_i18nmessageid) +RECIPE_zope_i18nmessageid=$RECIPES_PATH/zope_i18nmessageid + +function prebuild_zope_i18nmessageid() { + true +} + +function build_zope_i18nmessageid() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/i18nmessageid" ]; then + return + fi + + cd $BUILD_zope_i18nmessageid + push_arm + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm +} + +function postbuild_zope_i18nmessageid() { + true +} diff --git a/recipes/zope_location/recipe.sh b/recipes/zope_location/recipe.sh new file mode 100644 index 0000000000..ec37073692 --- /dev/null +++ b/recipes/zope_location/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_location=3.9.1 +URL_zope_location=http://pypi.python.org/packages/source/z/zope.location/zope.location-$VERSION_zope_location.tar.gz +DEPS_zope_location=(setuptools zope_interface) +MD5_zope_location=1684a8f986099d15296f670c58e713d8 +BUILD_zope_location=$BUILD_PATH/zope_location/$(get_directory $URL_zope_location) +RECIPE_zope_location=$RECIPES_PATH/zope_location + +function prebuild_zope_location() { + true +} + +function build_zope_location() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/location" ]; then + return + fi + + cd $BUILD_zope_location + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_location() { + true +} + diff --git a/recipes/zope_proxy/recipe.sh b/recipes/zope_proxy/recipe.sh new file mode 100644 index 0000000000..183ad0ca27 --- /dev/null +++ b/recipes/zope_proxy/recipe.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +VERSION_zope_proxy=3.5.0 +URL_zope_proxy=http://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-$VERSION_zope_proxy.tar.gz +DEPS_zope_proxy=(setuptools zope_interface) +MD5_zope_proxy=ac5fc916b572bc3ff630b49cda52d94a +BUILD_zope_proxy=$BUILD_PATH/zope_proxy/$(get_directory $URL_zope_proxy) +RECIPE_zope_proxy=$RECIPES_PATH/zope_proxy + +function prebuild_zope_proxy() { + true +} + +function build_zope_proxy() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/proxy" ]; then + return + fi + + cd $BUILD_zope_proxy + + push_arm + + export LDFLAGS="$LDFLAGS -L$LIBS_PATH" + export LDSHARED="$LIBLINK" + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + + pop_arm + +} + +function postbuild_zope_proxy() { + true +} + diff --git a/recipes/zope_schema/recipe.sh b/recipes/zope_schema/recipe.sh new file mode 100644 index 0000000000..ecfb5a5031 --- /dev/null +++ b/recipes/zope_schema/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_schema=3.5.1 +URL_zope_schema=http://pypi.python.org/packages/source/z/zope.schema/zope.schema-$VERSION_zope_schema.tar.gz +DEPS_zope_schema=(setuptools zope_interface zope_i18nmessageid zope_event) +MD5_zope_schema=91e5f6f977746dc692049658649d9e47 +BUILD_zope_schema=$BUILD_PATH/zope_schema/$(get_directory $URL_zope_schema) +RECIPE_zope_schema=$RECIPES_PATH/zope_schema + +function prebuild_zope_schema() { + true +} + +function build_zope_schema() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/schema" ]; then + return + fi + + cd $BUILD_zope_schema + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_schema() { + true +} + diff --git a/recipes/zope_security/recipe.sh b/recipes/zope_security/recipe.sh new file mode 100644 index 0000000000..9b483539d2 --- /dev/null +++ b/recipes/zope_security/recipe.sh @@ -0,0 +1,42 @@ +#!/bin/bash + +VERSION_zope_security=3.8.3 +URL_zope_security=http://pypi.python.org/packages/source/z/zope.security/zope.security-$VERSION_zope_security.tar.gz +DEPS_zope_security=(setuptools zope_interface) +MD5_zope_security=0b4f0bec812ddd84e9e4ef427dadb889 +BUILD_zope_security=$BUILD_PATH/zope_security/$(get_directory $URL_zope_security) +RECIPE_zope_security=$RECIPES_PATH/zope_security + +function prebuild_zope_security() { + true +} + +function build_zope_security() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/security" ]; then + return + fi + + cd $BUILD_zope_security + + push_arm + + export LDFLAGS="$LDFLAGS -L$LIBS_PATH" + export LDSHARED="$LIBLINK" + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + + try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v + try find build/lib.* -name "*.o" -exec $STRIP {} \; + + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + + unset LDSHARED + + pop_arm + +} + +function postbuild_zope_security() { + true +} + From f1d05fc9665c756e40b9a136106e31fe763c9a05 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 17:42:58 +0000 Subject: [PATCH 6/8] added recipes for remaining zope component architecture packages --- recipes/zope_deferredimport/recipe.sh | 32 +++++++++++++++++++++++++++ recipes/zope_deprecation/recipe.sh | 32 +++++++++++++++++++++++++++ recipes/zope_dottedname/recipe.sh | 32 +++++++++++++++++++++++++++ recipes/zope_exceptions/recipe.sh | 32 +++++++++++++++++++++++++++ recipes/zope_testing/recipe.sh | 32 +++++++++++++++++++++++++++ recipes/zope_thread/recipe.sh | 32 +++++++++++++++++++++++++++ 6 files changed, 192 insertions(+) create mode 100644 recipes/zope_deferredimport/recipe.sh create mode 100644 recipes/zope_deprecation/recipe.sh create mode 100644 recipes/zope_dottedname/recipe.sh create mode 100644 recipes/zope_exceptions/recipe.sh create mode 100644 recipes/zope_testing/recipe.sh create mode 100644 recipes/zope_thread/recipe.sh diff --git a/recipes/zope_deferredimport/recipe.sh b/recipes/zope_deferredimport/recipe.sh new file mode 100644 index 0000000000..34c6ee1b18 --- /dev/null +++ b/recipes/zope_deferredimport/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_deferredimport=3.5.3 +URL_zope_deferredimport=http://pypi.python.org/packages/source/z/zope.deferredimport/zope.deferredimport-$VERSION_zope_deferredimport.tar.gz +DEPS_zope_deferredimport=(setuptools zope_proxy) +MD5_zope_deferredimport=68fce3bf4f011d4a840902fd763884ee +BUILD_zope_deferredimport=$BUILD_PATH/zope_deferredimport/$(get_directory $URL_zope_deferredimport) +RECIPE_zope_deferredimport=$RECIPES_PATH/zope_deferredimport + +function prebuild_zope_deferredimport() { + true +} + +function build_zope_deferredimport() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/deferredimport" ]; then + return + fi + + cd $BUILD_zope_deferredimport + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_deferredimport() { + true +} + diff --git a/recipes/zope_deprecation/recipe.sh b/recipes/zope_deprecation/recipe.sh new file mode 100644 index 0000000000..b0958d67a3 --- /dev/null +++ b/recipes/zope_deprecation/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_deprecation=3.5.0 +URL_zope_deprecation=http://pypi.python.org/packages/source/z/zope.deprecation/zope.deprecation-$VERSION_zope_deprecation.tar.gz +DEPS_zope_deprecation=(setuptools zope_event) +MD5_zope_deprecation=1e7db82583013127aab3e7e790b1f2b6 +BUILD_zope_deprecation=$BUILD_PATH/zope_deprecation/$(get_directory $URL_zope_deprecation) +RECIPE_zope_deprecation=$RECIPES_PATH/zope_deprecation + +function prebuild_zope_deprecation() { + true +} + +function build_zope_deprecation() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/deprecation" ]; then + return + fi + + cd $BUILD_zope_deprecation + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_deprecation() { + true +} + diff --git a/recipes/zope_dottedname/recipe.sh b/recipes/zope_dottedname/recipe.sh new file mode 100644 index 0000000000..c4b4d63a75 --- /dev/null +++ b/recipes/zope_dottedname/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_dottedname=3.4.6 +URL_zope_dottedname=http://pypi.python.org/packages/source/z/zope.dottedname/zope.dottedname-$VERSION_zope_dottedname.tar.gz +DEPS_zope_dottedname=(setuptools zope_interface) +MD5_zope_dottedname=62d639f75b31d2d864fe5982cb23959c +BUILD_zope_dottedname=$BUILD_PATH/zope_dottedname/$(get_directory $URL_zope_dottedname) +RECIPE_zope_dottedname=$RECIPES_PATH/zope_dottedname + +function prebuild_zope_dottedname() { + true +} + +function build_zope_dottedname() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/dottedname" ]; then + return + fi + + cd $BUILD_zope_dottedname + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_dottedname() { + true +} + diff --git a/recipes/zope_exceptions/recipe.sh b/recipes/zope_exceptions/recipe.sh new file mode 100644 index 0000000000..eeadb3fa46 --- /dev/null +++ b/recipes/zope_exceptions/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_exceptions=3.6.0 +URL_zope_exceptions=http://pypi.python.org/packages/source/z/zope.exceptions/zope.exceptions-$VERSION_zope_exceptions.tar.gz +DEPS_zope_exceptions=(setuptools zope_interface) +MD5_zope_exceptions=491779b577a49f547982ff39b3903b1a +BUILD_zope_exceptions=$BUILD_PATH/zope_exceptions/$(get_directory $URL_zope_exceptions) +RECIPE_zope_exceptions=$RECIPES_PATH/zope_exceptions + +function prebuild_zope_exceptions() { + true +} + +function build_zope_exceptions() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/exceptions" ]; then + return + fi + + cd $BUILD_zope_exceptions + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_exceptions() { + true +} + diff --git a/recipes/zope_testing/recipe.sh b/recipes/zope_testing/recipe.sh new file mode 100644 index 0000000000..2790ed2020 --- /dev/null +++ b/recipes/zope_testing/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_testing=3.10.3 +URL_zope_testing=http://pypi.python.org/packages/source/z/zope.testing/zope.testing-$VERSION_zope_testing.tar.gz +DEPS_zope_testing=(setuptools zope_interface) +MD5_zope_testing=d9d6055c0a017271bcc3938c18ea23e8 +BUILD_zope_testing=$BUILD_PATH/zope_testing/$(get_directory $URL_zope_testing) +RECIPE_zope_testing=$RECIPES_PATH/zope_testing + +function prebuild_zope_testing() { + true +} + +function build_zope_testing() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/testing" ]; then + return + fi + + cd $BUILD_zope_testing + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_testing() { + true +} + diff --git a/recipes/zope_thread/recipe.sh b/recipes/zope_thread/recipe.sh new file mode 100644 index 0000000000..a1bdb0901c --- /dev/null +++ b/recipes/zope_thread/recipe.sh @@ -0,0 +1,32 @@ +#!/bin/bash + +VERSION_zope_thread=3.4 +URL_zope_thread=http://pypi.python.org/packages/source/z/zope.thread/zope.thread-$VERSION_zope_thread.tar.gz +DEPS_zope_thread=(setuptools zope_interface) +MD5_zope_thread=3567037865b746c933d4af86e5aefa35 +BUILD_zope_thread=$BUILD_PATH/zope_thread/$(get_directory $URL_zope_thread) +RECIPE_zope_thread=$RECIPES_PATH/zope_thread + +function prebuild_zope_thread() { + true +} + +function build_zope_thread() { + + if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/thread" ]; then + return + fi + + cd $BUILD_zope_thread + + push_arm + export PYTHONPATH=$BUILD_hostpython/Lib/site-packages + try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages + pop_arm + +} + +function postbuild_zope_thread() { + true +} + From e9b75a05f591053edee60cbf47cf05514b0af9a2 Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 18:13:42 +0000 Subject: [PATCH 7/8] Correcting zope component dependencies --- recipes/zope_component/recipe.sh | 2 +- recipes/zope_i18nmessageid/recipe.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/zope_component/recipe.sh b/recipes/zope_component/recipe.sh index 47550873f5..735b34cc7e 100644 --- a/recipes/zope_component/recipe.sh +++ b/recipes/zope_component/recipe.sh @@ -2,7 +2,7 @@ VERSION_zope_component=3.12.0 URL_zope_component=http://pypi.python.org/packages/source/z/zope.component/zope.component-$VERSION_zope_component.tar.gz -DEPS_zope_component=(setuptools zope_event) +DEPS_zope_component=(setuptools zope_interface zope_event) MD5_zope_component=1002e3be68c56751335c185f01b286fb BUILD_zope_component=$BUILD_PATH/zope_component/$(get_directory $URL_zope_component) RECIPE_zope_component=$RECIPES_PATH/zope_component diff --git a/recipes/zope_i18nmessageid/recipe.sh b/recipes/zope_i18nmessageid/recipe.sh index 0a2540c56d..27edbbe045 100644 --- a/recipes/zope_i18nmessageid/recipe.sh +++ b/recipes/zope_i18nmessageid/recipe.sh @@ -2,7 +2,7 @@ VERSION_zope_i18nmessageid=3.6.1 URL_zope_i18nmessageid=http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-$VERSION_zope_i18nmessageid.tar.gz -DEPS_zope_i18nmessageid=(setuptools zope) +DEPS_zope_i18nmessageid=(setuptools zope_interface) MD5_zope_i18nmessageid=6716cd769c006b5e90af030f83592600 BUILD_zope_i18nmessageid=$BUILD_PATH/zope_i18nmessageid/$(get_directory $URL_zope_i18nmessageid) RECIPE_zope_i18nmessageid=$RECIPES_PATH/zope_i18nmessageid From 17c1544049c16a9ea435f3c931c9e08948aaeaee Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Thu, 15 Mar 2012 18:14:10 +0000 Subject: [PATCH 8/8] added zope.component architecture metarecipe --- recipes/zope_component_architecture/recipe.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/zope_component_architecture/recipe.sh diff --git a/recipes/zope_component_architecture/recipe.sh b/recipes/zope_component_architecture/recipe.sh new file mode 100644 index 0000000000..09b4cf7a39 --- /dev/null +++ b/recipes/zope_component_architecture/recipe.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +DEPS_zope_component_architecture=(setuptools zope_component zope_configuration zope_deferredimport zope_thread zope_testing zope_exceptions zope_deprecation zope_security zope_dottedname) +RECIPE_zope_component_architecture=$RECIPES_PATH/zope_component_architecture + +function prebuild_zope_component_architecture() { + true +} + +function build_zope_component_architecture() { + true +} + +function postbuild_zope_component_architecture() { + true +}