aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2014-10-21 09:26:22 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-10-21 09:52:25 -0400
commit678848370eac1ed2a9422cb5fd6dfaca025fbb49 (patch)
tree7c73321ae528c5e4b62e3261d49d6d8166379eec
parent187c367ee8797ebe882e70bcad42a4cfb13f7641 (diff)
downloadmeta-cloud-services-678848370eac1ed2a9422cb5fd6dfaca025fbb49.tar.gz
meta-cloud-services-678848370eac1ed2a9422cb5fd6dfaca025fbb49.tar.bz2
meta-cloud-services-678848370eac1ed2a9422cb5fd6dfaca025fbb49.zip
keystone/libs: introduce oauthlib
In the juno release, keystone depends on oauthlib, so we introduce the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta-openstack/recipes-devtools/python/python-oauthlib_0.6.3.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-oauthlib_0.6.3.bb b/meta-openstack/recipes-devtools/python/python-oauthlib_0.6.3.bb
new file mode 100644
index 0000000..336de30
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-oauthlib_0.6.3.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
+HOMEPAGE = "https://github.com/idan/oauthlib"
+SECTION = "devel/python"
+LICENSE = "Apache-2"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5ba9ce41463615e082609806255bce1b"
+
+PR = "r1"
+
+SRCNAME = "oauthlib"
+SRC_URI = "http://pypi.python.org/packages/source/o/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "3ecba28f991ee58db2aeda8b4e2b56b1"
+SRC_URI[sha256sum] = "0a11ab2311f7a29d0079fe529bde9503fec9a2bdd52db834cf8a284a8c1c52f9"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+# DEPENDS_default: python-pip
+
+DEPENDS += " \
+ python-pip \
+ "
+
+# RDEPENDS_default:
+RDEPENDS_${PN} += " \
+ "
+
+do_install_append() {
+ perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"`
+ for f in $perm_files; do
+ chmod 644 "${f}"
+ done
+}
+