From 01ac9544e0a645f80f0c3aea327bf3ee8d02fff9 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 31 Oct 2013 01:30:55 -0400 Subject: 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 --- .../recipes-devtools/python/python-swift_git.bb | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-swift_git.bb (limited to 'meta-openstack/recipes-devtools/python/python-swift_git.bb') 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 @@ +DESCRIPTION = "Highly available, distributed, eventually consistent object/blob store." +HOMEPAGE = "https://launchpad.net/swift" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +PR = "r0" +SRCNAME = "swift" + +SRC_URI = "git://github.com/openstack/${SRCNAME}.git;branch=stable/havana \ +" + +SRCREV="9b521fe800ed3984169d37e9772674867745fede" +PV="2013.2+git${SRCPV}" +S = "${WORKDIR}/git" + +inherit setuptools + +do_install_append() { + SWIFT_CONF_DIR=${D}${sysconfdir}/swift + + install -d ${SWIFT_CONF_DIR} + + install -m 600 ${S}/etc/swift.conf-sample ${SWIFT_CONF_DIR}/swift.conf + install -m 600 ${S}/etc/proxy-server.conf-sample ${SWIFT_CONF_DIR}/proxy-server.conf + install -m 600 ${S}/etc/account-server.conf-sample ${SWIFT_CONF_DIR}/account-server.conf + install -m 600 ${S}/etc/container-server.conf-sample ${SWIFT_CONF_DIR}/container-server.conf + install -m 600 ${S}/etc/object-server.conf-sample ${SWIFT_CONF_DIR}/object-server.conf +} + +PACKAGES += "${SRCNAME}" + +FILES_${PN} = "${libdir}/*\ +" + +FILES_${SRCNAME} = "${bindir}/* \ + ${sysconfdir}/${SRCNAME}/* \ +" + +RDEPENDS_${PN} += " \ + python-eventlet \ + python-greenlet \ + python-pastedeploy \ + python-simplejson \ + python-swiftclient \ + python-netifaces \ + python-xattr \ + " + +RDEPENDS_${SRCNAME} = "${PN}" \ No newline at end of file -- cgit v1.2.3-54-g00ecf