Skip to content

Commit

Permalink
xenial ss: remove psycopg dependency
Browse files Browse the repository at this point in the history
Related to #62.
Also, enable pip index to workaround #84, a we do in trusty
  • Loading branch information
scollazo committed Nov 15, 2017
1 parent b413b20 commit 13b2660
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debs/xenial/archivematica-storage-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:xenial

RUN apt-get update && \
apt-get install -y dpkg-dev git build-essential wget debhelper \
devscripts equivs
devscripts equivs quilt

RUN wget -O /tmp/pip.py https://bootstrap.pypa.io/get-pip.py && python /tmp/pip.py

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Index: archivematica-storage-service/requirements/production.txt
===================================================================
--- archivematica-storage-service.orig/requirements/production.txt
+++ archivematica-storage-service/requirements/production.txt
@@ -6,4 +6,3 @@
# in all cases (i.e. test.txt doesn't need them, but local and production do)
dj-database-url==0.4.2
mysqlclient==1.3.8
-psycopg2==2.7.1
\ No newline at end of file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
remove-psycopg-requirement.diff
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
dh $@ --with python-virtualenv --with systemd

override_dh_virtualenv:
dh_virtualenv --extra-pip-arg --no-index --extra-pip-arg --find-links=lib
dh_virtualenv --extra-pip-arg --find-links=lib

0 comments on commit 13b2660

Please sign in to comment.