From 678848370eac1ed2a9422cb5fd6dfaca025fbb49 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 21 Oct 2014 09:26:22 -0400 Subject: keystone/libs: introduce oauthlib In the juno release, keystone depends on oauthlib, so we introduce the recipe. Signed-off-by: Bruce Ashfield --- .../python/python-oauthlib_0.6.3.bb | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-oauthlib_0.6.3.bb 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 +} + -- cgit v1.2.3-54-g00ecf