Add python library pamela as a dependency of phosphor-rest-server

Pamela is a python wrapper for PAM. Compared to python-pam it has wrapper for
account management in addition to authentication.

(From meta-phosphor rev: 65c5362ac32389167766f51de4cd3f645fae0123)

Change-Id: I5fee48e75d1b68b998fdb2971aad3802191ee1d5
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-devtools/python/pamela_0.3.0.bb b/meta-phosphor/recipes-devtools/python/pamela_0.3.0.bb
new file mode 100644
index 0000000..8071fcb
--- /dev/null
+++ b/meta-phosphor/recipes-devtools/python/pamela_0.3.0.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "Pamela: yet another Python wrapper for PAM"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bfb663f37eb99232bc8ccfa4ea8f1202"
+
+SRC_URI[md5sum] = "de6516118d51eb5fc97017f3b6d5c68b"
+SRC_URI[sha256sum] = "1e198446a6cdd87704aa0def7621d62e7c20b0e6068e2788b9a866a8355e5d6b"
+
+PYPI_PACKAGE = "pamela"
+
+inherit pypi setuptools
+
+RDEPENDS_${PN} = "libpam"
+
+inherit distro_features_check
+REQUIRED_DISTRO_FEATURES = "pam"
diff --git a/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb b/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb
index f18e55c..e1ae65a 100644
--- a/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb
+++ b/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb
@@ -23,6 +23,7 @@
         pyphosphor-utils \
         pyphosphor-dbus \
         pyphosphor-wsgi-apps-ns \
+        pamela \
         "
 SRC_URI += "file://url_config.json \
            "