diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-02-21 00:41:50 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-02-21 00:42:47 -0500 |
| commit | 441977d076e5c0aeace44ba65d301b5c6c61d59f (patch) | |
| tree | d3cd21ff7d4aed5e65ff243cd5966b01970e9462 /meta-openstack/recipes-devtools/python | |
| parent | dc8c4840c582677c7bfcb8870b3041d3e62c86f9 (diff) | |
| download | meta-cloud-services-441977d076e5c0aeace44ba65d301b5c6c61d59f.tar.gz | |
QA: fix build and runtime warnings
oe-core now warns on detected missing runtime and build time warnings.
So we update our recipes to have these missingn deps (largely bash).
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
12 files changed, 20 insertions, 1 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb index 48051dd..5c6fbbb 100644 --- a/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb +++ b/meta-openstack/recipes-devtools/python/python-ceilometer_git.bb | |||
| @@ -138,6 +138,8 @@ PACKAGES += "${SRCNAME}-agent-notification" | |||
| 138 | PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" | 138 | PACKAGES += "${SRCNAME}-collector ${SRCNAME}-compute ${SRCNAME}-controller" |
| 139 | PACKAGES += " ${SRCNAME}-reseller" | 139 | PACKAGES += " ${SRCNAME}-reseller" |
| 140 | 140 | ||
| 141 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 142 | |||
| 141 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 143 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 142 | ALLOW_EMPTY_${SRCNAME}-reseller = "1" | 144 | ALLOW_EMPTY_${SRCNAME}-reseller = "1" |
| 143 | ALLOW_EMPTY_${SRCNAME}-tests = "1" | 145 | ALLOW_EMPTY_${SRCNAME}-tests = "1" |
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index 4769a82..a51d27a 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb | |||
| @@ -161,6 +161,8 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 161 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" | 161 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-setup ${SRCNAME}-api ${SRCNAME}-volume ${SRCNAME}-scheduler ${SRCNAME}-backup" |
| 162 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 162 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 163 | 163 | ||
| 164 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 165 | |||
| 164 | FILES_${PN} = "${libdir}/* /etc/tgt" | 166 | FILES_${PN} = "${libdir}/* /etc/tgt" |
| 165 | 167 | ||
| 166 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ | 168 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh \ |
diff --git a/meta-openstack/recipes-devtools/python/python-glance_git.bb b/meta-openstack/recipes-devtools/python/python-glance_git.bb index f7ae43c..b1d97c4 100644 --- a/meta-openstack/recipes-devtools/python/python-glance_git.bb +++ b/meta-openstack/recipes-devtools/python/python-glance_git.bb | |||
| @@ -205,7 +205,7 @@ RDEPENDS_${SRCNAME} = "${PN} \ | |||
| 205 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" | 205 | RDEPENDS_${SRCNAME}-api = "${SRCNAME}" |
| 206 | RDEPENDS_${SRCNAME}-registry = "${SRCNAME}" | 206 | RDEPENDS_${SRCNAME}-registry = "${SRCNAME}" |
| 207 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" | 207 | RDEPENDS_${SRCNAME}-setup = "postgresql sudo ${SRCNAME}" |
| 208 | RDEPENDS_${SRCNAME}-tests = "python-psutil qpid-python" | 208 | RDEPENDS_${SRCNAME}-tests = "python-psutil qpid-python bash" |
| 209 | 209 | ||
| 210 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-registry" | 210 | INITSCRIPT_PACKAGES = "${SRCNAME}-api ${SRCNAME}-registry" |
| 211 | INITSCRIPT_NAME_${SRCNAME}-api = "glance-api" | 211 | INITSCRIPT_NAME_${SRCNAME}-api = "glance-api" |
diff --git a/meta-openstack/recipes-devtools/python/python-heat_git.bb b/meta-openstack/recipes-devtools/python/python-heat_git.bb index dc989b5..8718147 100644 --- a/meta-openstack/recipes-devtools/python/python-heat_git.bb +++ b/meta-openstack/recipes-devtools/python/python-heat_git.bb | |||
| @@ -133,6 +133,9 @@ PACKAGES += "${SRCNAME}-tests ${SRCNAME}-templates ${SRCNAME}-common ${SRCNAME}- | |||
| 133 | PACKAGES += "${SRCNAME}-setup" | 133 | PACKAGES += "${SRCNAME}-setup" |
| 134 | PACKAGES += "${SRCNAME}-cfn" | 134 | PACKAGES += "${SRCNAME}-cfn" |
| 135 | 135 | ||
| 136 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 137 | |||
| 138 | |||
| 136 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 139 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 137 | ALLOW_EMPTY_${SRCNAME}-templates = "1" | 140 | ALLOW_EMPTY_${SRCNAME}-templates = "1" |
| 138 | ALLOW_EMPTY_${SRCNAME}-cfn = "1" | 141 | ALLOW_EMPTY_${SRCNAME}-cfn = "1" |
diff --git a/meta-openstack/recipes-devtools/python/python-horizon_git.bb b/meta-openstack/recipes-devtools/python/python-horizon_git.bb index d7545c8..bf7f959 100644 --- a/meta-openstack/recipes-devtools/python/python-horizon_git.bb +++ b/meta-openstack/recipes-devtools/python/python-horizon_git.bb | |||
| @@ -133,6 +133,8 @@ do_install_append() { | |||
| 133 | 133 | ||
| 134 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone" | 134 | PACKAGES += "${SRCNAME}-tests ${SRCNAME} ${SRCNAME}-apache ${SRCNAME}-standalone" |
| 135 | 135 | ||
| 136 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 137 | |||
| 136 | FILES_${PN} = "${libdir}/*" | 138 | FILES_${PN} = "${libdir}/*" |
| 137 | 139 | ||
| 138 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | 140 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" |
diff --git a/meta-openstack/recipes-devtools/python/python-keystone_git.bb b/meta-openstack/recipes-devtools/python/python-keystone_git.bb index 5db4cc0..35fdaef 100644 --- a/meta-openstack/recipes-devtools/python/python-keystone_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystone_git.bb | |||
| @@ -283,6 +283,8 @@ RDEPENDS_${PN} += " \ | |||
| 283 | python-oauthlib \ | 283 | python-oauthlib \ |
| 284 | " | 284 | " |
| 285 | 285 | ||
| 286 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 287 | |||
| 286 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" | 288 | PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'OpenLDAP', 'OpenLDAP', '', d)}" |
| 287 | PACKAGECONFIG[OpenLDAP] = ",,,python-ldap python-keystone-hybrid-backend" | 289 | PACKAGECONFIG[OpenLDAP] = ",,,python-ldap python-keystone-hybrid-backend" |
| 288 | 290 | ||
diff --git a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb index c001dcf..df1ed22 100644 --- a/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb +++ b/meta-openstack/recipes-devtools/python/python-keystoneclient_git.bb | |||
| @@ -52,6 +52,7 @@ FILES_${SRCNAME}-tests = "${PYTHON_SITEPACKAGES_DIR}/${SRCNAME}/examples \ | |||
| 52 | " | 52 | " |
| 53 | RDEPENDS_${SRCNAME}-tests += " \ | 53 | RDEPENDS_${SRCNAME}-tests += " \ |
| 54 | python-httpretty \ | 54 | python-httpretty \ |
| 55 | bash \ | ||
| 55 | " | 56 | " |
| 56 | 57 | ||
| 57 | MONITOR_CHECKS_${PN} += "\ | 58 | MONITOR_CHECKS_${PN} += "\ |
diff --git a/meta-openstack/recipes-devtools/python/python-neutron_git.bb b/meta-openstack/recipes-devtools/python/python-neutron_git.bb index c29ccee..4166189 100644 --- a/meta-openstack/recipes-devtools/python/python-neutron_git.bb +++ b/meta-openstack/recipes-devtools/python/python-neutron_git.bb | |||
| @@ -204,6 +204,8 @@ PACKAGES += " \ | |||
| 204 | FILES_${PN} = "${libdir}/*" | 204 | FILES_${PN} = "${libdir}/*" |
| 205 | 205 | ||
| 206 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" | 206 | FILES_${SRCNAME}-tests = "${sysconfdir}/${SRCNAME}/run_tests.sh" |
| 207 | RDEPENDS_${SRCNAME}-tests += " bash" | ||
| 208 | |||
| 207 | 209 | ||
| 208 | FILES_${SRCNAME} = " \ | 210 | FILES_${SRCNAME} = " \ |
| 209 | ${bindir}/neutron-db-manage \ | 211 | ${bindir}/neutron-db-manage \ |
diff --git a/meta-openstack/recipes-devtools/python/python-nova_git.bb b/meta-openstack/recipes-devtools/python/python-nova_git.bb index 6afe3bd..aa677ae 100644 --- a/meta-openstack/recipes-devtools/python/python-nova_git.bb +++ b/meta-openstack/recipes-devtools/python/python-nova_git.bb | |||
| @@ -342,6 +342,7 @@ RDEPENDS_${SRCNAME}-ec2 = "postgresql sudo ${SRCNAME}-common" | |||
| 342 | 342 | ||
| 343 | RDEPENDS_${SRCNAME}-tests = " \ | 343 | RDEPENDS_${SRCNAME}-tests = " \ |
| 344 | python-coverage \ | 344 | python-coverage \ |
| 345 | bash \ | ||
| 345 | " | 346 | " |
| 346 | 347 | ||
| 347 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute ${SRCNAME}-consoleauth ${SRCNAME}-novncproxy ${SRCNAME}-spicehtml5proxy" | 348 | INITSCRIPT_PACKAGES = "${SRCNAME}-compute ${SRCNAME}-consoleauth ${SRCNAME}-novncproxy ${SRCNAME}-spicehtml5proxy" |
diff --git a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb index 9c646e4..4af6459 100644 --- a/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb +++ b/meta-openstack/recipes-devtools/python/python-pycrypto_2.6.bb | |||
| @@ -24,6 +24,8 @@ export HOST_SYS | |||
| 24 | 24 | ||
| 25 | inherit autotools autotools-brokensep distutils | 25 | inherit autotools autotools-brokensep distutils |
| 26 | 26 | ||
| 27 | DEPENDS += " gmp" | ||
| 28 | |||
| 27 | # We explicitly call distutils_do_install, since we want it to run, but | 29 | # We explicitly call distutils_do_install, since we want it to run, but |
| 28 | # *don't* want the autotools install to run, since this package doesn't | 30 | # *don't* want the autotools install to run, since this package doesn't |
| 29 | # provide a "make install" target. | 31 | # provide a "make install" target. |
diff --git a/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb b/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb index c3d4dce..b60322f 100644 --- a/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb +++ b/meta-openstack/recipes-devtools/python/python-pyscss_1.2.1.bb | |||
| @@ -20,6 +20,7 @@ inherit setuptools | |||
| 20 | 20 | ||
| 21 | DEPENDS += " \ | 21 | DEPENDS += " \ |
| 22 | python-pip \ | 22 | python-pip \ |
| 23 | libpcre \ | ||
| 23 | " | 24 | " |
| 24 | 25 | ||
| 25 | # RDEPENDS_default: | 26 | # RDEPENDS_default: |
diff --git a/meta-openstack/recipes-devtools/python/python-swift_git.bb b/meta-openstack/recipes-devtools/python/python-swift_git.bb index de21ab6..03e5e40 100644 --- a/meta-openstack/recipes-devtools/python/python-swift_git.bb +++ b/meta-openstack/recipes-devtools/python/python-swift_git.bb | |||
| @@ -172,6 +172,7 @@ RDEPENDS_${PN} += " \ | |||
| 172 | python-xattr \ | 172 | python-xattr \ |
| 173 | python-pbr \ | 173 | python-pbr \ |
| 174 | python-dnspython \ | 174 | python-dnspython \ |
| 175 | bash \ | ||
| 175 | " | 176 | " |
| 176 | 177 | ||
| 177 | RDEPENDS_${SRCNAME} = "${PN}" | 178 | RDEPENDS_${SRCNAME} = "${PN}" |
