summaryrefslogtreecommitdiff
path: root/mail/pkg
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-12-06 15:48:54 -0300
committerTomás Touceda <chiiph@leap.se>2013-12-06 15:48:54 -0300
commit1e6629297273e3906df51a9a1c0db52e5d8cc85f (patch)
treed3e20036d6e986f2a0509003fdcd426ea1e54857 /mail/pkg
parente65620c9de05fdd051a8ad045a0ff81bcf67e39a (diff)
parentd8aa0552cef82516cafc2ccca9f6dc1da97371e3 (diff)
Merge branch 'release-0.3.8'
Diffstat (limited to 'mail/pkg')
-rw-r--r--mail/pkg/requirements.pip2
-rwxr-xr-xmail/pkg/tools/with_venvwrapper.sh16
2 files changed, 17 insertions, 1 deletions
diff --git a/mail/pkg/requirements.pip b/mail/pkg/requirements.pip
index 7ed5087..dc0635c 100644
--- a/mail/pkg/requirements.pip
+++ b/mail/pkg/requirements.pip
@@ -1,6 +1,6 @@
zope.interface
leap.soledad.client>=0.3.0
leap.common>=0.3.5
-leap.keymanager>=0.3.4
+leap.keymanager>=0.3.7
twisted # >= 12.0.3 ??
zope.proxy
diff --git a/mail/pkg/tools/with_venvwrapper.sh b/mail/pkg/tools/with_venvwrapper.sh
new file mode 100755
index 0000000..693c0ac
--- /dev/null
+++ b/mail/pkg/tools/with_venvwrapper.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#Wraps a command in a virtualenwrapper passed as first argument.
+#Example:
+#with_virtualenvwrapper.sh leap-bitmask ./run_tests.sh
+
+wd=`pwd`
+alias pyver='python -c "import $1;print $1.__path__[0]; print $1.__version__;"'
+
+source `which virtualenvwrapper.sh`
+echo "Activating virtualenv " $1
+echo "------------------------------------"
+workon $1
+cd $wd
+echo "running version: " `pyver leap.bitmask`
+$2 $3 $4 $5