diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-cinder_git.bb | 50 |
1 files changed, 40 insertions, 10 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder_git.bb b/meta-openstack/recipes-devtools/python/python-cinder_git.bb index ceb17d8..7e689e7 100644 --- a/meta-openstack/recipes-devtools/python/python-cinder_git.bb +++ b/meta-openstack/recipes-devtools/python/python-cinder_git.bb | |||
| @@ -4,10 +4,9 @@ SECTION = "devel/python" | |||
| 4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" |
| 6 | 6 | ||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "cinder" | 7 | SRCNAME = "cinder" |
| 9 | 8 | ||
| 10 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/kilo \ | 9 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=master \ |
| 11 | file://cinder.conf \ | 10 | file://cinder.conf \ |
| 12 | file://cinder.init \ | 11 | file://cinder.init \ |
| 13 | file://cinder-volume \ | 12 | file://cinder-volume \ |
| @@ -15,14 +14,14 @@ SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/kilo \ | |||
| 15 | file://glusterfs_setup.sh \ | 14 | file://glusterfs_setup.sh \ |
| 16 | file://lvm_iscsi_setup.sh \ | 15 | file://lvm_iscsi_setup.sh \ |
| 17 | file://add-cinder-volume-types.sh \ | 16 | file://add-cinder-volume-types.sh \ |
| 18 | file://cinder-builtin-tests-config-location.patch \ | ||
| 19 | " | 17 | " |
| 20 | 18 | ||
| 21 | # file://0001-run_tests-respect-tools-dir.patch | 19 | # file://0001-run_tests-respect-tools-dir.patch |
| 22 | # file://fix_cinder_memory_leak.patch | 20 | # file://fix_cinder_memory_leak.patch |
| 21 | # file://cinder-builtin-tests-config-location.patch | ||
| 23 | 22 | ||
| 24 | SRCREV = "5987bb2290f629e59b0bcced2f8fe22cdeb9cc6d" | 23 | SRCREV = "61026d4e4f2a58dd84ffb2e4e40ab99860b9316a" |
| 25 | PV = "2015.1.0+git${SRCPV}" | 24 | PV = "7.0.0+git${SRCPV}" |
| 26 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
| 27 | 26 | ||
| 28 | inherit setuptools update-rc.d identity default_configs hosts openstackchef monitor | 27 | inherit setuptools update-rc.d identity default_configs hosts openstackchef monitor |
| @@ -49,9 +48,9 @@ python () { | |||
| 49 | } | 48 | } |
| 50 | SERVICECREATE_PACKAGES[vardeps] += "KEYSTONE_HOST" | 49 | SERVICECREATE_PACKAGES[vardeps] += "KEYSTONE_HOST" |
| 51 | 50 | ||
| 52 | do_install_prepend() { | 51 | #do_install_prepend() { |
| 53 | sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${S}/${SRCNAME}/tests/conf_fixture.py | 52 | # sed 's:%PYTHON_SITEPACKAGES_DIR%:${PYTHON_SITEPACKAGES_DIR}:g' -i ${S}/${SRCNAME}/tests/conf_fixture.py |
| 54 | } | 53 | #} |
| 55 | 54 | ||
| 56 | CINDER_LVM_VOLUME_BACKING_FILE_SIZE ?= "2G" | 55 | CINDER_LVM_VOLUME_BACKING_FILE_SIZE ?= "2G" |
| 57 | CINDER_NFS_VOLUME_SERVERS_DEFAULT = "controller:/etc/cinder/nfs_volumes" | 56 | CINDER_NFS_VOLUME_SERVERS_DEFAULT = "controller:/etc/cinder/nfs_volumes" |
| @@ -162,7 +161,7 @@ pkg_postinst_${SRCNAME}-setup () { | |||
| 162 | 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" |
| 163 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 162 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 164 | 163 | ||
| 165 | RDEPENDS_${SRCNAME}-tests += " bash" | 164 | RDEPENDS_${SRCNAME}-tests += " bash python" |
| 166 | 165 | ||
| 167 | FILES_${PN} = "${libdir}/* /etc/tgt" | 166 | FILES_${PN} = "${libdir}/* /etc/tgt" |
| 168 | 167 | ||
| @@ -207,7 +206,7 @@ RDEPENDS_${PN} += "lvm2 \ | |||
| 207 | python-paste \ | 206 | python-paste \ |
| 208 | python-sqlalchemy-migrate \ | 207 | python-sqlalchemy-migrate \ |
| 209 | python-stevedore \ | 208 | python-stevedore \ |
| 210 | python-suds \ | 209 | python-suds-jurko \ |
| 211 | python-paramiko \ | 210 | python-paramiko \ |
| 212 | python-babel \ | 211 | python-babel \ |
| 213 | python-iso8601 \ | 212 | python-iso8601 \ |
| @@ -218,9 +217,40 @@ RDEPENDS_${PN} += "lvm2 \ | |||
| 218 | python-cinderclient \ | 217 | python-cinderclient \ |
| 219 | python-oslo.config \ | 218 | python-oslo.config \ |
| 220 | python-oslo.rootwrap \ | 219 | python-oslo.rootwrap \ |
| 220 | python-oslo.concurrency \ | ||
| 221 | python-oslo.context \ | ||
| 222 | python-oslo.db \ | ||
| 223 | python-oslo.log \ | ||
| 224 | python-oslo.messaging \ | ||
| 225 | python-oslo.middleware \ | ||
| 226 | python-oslo.policy \ | ||
| 227 | python-oslo.reports \ | ||
| 228 | python-oslo.serialization \ | ||
| 229 | python-oslo.service \ | ||
| 230 | python-oslo.utils \ | ||
| 231 | python-oslo.versionedobjects \ | ||
| 221 | python-pbr \ | 232 | python-pbr \ |
| 222 | python-taskflow \ | 233 | python-taskflow \ |
| 223 | python-rtslib-fb \ | 234 | python-rtslib-fb \ |
| 235 | python-keystonemiddleware \ | ||
| 236 | python-netaddr \ | ||
| 237 | python-osprofiler \ | ||
| 238 | python-pycrypto \ | ||
| 239 | python-pyparsing \ | ||
| 240 | python-barbicanclient \ | ||
| 241 | python-glanceclient \ | ||
| 242 | python-novaclient \ | ||
| 243 | python-swiftclient \ | ||
| 244 | python-requests \ | ||
| 245 | python-retrying \ | ||
| 246 | python-taskflow \ | ||
| 247 | python-rtslib-fb \ | ||
| 248 | python-six \ | ||
| 249 | python-oslo.i18n \ | ||
| 250 | python-oslo.vmware \ | ||
| 251 | python-os-brick \ | ||
| 252 | python-enum34 \ | ||
| 253 | python-routes \ | ||
| 224 | " | 254 | " |
| 225 | 255 | ||
| 226 | RDEPENDS_${SRCNAME} = "${PN} \ | 256 | RDEPENDS_${SRCNAME} = "${PN} \ |
