1 |
commit: 54f6802351c01c9fe1cff1c71dcfe93a61713bfb |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 1 23:27:00 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 1 23:55:22 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f68023 |
7 |
|
8 |
sys-cluster/swift: bup 2.10.2 and 2.13.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
sys-cluster/swift/Manifest | 3 +- |
13 |
sys-cluster/swift/swift-2.10.0.ebuild | 108 --------------------- |
14 |
...{swift-2.10.1-r1.ebuild => swift-2.10.2.ebuild} | 0 |
15 |
...{swift-2.10.0-r1.ebuild => swift-2.13.1.ebuild} | 13 +-- |
16 |
4 files changed, 7 insertions(+), 117 deletions(-) |
17 |
|
18 |
diff --git a/sys-cluster/swift/Manifest b/sys-cluster/swift/Manifest |
19 |
index 00a3b1401a4..37f5bb7634b 100644 |
20 |
--- a/sys-cluster/swift/Manifest |
21 |
+++ b/sys-cluster/swift/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
-DIST swift-2.10.0.tar.gz 1868659 SHA256 8f6f05c1571173dc1c159f74dfe92ac4bb5a0aa3c9adf43fb71c57e643e5e355 SHA512 7f3e3280f0ccc4d3733fc7cf9d4d348f80de4dcd832af8e19c35f04f9ab07afe5eb7af465f20f6a37c8d8b6373ff01d491afdf0cf841949ac0cb0a26c139afb8 WHIRLPOOL d5add284951af467337ce9f856d27d29b491b7fc40df034b7c1350b9a067e2b969bb0a5894ecc4c85a3df267ce746ec05938585408ccec64d82fe28d73db1e07 |
24 |
DIST swift-2.10.1.tar.gz 1882648 SHA256 11efe34c68a3fee908b434ede79cdb387862e724971b44e9e02083117aea5d95 SHA512 8307ed1f014f502a6e2d63b1b9c28f3229c035e34397a9c5369470085c6e54a9ac33fde0106beee975bd860c4be169f4da7231b7991ab6472596f6c5b614b178 WHIRLPOOL bc010464b00bb8a7eed96767ec7fccb99baf03250ab64728bc712054276b4c2b28e1432bde76687451ebef26663d2f64335f6e90471e2666f7ca207e5acf7f4b |
25 |
+DIST swift-2.10.2.tar.gz 1899226 SHA256 310d0c762fc4bfae7beaa7a2a1d7cddcc7478e817f40b5322f9b7403772ce53b SHA512 9efcb764d18524327a1e3164bcf79fbeb25fefafb7b8cf24dda22477d5d08e9d9a76c851d3b51c86e22a02f30004d5421500150c42f5963e15882aec894e09e8 WHIRLPOOL ded7d106277a8c493a494633039b19eae6d8e3783d9a4a05f73ed75869402758e3650a292f6758334d45197d4995a08d6b6f1cc88fd68b6a005c3e026a460159 |
26 |
DIST swift-2.13.0.tar.gz 1928128 SHA256 166cf5181a1cad5a564fab3b387297a431e2ef9fb224753f64cc4ba04016fb48 SHA512 e8f26ede5d51282ca18c72e5b66579236ccce2416441381c60089365f197324af05538de5788df4e81c5dacfe808a7b6fdbaa43de19b3a5319b794ff13211710 WHIRLPOOL 3bbd9714b6ef36f968847fff95f013c60de48671af102c36ede437c72e5143d894f9934f4aa622e6d5334e8601ee6396db6efc2b9f3639e0b4b6faf87b3ec4b5 |
27 |
+DIST swift-2.13.1.tar.gz 1940686 SHA256 785a098b93eceeb745fe85bafba8a8bda20a6aec64f76fb9e4d58bb671eb2bab SHA512 6f08239bbeebfd213d2d7bb23c83507bf033288bb5125f5fd7f37517d8b3ad0b050220c1ad03632c1ab4723a98a9068b146e38c360e6786159a6f8638f4d5d79 WHIRLPOOL 016ddab1201c0895b00b05a1c5a84628e3f69f306780e730ada5c8cae63e75c0959cec8be8c170abba42ea6b63bd32dd5ed6d9b6d37f72534c3a05f3c2cea4e4 |
28 |
|
29 |
diff --git a/sys-cluster/swift/swift-2.10.0.ebuild b/sys-cluster/swift/swift-2.10.0.ebuild |
30 |
deleted file mode 100644 |
31 |
index 00065e0f077..00000000000 |
32 |
--- a/sys-cluster/swift/swift-2.10.0.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,108 +0,0 @@ |
35 |
-# Copyright 1999-2016 Gentoo Foundation |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=5 |
39 |
-PYTHON_COMPAT=( python2_7 ) |
40 |
- |
41 |
-inherit distutils-r1 eutils linux-info user |
42 |
- |
43 |
-DESCRIPTION="A highly available, distributed, and eventually consistent object/blob store" |
44 |
-HOMEPAGE="https://launchpad.net/swift" |
45 |
-SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="Apache-2.0" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 ~arm64 x86" |
50 |
-IUSE="proxy account container object +memcached" |
51 |
-REQUIRED_USE="|| ( proxy account container object )" |
52 |
- |
53 |
-CDEPEND=" |
54 |
- >=dev-python/pbr-0.8.0[${PYTHON_USEDEP}] |
55 |
- <dev-python/pbr-2.0[${PYTHON_USEDEP}]" |
56 |
-DEPEND=" |
57 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
58 |
- ${CDEPEND}" |
59 |
- |
60 |
-RDEPEND=" |
61 |
- ${CDEPEND} |
62 |
- virtual/python-dnspython[${PYTHON_USEDEP}] |
63 |
- >=dev-python/eventlet-0.17.4[${PYTHON_USEDEP}] |
64 |
- >=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
65 |
- >=dev-python/netifaces-0.5[${PYTHON_USEDEP}] |
66 |
- !~dev-python/netifaces-0.10.0[${PYTHON_USEDEP}] |
67 |
- !~dev-python/netifaces-0.10.1[${PYTHON_USEDEP}] |
68 |
- >=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] |
69 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
70 |
- dev-python/pyxattr[${PYTHON_USEDEP}] |
71 |
- >=dev-python/PyECLib-1.2.0[${PYTHON_USEDEP}] |
72 |
- >=dev-python/cryptography-1.0[${PYTHON_USEDEP}] |
73 |
- !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
74 |
- memcached? ( net-misc/memcached ) |
75 |
- net-misc/rsync[xattr]" |
76 |
- |
77 |
-CONFIG_CHECK="~EXT3_FS_XATTR ~SQUASHFS_XATTR ~CIFS_XATTR ~JFFS2_FS_XATTR |
78 |
-~TMPFS_XATTR ~UBIFS_FS_XATTR ~EXT2_FS_XATTR ~REISERFS_FS_XATTR ~EXT4_FS_XATTR |
79 |
-~ZFS" |
80 |
- |
81 |
-pkg_setup() { |
82 |
- enewuser swift |
83 |
- enewgroup swift |
84 |
-} |
85 |
- |
86 |
-src_prepare() { |
87 |
- sed -i 's/xattr/pyxattr/g' swift.egg-info/requires.txt || die |
88 |
- sed -i 's/xattr/pyxattr/g' requirements.txt || die |
89 |
- sed -i '/^hacking/d' test-requirements.txt || die |
90 |
- distutils-r1_python_prepare_all |
91 |
-} |
92 |
- |
93 |
-src_test () { |
94 |
- # https://bugs.launchpad.net/swift/+bug/1249727 |
95 |
- find . \( -name test_wsgi.py -o -name test_locale.py -o -name test_utils.py \) -delete || die |
96 |
- SKIP_PIP_INSTALL=1 PBR_VERSION=0.6.0 sh .unittests || die |
97 |
-} |
98 |
- |
99 |
-python_install() { |
100 |
- distutils-r1_python_install |
101 |
- keepdir /etc/swift |
102 |
- insinto /etc/swift |
103 |
- |
104 |
- newins "etc/swift.conf-sample" "swift.conf" |
105 |
- newins "etc/rsyncd.conf-sample" "rsyncd.conf" |
106 |
- newins "etc/mime.types-sample" "mime.types-sample" |
107 |
- newins "etc/memcache.conf-sample" "memcache.conf-sample" |
108 |
- newins "etc/drive-audit.conf-sample" "drive-audit.conf-sample" |
109 |
- newins "etc/dispersion.conf-sample" "dispersion.conf-sample" |
110 |
- |
111 |
- if use proxy; then |
112 |
- newinitd "${FILESDIR}/swift-proxy.initd" "swift-proxy" |
113 |
- newins "etc/proxy-server.conf-sample" "proxy-server.conf" |
114 |
- if use memcached; then |
115 |
- sed -i '/depend/a\ |
116 |
- need memcached' "${D}/etc/init.d/swift-proxy" |
117 |
- fi |
118 |
- fi |
119 |
- if use account; then |
120 |
- newinitd "${FILESDIR}/swift-account.initd" "swift-account" |
121 |
- newins "etc/account-server.conf-sample" "account-server.conf" |
122 |
- fi |
123 |
- if use container; then |
124 |
- newinitd "${FILESDIR}/swift-container.initd" "swift-container" |
125 |
- newins "etc/container-server.conf-sample" "container-server.conf" |
126 |
- fi |
127 |
- if use object; then |
128 |
- newinitd "${FILESDIR}/swift-object.initd" "swift-object" |
129 |
- newins "etc/object-server.conf-sample" "object-server.conf" |
130 |
- newins "etc/object-expirer.conf-sample" "object-expirer.conf" |
131 |
- fi |
132 |
- |
133 |
- fowners swift:swift "/etc/swift" || die "fowners failed" |
134 |
-} |
135 |
- |
136 |
-pkg_postinst() { |
137 |
- elog "Openstack swift will default to using insecure http unless a" |
138 |
- elog "certificate is created in /etc/swift/cert.crt and the associated key" |
139 |
- elog "in /etc/swift/cert.key. These can be created with the following:" |
140 |
- elog " * cd /etc/swift" |
141 |
- elog " * openssl req -new -x509 -nodes -out cert.crt -keyout cert.key" |
142 |
-} |
143 |
|
144 |
diff --git a/sys-cluster/swift/swift-2.10.1-r1.ebuild b/sys-cluster/swift/swift-2.10.2.ebuild |
145 |
similarity index 100% |
146 |
rename from sys-cluster/swift/swift-2.10.1-r1.ebuild |
147 |
rename to sys-cluster/swift/swift-2.10.2.ebuild |
148 |
|
149 |
diff --git a/sys-cluster/swift/swift-2.10.0-r1.ebuild b/sys-cluster/swift/swift-2.13.1.ebuild |
150 |
similarity index 92% |
151 |
rename from sys-cluster/swift/swift-2.10.0-r1.ebuild |
152 |
rename to sys-cluster/swift/swift-2.13.1.ebuild |
153 |
index dea08e05ae5..6ce4c0551b2 100644 |
154 |
--- a/sys-cluster/swift/swift-2.10.0-r1.ebuild |
155 |
+++ b/sys-cluster/swift/swift-2.13.1.ebuild |
156 |
@@ -1,7 +1,7 @@ |
157 |
-# Copyright 1999-2016 Gentoo Foundation |
158 |
+# Copyright 1999-2017 Gentoo Foundation |
159 |
# Distributed under the terms of the GNU General Public License v2 |
160 |
|
161 |
-EAPI=5 |
162 |
+EAPI=6 |
163 |
PYTHON_COMPAT=( python2_7 ) |
164 |
|
165 |
inherit distutils-r1 eutils linux-info user |
166 |
@@ -16,16 +16,14 @@ KEYWORDS="~amd64 ~arm64 ~x86" |
167 |
IUSE="proxy account container object +memcached" |
168 |
REQUIRED_USE="|| ( proxy account container object )" |
169 |
|
170 |
-CDEPEND=" |
171 |
- >=dev-python/pbr-0.8.0[${PYTHON_USEDEP}] |
172 |
- <dev-python/pbr-2.0[${PYTHON_USEDEP}]" |
173 |
+CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]" |
174 |
DEPEND=" |
175 |
dev-python/setuptools[${PYTHON_USEDEP}] |
176 |
${CDEPEND}" |
177 |
|
178 |
RDEPEND=" |
179 |
${CDEPEND} |
180 |
- virtual/python-dnspython[${PYTHON_USEDEP}] |
181 |
+ >=dev-python/dnspython-1.14.0:0[${PYTHON_USEDEP}] |
182 |
>=dev-python/eventlet-0.17.4[${PYTHON_USEDEP}] |
183 |
>=dev-python/greenlet-0.3.1[${PYTHON_USEDEP}] |
184 |
>=dev-python/netifaces-0.5[${PYTHON_USEDEP}] |
185 |
@@ -34,7 +32,7 @@ RDEPEND=" |
186 |
>=dev-python/pastedeploy-1.3.3[${PYTHON_USEDEP}] |
187 |
>=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
188 |
dev-python/pyxattr[${PYTHON_USEDEP}] |
189 |
- >=dev-python/PyECLib-1.2.0[${PYTHON_USEDEP}] |
190 |
+ >=dev-python/PyECLib-1.3.1[${PYTHON_USEDEP}] |
191 |
>=dev-python/cryptography-1.0[${PYTHON_USEDEP}] |
192 |
!~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
193 |
memcached? ( net-misc/memcached ) |
194 |
@@ -58,7 +56,6 @@ pkg_setup() { |
195 |
} |
196 |
|
197 |
src_prepare() { |
198 |
- sed -i 's/xattr/pyxattr/g' swift.egg-info/requires.txt || die |
199 |
sed -i 's/xattr/pyxattr/g' requirements.txt || die |
200 |
sed -i '/^hacking/d' test-requirements.txt || die |
201 |
distutils-r1_python_prepare_all |