Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/swift/
Date: Sat, 09 Jul 2016 05:05:36
Message-Id: 1468040680.c19a817ed87fa7e381f8c9586261a0df5847a6e1.prometheanfire@gentoo
1 commit: c19a817ed87fa7e381f8c9586261a0df5847a6e1
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 05:04:40 2016 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 05:04:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19a817e
7
8 sys-cluster/swift: cleanup
9
10 Package-Manager: portage-2.2.28
11
12 sys-cluster/swift/Manifest | 1 -
13 sys-cluster/swift/swift-2.7.0.ebuild | 121 -----------------------------------
14 2 files changed, 122 deletions(-)
15
16 diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest
17 index dc5d730..ef18718 100644
18 --- a/sys-cluster/swift/Manifest
19 +++ b/sys-cluster/swift/Manifest
20 @@ -1,3 +1,2 @@
21 DIST swift-2.5.0.tar.gz 1524422 SHA256 ede167854a47577ebd98765cf31476f79045f0739fab65f59b37e0ec184d4a42 SHA512 770d1aeb62803288b29edbac7576a8e870f09df5d111ba29d4845c755d65d66b501c9e95d6468e0c635625f04b7009fa2b6d769307348b66984f5cf5ea3481ed WHIRLPOOL ba00f4350c0f2b645f595b1dde8974dfdadcd66f33184776f478db123ec4dd5bb3c1e6cbe42b8cfb856391ceb6da3d1f212ceb3428280195c1993d2146ece435
22 -DIST swift-2.7.0.tar.gz 1685470 SHA256 ef71126c2fb5e59617b94179dff710c5362ca7e7bfc63fd906e622c95410256e SHA512 4b4944dac53f521ffafe2d16072eb9c51f211e849243df413ee2af81da02917d334b169dc56ba8b17b9d22056a63f78096f680b4163e27c3f90b061023f4fffa WHIRLPOOL 8df84e1aa1a7c9fdae553952eafed3467b09f3b88c95355baf4f90a2e13dffd7d94b9bf7194d0cdbf17fe49196b88b53408c1bc2ce174674faac871acc1ca92a
23 DIST swift-2.8.0.tar.gz 1710949 SHA256 0b013da5bf8a7d82e41f683c9f7512b1bda4f3e2c363676b60daa28d56839c78 SHA512 9afc4c08ad30634735f9bccd449ec41dd8b9f3888fe2f24200bea1bf765ece12169ba9bbee26af66e30c682d3d1dc36ef69efd4eb2a9dafc0840920544c9c97a WHIRLPOOL 2d6f34e59fdfa0f039294b3cb5e5ae01b7ade4e15767e69f6c6708e8027e5f9281b74c8cf6fbe733f479a179cc8ec2ae1f55732affb4955121573f6c2f23fa80
24
25 diff --git a/sys-cluster/swift/swift-2.7.0.ebuild b/sys-cluster/swift/swift-2.7.0.ebuild
26 deleted file mode 100644
27 index 1f4afbc..0000000
28 --- a/sys-cluster/swift/swift-2.7.0.ebuild
29 +++ /dev/null
30 @@ -1,121 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -PYTHON_COMPAT=( python2_7 )
37 -
38 -inherit distutils-r1 eutils linux-info user
39 -
40 -DESCRIPTION="A highly available, distributed, and eventually consistent object/blob store"
41 -HOMEPAGE="https://launchpad.net/swift"
42 -SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="Apache-2.0"
45 -SLOT="0"
46 -KEYWORDS="amd64 ~arm64 x86"
47 -IUSE="proxy account container object test +memcached"
48 -REQUIRED_USE="|| ( proxy account container object )"
49 -
50 -CDEPEND="
51 - >=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
52 - <dev-python/pbr-2.0[${PYTHON_USEDEP}]"
53 -DEPEND="
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - ${CDEPEND}
56 - test? (
57 - ${RDEPEND}
58 - dev-python/coverage[${PYTHON_USEDEP}]
59 - dev-python/nose[${PYTHON_USEDEP}]
60 - dev-python/nosexcover[${PYTHON_USEDEP}]
61 - dev-python/nosehtmloutput[${PYTHON_USEDEP}]
62 - dev-python/oslo-sphinx[${PYTHON_USEDEP}]
63 - >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
64 - <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
65 - >=dev-python/mock-1.0[${PYTHON_USEDEP}]
66 - dev-python/python-swiftclient[${PYTHON_USEDEP}]
67 - >=dev-python/python-keystoneclient-1.3.0[${PYTHON_USEDEP}]
68 - >=dev-python/bandit-0.10.1[${PYTHON_USEDEP}]
69 - )"
70 -
71 -RDEPEND="
72 - ${CDEPEND}
73 - virtual/python-dnspython[${PYTHON_USEDEP}]
74 - >=dev-python/eventlet-0.17.4[${PYTHON_USEDEP}]
75 - >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}]
76 - >=dev-python/netifaces-0.5[${PYTHON_USEDEP}]
77 - !~dev-python/netifaces-0.10.0[${PYTHON_USEDEP}]
78 - !~dev-python/netifaces-0.10.1[${PYTHON_USEDEP}]
79 - >=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}]
80 - >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
81 - dev-python/pyxattr[${PYTHON_USEDEP}]
82 - >=dev-python/PyECLib-1.2.0[${PYTHON_USEDEP}]
83 - memcached? ( net-misc/memcached )
84 - net-misc/rsync[xattr]"
85 -
86 -CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR
87 -~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR
88 -~ZFS"
89 -
90 -pkg_setup() {
91 - enewuser swift
92 - enewgroup swift
93 -}
94 -
95 -src_prepare() {
96 - sed -i 's/xattr/pyxattr/g' swift.egg-info/requires.txt || die
97 - sed -i 's/xattr/pyxattr/g' requirements.txt || die
98 - sed -i '/^hacking/d' test-requirements.txt || die
99 - distutils-r1_python_prepare_all
100 -}
101 -
102 -src_test () {
103 - # https://bugs.launchpad.net/swift/+bug/1249727
104 - find . \( -name test_wsgi.py -o -name test_locale.py -o -name test_utils.py \) -delete || die
105 - SKIP_PIP_INSTALL=1 PBR_VERSION=0.6.0 sh .unittests || die
106 -}
107 -
108 -python_install() {
109 - distutils-r1_python_install
110 - keepdir /etc/swift
111 - insinto /etc/swift
112 -
113 - newins "etc/swift.conf-sample" "swift.conf"
114 - newins "etc/rsyncd.conf-sample" "rsyncd.conf"
115 - newins "etc/mime.types-sample" "mime.types-sample"
116 - newins "etc/memcache.conf-sample" "memcache.conf-sample"
117 - newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample"
118 - newins "etc/dispersion.conf-sample" "dispersion.conf-sample"
119 -
120 - if use proxy; then
121 - newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy"
122 - newins "etc/proxy-server.conf-sample" "proxy-server.conf"
123 - if use memcached; then
124 - sed -i '/depend/a\
125 - need memcached' "${D}/etc/init.d/swift-proxy"
126 - fi
127 - fi
128 - if use account; then
129 - newinitd "${FILESDIR}/swift-account.initd" "swift-account"
130 - newins "etc/account-server.conf-sample" "account-server.conf"
131 - fi
132 - if use container; then
133 - newinitd "${FILESDIR}/swift-container.initd" "swift-container"
134 - newins "etc/container-server.conf-sample" "container-server.conf"
135 - fi
136 - if use object; then
137 - newinitd "${FILESDIR}/swift-object.initd" "swift-object"
138 - newins "etc/object-server.conf-sample" "object-server.conf"
139 - newins "etc/object-expirer.conf-sample" "object-expirer.conf"
140 - fi
141 -
142 - fowners swift:swift "/etc/swift" || die "fowners failed"
143 -}
144 -
145 -pkg_postinst() {
146 - elog "Openstack swift will default to using insecure http unless a"
147 - elog "certificate is created in /etc/swift/cert.crt and the associated key"
148 - elog "in /etc/swift/cert.key. These can be created with the following:"
149 - elog " * cd /etc/swift"
150 - elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key"
151 -}