diff options
| author | Mark Asselstine <mark.asselstine@windriver.com> | 2015-11-11 21:50:28 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-11-16 15:11:44 -0500 |
| commit | d4c210c0903219cf0e048990ab208a18ca828657 (patch) | |
| tree | afa629c7b70df922bf4bbe365769e626a117fc7a /meta-openstack/recipes-devtools/python/python-appdirs_git.bb | |
| parent | d0206f9f16905937397f27fb8c18a46331d13056 (diff) | |
| download | meta-cloud-services-d4c210c0903219cf0e048990ab208a18ca828657.tar.gz | |
openstackclient: add missing python modules
Attempting to run 'openstack' commands (such as 'openstack user list')
will fail with errors regarding missing python modules.
Add the missing module recipes and add the dependencies to
openstackclient.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-appdirs_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-appdirs_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-appdirs_git.bb b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb new file mode 100644 index 0000000..8e40f26 --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-appdirs_git.bb | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | DESCRIPTION = "A small Python module for determining appropriate platform-specific dirs, e.g. a user data dir." | ||
| 2 | HOMEPAGE = "http://github.com/ActiveState/appdirs" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=31625363c45eb0c67c630a2f73e438e4" | ||
| 6 | |||
| 7 | PV = "1.4.0" | ||
| 8 | SRCREV = "57f2bc44a8bca99bac6c57496c8b3fdea26f94d5" | ||
| 9 | |||
| 10 | SRCNAME = "appdirs" | ||
| 11 | SRC_URI = "git://github.com/ActiveState/${SRCNAME}.git" | ||
| 12 | |||
| 13 | S = "${WORKDIR}/git" | ||
| 14 | |||
| 15 | inherit distutils | ||
| 16 | |||
| 17 | DEPENDS += " \ | ||
| 18 | python-pip \ | ||
| 19 | " | ||
| 20 | |||
| 21 | RDEPENDS_${PN} += " \ | ||
| 22 | python-pip \ | ||
| 23 | " | ||
| 24 | |||
| 25 | do_install_append() { | ||
| 26 | # Using these "longest" paths will ensure needed shorter paths will be created | ||
| 27 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test | ||
| 28 | install -d ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info | ||
| 29 | |||
| 30 | install -m 644 ${S}/${SRCNAME}.py ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.py | ||
| 31 | install -m 644 ${S}/${SRCNAME}.pyc ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/__init__.pyc | ||
| 32 | install -m 644 ${S}/test/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}/test/ | ||
| 33 | install -m 644 ${S}/${SRCNAME}.egg-info/* ${D}/${libdir}/python2.7/site-packages/${SRCNAME}.egg-info/ | ||
| 34 | } | ||
