From 20c21929ceae0fe4327cc337381bae63e5aae6f3 Mon Sep 17 00:00:00 2001
From: Rafael Monnerat <rafael@nexedi.com>
Date: Tue, 19 Sep 2017 13:21:40 +0200
Subject: [PATCH] erp5: Add facebook-sdk

   This library is required for a generic implementation of OAuth implementation of facebook login
---
 software/slapos-master/software.cfg | 4 ----
 stack/erp5/buildout.cfg             | 5 +++++
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/software/slapos-master/software.cfg b/software/slapos-master/software.cfg
index dfc189699..41927de99 100644
--- a/software/slapos-master/software.cfg
+++ b/software/slapos-master/software.cfg
@@ -31,7 +31,6 @@ update-command = ${:command}
 
 [eggs]
 eggs +=
-  facebook-sdk
   slapos.core
   
 dummy +=
@@ -65,6 +64,3 @@ filename = instance-create-erp5-site-real.cfg.in
 
 [versions]
 python-memcached = 1.47
-facebook-sdk = 2.0.0
-erp5diff = 0.8.1.6
-
diff --git a/stack/erp5/buildout.cfg b/stack/erp5/buildout.cfg
index 971debbd6..e1c19346c 100644
--- a/stack/erp5/buildout.cfg
+++ b/stack/erp5/buildout.cfg
@@ -558,9 +558,13 @@ eggs = ${neoppod:eggs}
 
 # Needed for parsing .po files from our Localizer subset
   polib
+
 # Needed for Google OAuth
   google-api-python-client
 
+# Need for Facebook OAuth
+  facebook-sdk
+
 # Used by ERP5 Jupyter backend
   ipykernel
 
@@ -729,6 +733,7 @@ rtjp-eventlet = 0.3.2
 socketpool = 0.5.3
 spyne = 2.12.14
 suds = 0.4
+facebook-sdk = 2.0.0
 threadframe = 0.2
 timerserver = 2.0.2
 urlnorm = 1.1.4
-- 
2.30.9