summaryrefslogtreecommitdiff
path: root/meta-phosphor
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/recipes-devtools/python/pamela_0.3.0.bb15
-rw-r--r--meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb1
2 files changed, 16 insertions, 0 deletions
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 0000000000..8071fcb04f
--- /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 f18e55caa8..e1ae65a676 100644
--- a/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb
+++ b/meta-phosphor/recipes-phosphor/interfaces/phosphor-rest.bb
@@ -23,6 +23,7 @@ RDEPENDS_${PN} += " \
pyphosphor-utils \
pyphosphor-dbus \
pyphosphor-wsgi-apps-ns \
+ pamela \
"
SRC_URI += "file://url_config.json \
"