Skip to contentSkip to conversation

keystone: add missing functools32 module

PATCH In review Mark Asselstine 2 participants 2 messages Oct 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 keystone: add missing functools32 module

Keystone fails to install due to functools32 missing. Add a new recipe for functools32 and include the dependency in keystone.

---
 .../python/python-functools32_3.2.3-2.bb           | 29 ++++++++++++++++++++++
 .../recipes-devtools/python/python-keystone_git.bb |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb
meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb new file +29 -0
new file mode 100644
index 0000000..937e933
@@ -0,0 +1,29 @@
+SUMMARY = "Python higher-order functions and operations on callable objects"
+HOMEPAGE = "https://pypi.python.org/pypi/functools32"
+SECTION = "devel/python"
+LICENSE = "PSFv2"
+
+SRCNAME = "functools32"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10"
+SRC_URI = "http://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2"
+SRC_URI[sha256sum] = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
+
+DEPENDS += " \
+	python-pbr \
+	"
+
+RDEPENDS_${PN} += "python-testtools \
+	python-pbr \
+	"
+
meta-openstack/recipes-devtools/python/python-keystone_git.bb +1 -0
index 8fbf996..58aa449 100644
@@ -286,6 +286,7 @@ RDEPENDS_${PN} += " \
         python-oauthlib \
         python-fixtures \
         python-oslotest \
+        python-functools32 \
         "
 
 RDEPENDS_${SRCNAME}-tests += " bash"
Signature · 1 line
2.1.4
#1 lore raw
Quoted 2 lines · Mark Asselstine

Keystone fails to install due to functools32 missing. Add a new recipe for functools32 and include the dependency in keystone.

merged.

Bruce

Quoted 56 lines
---
  .../python/python-functools32_3.2.3-2.bb           | 29 ++++++++++++++++++++++
  .../recipes-devtools/python/python-keystone_git.bb |  1 +
  2 files changed, 30 insertions(+)

create mode 100644 meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb

meta-openstack/recipes-devtools/python/python-functools32_3.2.3-2.bb new file +29 -0
new file mode 100644
index 0000000..937e933
@@ -0,0 +1,29 @@
+SUMMARY = "Python higher-order functions and operations on callable objects"
+HOMEPAGE = "https://pypi.python.org/pypi/functools32"
+SECTION = "devel/python"
+LICENSE = "PSFv2"
+
+SRCNAME = "functools32"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=27cf2345969ed18e6730e90fb0063a10"
+SRC_URI = "http://pypi.python.org/packages/source/f/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "09f24ffd9af9f6cd0f63cb9f4e23d4b2"
+SRC_URI[sha256sum] = "f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
+
+DEPENDS += " \
+	python-pbr \
+	"
+
+RDEPENDS_${PN} += "python-testtools \
+	python-pbr \
+	"
+
meta-openstack/recipes-devtools/python/python-keystone_git.bb +1 -0
index 8fbf996..58aa449 100644
@@ -286,6 +286,7 @@ RDEPENDS_${PN} += " \
          python-oauthlib \
          python-fixtures \
          python-oslotest \
+        python-functools32 \
          "
 
  RDEPENDS_${SRCNAME}-tests += " bash"