Skip to content

Commit 76b29a5

Browse files
author
Ryan Northey
committed
adding zope.component.security packages
1 parent 1cbecb9 commit 76b29a5

File tree

5 files changed

+179
-0
lines changed

5 files changed

+179
-0
lines changed

recipes/zope_i18nmessageid/recipe.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/bin/bash
2+
3+
VERSION_zope_i18nmessageid=3.6.1
4+
URL_zope_i18nmessageid=http://pypi.python.org/packages/source/z/zope.i18nmessageid/zope.i18nmessageid-$VERSION_zope_i18nmessageid.tar.gz
5+
DEPS_zope_i18nmessageid=(setuptools zope)
6+
MD5_zope_i18nmessageid=6716cd769c006b5e90af030f83592600
7+
BUILD_zope_i18nmessageid=$BUILD_PATH/zope_i18nmessageid/$(get_directory $URL_zope_i18nmessageid)
8+
RECIPE_zope_i18nmessageid=$RECIPES_PATH/zope_i18nmessageid
9+
10+
function prebuild_zope_i18nmessageid() {
11+
true
12+
}
13+
14+
function build_zope_i18nmessageid() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/i18nmessageid" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_zope_i18nmessageid
21+
push_arm
22+
23+
try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v
24+
try find build/lib.* -name "*.o" -exec $STRIP {} \;
25+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
26+
27+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
28+
pop_arm
29+
}
30+
31+
function postbuild_zope_i18nmessageid() {
32+
true
33+
}

recipes/zope_location/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_zope_location=3.9.1
4+
URL_zope_location=http://pypi.python.org/packages/source/z/zope.location/zope.location-$VERSION_zope_location.tar.gz
5+
DEPS_zope_location=(setuptools zope_interface)
6+
MD5_zope_location=1684a8f986099d15296f670c58e713d8
7+
BUILD_zope_location=$BUILD_PATH/zope_location/$(get_directory $URL_zope_location)
8+
RECIPE_zope_location=$RECIPES_PATH/zope_location
9+
10+
function prebuild_zope_location() {
11+
true
12+
}
13+
14+
function build_zope_location() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/location" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_zope_location
21+
22+
push_arm
23+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
24+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
25+
pop_arm
26+
27+
}
28+
29+
function postbuild_zope_location() {
30+
true
31+
}
32+

recipes/zope_proxy/recipe.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/bin/bash
2+
3+
VERSION_zope_proxy=3.5.0
4+
URL_zope_proxy=http://pypi.python.org/packages/source/z/zope.proxy/zope.proxy-$VERSION_zope_proxy.tar.gz
5+
DEPS_zope_proxy=(setuptools zope_interface)
6+
MD5_zope_proxy=ac5fc916b572bc3ff630b49cda52d94a
7+
BUILD_zope_proxy=$BUILD_PATH/zope_proxy/$(get_directory $URL_zope_proxy)
8+
RECIPE_zope_proxy=$RECIPES_PATH/zope_proxy
9+
10+
function prebuild_zope_proxy() {
11+
true
12+
}
13+
14+
function build_zope_proxy() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/proxy" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_zope_proxy
21+
22+
push_arm
23+
24+
export LDFLAGS="$LDFLAGS -L$LIBS_PATH"
25+
export LDSHARED="$LIBLINK"
26+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
27+
28+
try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v
29+
try find build/lib.* -name "*.o" -exec $STRIP {} \;
30+
31+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
32+
33+
pop_arm
34+
35+
}
36+
37+
function postbuild_zope_proxy() {
38+
true
39+
}
40+

recipes/zope_schema/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_zope_schema=3.5.1
4+
URL_zope_schema=http://pypi.python.org/packages/source/z/zope.schema/zope.schema-$VERSION_zope_schema.tar.gz
5+
DEPS_zope_schema=(setuptools zope_interface zope_i18nmessageid zope_event)
6+
MD5_zope_schema=91e5f6f977746dc692049658649d9e47
7+
BUILD_zope_schema=$BUILD_PATH/zope_schema/$(get_directory $URL_zope_schema)
8+
RECIPE_zope_schema=$RECIPES_PATH/zope_schema
9+
10+
function prebuild_zope_schema() {
11+
true
12+
}
13+
14+
function build_zope_schema() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/schema" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_zope_schema
21+
22+
push_arm
23+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
24+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
25+
pop_arm
26+
27+
}
28+
29+
function postbuild_zope_schema() {
30+
true
31+
}
32+

recipes/zope_security/recipe.sh

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#!/bin/bash
2+
3+
VERSION_zope_security=3.8.3
4+
URL_zope_security=http://pypi.python.org/packages/source/z/zope.security/zope.security-$VERSION_zope_security.tar.gz
5+
DEPS_zope_security=(setuptools zope_interface)
6+
MD5_zope_security=0b4f0bec812ddd84e9e4ef427dadb889
7+
BUILD_zope_security=$BUILD_PATH/zope_security/$(get_directory $URL_zope_security)
8+
RECIPE_zope_security=$RECIPES_PATH/zope_security
9+
10+
function prebuild_zope_security() {
11+
true
12+
}
13+
14+
function build_zope_security() {
15+
16+
if [ -d "$BUILD_PATH/python-install/lib/python2.7/site-packages/zope/security" ]; then
17+
return
18+
fi
19+
20+
cd $BUILD_zope_security
21+
22+
push_arm
23+
24+
export LDFLAGS="$LDFLAGS -L$LIBS_PATH"
25+
export LDSHARED="$LIBLINK"
26+
export PYTHONPATH=$BUILD_hostpython/Lib/site-packages
27+
28+
try $BUILD_PATH/python-install/bin/python.host setup.py build_ext -v
29+
try find build/lib.* -name "*.o" -exec $STRIP {} \;
30+
31+
try $BUILD_hostpython/hostpython setup.py install -O2 --root=$BUILD_PATH/python-install --install-lib=lib/python2.7/site-packages
32+
33+
unset LDSHARED
34+
35+
pop_arm
36+
37+
}
38+
39+
function postbuild_zope_security() {
40+
true
41+
}
42+

0 commit comments

Comments
 (0)