summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2014-09-10 15:44:28 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2014-09-10 15:44:28 +0200
commita5756934da409c25b941da56321810a1bb5a26ca (patch)
tree158c189573f714b9ffc118ee35f260b41128a0b5 /debian
parent0201cf94760c36749582206a3d363d25c1725815 (diff)
Added flask debian dependency.
- Remove version information from egg for debian as debian manages dependencies.
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index f7addb1a..c5ffbdf2 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ X-Python-Version: >= 2.7
Package: pixelated-user-agent
Architecture: all
-Depends: python (>= 2.7), python (<< 2.8), leap-keymanager, soledad-common, soledad-client,, leap-mail, gunicorn, python-srp, python-dirspec, python-u1db
+Depends: python (>= 2.7), python (<< 2.8), leap-keymanager, soledad-common, soledad-client,, leap-mail, gunicorn, python-srp, python-dirspec, python-u1db, python-flask
Description: API to serve the pixelated front-end requests
Pixelated User Agent Service
============================
diff --git a/debian/rules b/debian/rules
index 80a8ab61..0fb5cd6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,8 @@ override_dh_auto_clean:
override_dh_auto_build:
dh_auto_build
+ # patch requires.txt file by stripping version information - these are provided by debian depends
+ find debian/ -name requires.txt |xargs perl -i -pe "s/(.*)==.*/\1/"
dh_auto_build --sourcedirectory=web-ui
override_dh_auto_install: