diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-10-31 01:30:55 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-11-25 15:25:35 -0500 |
| commit | 01ac9544e0a645f80f0c3aea327bf3ee8d02fff9 (patch) | |
| tree | ae36cebdb8571699ab08bba9b89300f01865de38 /meta-openstack/recipes-devtools/python/python-swift_git.bb | |
| parent | 2290ee09ef3c2cd8aaf7fe3dc40bf22eb842b3f4 (diff) | |
| download | meta-cloud-services-01ac9544e0a645f80f0c3aea327bf3ee8d02fff9.tar.gz | |
swift: uprev to havana release
Upreving the swift component to the havana release. At the same time,
we switch to building from git.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-swift_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-swift_git.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-swift_git.bb b/meta-openstack/recipes-devtools/python/python-swift_git.bb new file mode 100644 index 0000000..971c77c --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-swift_git.bb | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | DESCRIPTION = "Highly available, distributed, eventually consistent object/blob store." | ||
| 2 | HOMEPAGE = "https://launchpad.net/swift" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | SRCNAME = "swift" | ||
| 9 | |||
| 10 | SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRCREV="9b521fe800ed3984169d37e9772674867745fede" | ||
| 14 | PV="2013.2+git${SRCPV}" | ||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit setuptools | ||
| 18 | |||
| 19 | do_install_append() { | ||
| 20 | SWIFT_CONF_DIR=${D}${sysconfdir}/swift | ||
| 21 | |||
| 22 | install -d ${SWIFT_CONF_DIR} | ||
| 23 | |||
| 24 | install -m 600 ${S}/etc/swift.conf-sample ${SWIFT_CONF_DIR}/swift.conf | ||
| 25 | install -m 600 ${S}/etc/proxy-server.conf-sample ${SWIFT_CONF_DIR}/proxy-server.conf | ||
| 26 | install -m 600 ${S}/etc/account-server.conf-sample ${SWIFT_CONF_DIR}/account-server.conf | ||
| 27 | install -m 600 ${S}/etc/container-server.conf-sample ${SWIFT_CONF_DIR}/container-server.conf | ||
| 28 | install -m 600 ${S}/etc/object-server.conf-sample ${SWIFT_CONF_DIR}/object-server.conf | ||
| 29 | } | ||
| 30 | |||
| 31 | PACKAGES += "${SRCNAME}" | ||
| 32 | |||
| 33 | FILES_${PN} = "${libdir}/*\ | ||
| 34 | " | ||
| 35 | |||
| 36 | FILES_${SRCNAME} = "${bindir}/* \ | ||
| 37 | ${sysconfdir}/${SRCNAME}/* \ | ||
| 38 | " | ||
| 39 | |||
| 40 | RDEPENDS_${PN} += " \ | ||
| 41 | python-eventlet \ | ||
| 42 | python-greenlet \ | ||
| 43 | python-pastedeploy \ | ||
| 44 | python-simplejson \ | ||
| 45 | python-swiftclient \ | ||
| 46 | python-netifaces \ | ||
| 47 | python-xattr \ | ||
| 48 | " | ||
| 49 | |||
| 50 | RDEPENDS_${SRCNAME} = "${PN}" \ No newline at end of file | ||
