summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-06-27 14:24:27 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:57 -0400
commit0626a9479d9f537feaa65ea222c1fdb00f8e702e (patch)
tree2f8d022ff8a1ec17293c30c18fad4e49a8483b73 /meta-openstack/recipes-devtools/python
parent14cefb9b7afb6444d0f7814e8d703736b1e88a5d (diff)
downloadmeta-cloud-services-0626a9479d9f537feaa65ea222c1fdb00f8e702e.tar.gz
python-swift: Added 1.8.0
Signed-off-by: Mihai Prica <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python')
-rw-r--r--meta-openstack/recipes-devtools/python/python-swift_1.8.0.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-swift_1.8.0.bb b/meta-openstack/recipes-devtools/python/python-swift_1.8.0.bb
new file mode 100644
index 0000000..a73fcc8
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-swift_1.8.0.bb
@@ -0,0 +1,51 @@
1DESCRIPTION = "Highly available, distributed, eventually consistent object/blob store."
2HOMEPAGE = "https://launchpad.net/swift"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6
7PR = "r0"
8SRCNAME = "swift"
9
10SRC_URI = "https://launchpad.net/${SRCNAME}/grizzly/${PV}/+download/${SRCNAME}-${PV}.tar.gz \
11"
12
13SRC_URI[md5sum] = "0d2479c3cbb124fa3a6b001d0d4d5a8b"
14SRC_URI[sha256sum] = "613185473e0c6f11c77bdc6b65efee195303268117afd9024fee82ebde6ed8a3"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18inherit setuptools
19
20do_install_append() {
21 SWIFT_CONF_DIR=${D}${sysconfdir}/swift
22
23 install -d ${SWIFT_CONF_DIR}
24
25 install -m 600 ${S}/etc/swift.conf-sample ${SWIFT_CONF_DIR}/swift.conf
26 install -m 600 ${S}/etc/proxy-server.conf-sample ${SWIFT_CONF_DIR}/proxy-server.conf
27 install -m 600 ${S}/etc/account-server.conf-sample ${SWIFT_CONF_DIR}/account-server.conf
28 install -m 600 ${S}/etc/container-server.conf-sample ${SWIFT_CONF_DIR}/container-server.conf
29 install -m 600 ${S}/etc/object-server.conf-sample ${SWIFT_CONF_DIR}/object-server.conf
30}
31
32PACKAGES += "${SRCNAME}"
33
34FILES_${PN} = "${libdir}/*\
35"
36
37FILES_${SRCNAME} = "${bindir}/* \
38 ${sysconfdir}/${SRCNAME}/* \
39"
40
41RDEPENDS_${PN} += " \
42 python-eventlet \
43 python-greenlet \
44 python-pastedeploy \
45 python-simplejson \
46 python-swiftclient \
47 python-netifaces \
48 python-xattr \
49 "
50
51RDEPENDS_${SRCNAME} = "${PN}" \ No newline at end of file