summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2017-08-17 17:32:22 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2017-08-17 23:03:42 +0200
commit47ebf4e59cf84295aa072d909fe3312ff57e305b (patch)
tree01813ef11e590718cb34beb3a9466eedc6688a8d
parentbba671cf8df8dfadeec926acb7a3d15d07946dc7 (diff)
downloadbcfg2-47ebf4e59cf84295aa072d909fe3312ff57e305b.tar.gz
bcfg2-47ebf4e59cf84295aa072d909fe3312ff57e305b.tar.bz2
bcfg2-47ebf4e59cf84295aa072d909fe3312ff57e305b.zip
testsuite: Fix building of m2crypto with Python2.6
-rwxr-xr-xtestsuite/install.sh15
1 files changed, 10 insertions, 5 deletions
diff --git a/testsuite/install.sh b/testsuite/install.sh
index d2fd20acb..758d5bdf8 100755
--- a/testsuite/install.sh
+++ b/testsuite/install.sh
@@ -24,13 +24,18 @@ else
pip_wheel PyYAML pyinotify boto pylibacl Jinja2 \
cherrypy python-augeas nose-show-skipped
- if [[ ${PYVER:0:1} == "2" ]]; then
- pip_wheel m2crypto guppy
- fi
-
if [[ $PYVER == "2.6" ]]; then
- pip_wheel 'django<1.7' 'South<0.8' 'mercurial<4.3' cheetah
+ pip install \
+ --global-option='build_ext' \
+ --global-option='--include-dirs=/usr/include/x86_64-linux-gnu' \
+ m2crypto
+
+ pip_wheel 'django<1.7' 'South<0.8' 'mercurial<4.3' cheetah guppy
else
+ if [[ $PYVER == "2.7" ]]; then
+ pip_wheel m2crypto guppy
+ fi
+
pip_wheel django mercurial cheetah3
fi
fi