1 |
commit: 10492c88a033248a3432e41aa8ca29acd2e28b6c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 2 19:14:14 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 2 19:15:33 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10492c88 |
7 |
|
8 |
dev-python/redis-py: Clean old versions up |
9 |
|
10 |
dev-python/redis-py/Manifest | 3 -- |
11 |
dev-python/redis-py/redis-py-2.10.1.ebuild | 68 ------------------------------ |
12 |
dev-python/redis-py/redis-py-2.10.3.ebuild | 61 --------------------------- |
13 |
dev-python/redis-py/redis-py-2.7.4.ebuild | 64 ---------------------------- |
14 |
4 files changed, 196 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest |
17 |
index c30dc91d36c..f23bedb6f1b 100644 |
18 |
--- a/dev-python/redis-py/Manifest |
19 |
+++ b/dev-python/redis-py/Manifest |
20 |
@@ -1,5 +1,2 @@ |
21 |
-DIST redis-py-2.10.1.tar.gz 84143 SHA256 644aaf429e666d2254143a6a02f3b1cca2806d0cd52bb130c8f879d3c8259d62 SHA512 694a687e22654631fcf7b0b5884c2f3b3f804befe8080a1a27f08e212afe2f64c36921e025801d67bac1786b105f23565f52768f5b62ed1d18038be8dba9542c WHIRLPOOL e1b76cf47043d3d5317fc4352c9b52598af119a1501e4d6af1615181006afa658417002fdd8e206e6d5d5556df6dcbdd34a74b89918c513802793bd6ced4cccd |
22 |
-DIST redis-py-2.10.3.tar.gz 86532 SHA256 a4fb37b02860f6b1617f6469487471fd086dd2d38bbce640c2055862b9c4019c SHA512 a6dcb1160f91c444a6fd107761b2701e7d8ab2eed7b9fcc00e8f0bdcefe46c2a626611f36fe6bf520fe3cceeb509562609e6dba263e1508abe285a6eab73963c WHIRLPOOL 2b2fc577ff752f71675cade7c591442526dfbac07495d1cf61b14ac21371e76aec2d008531bb8729eb5e3f3ffd372d6c9bf9f7554e51f8076d2d79c07377d33e |
23 |
DIST redis-py-2.10.5.tar.gz 88610 SHA256 5dfbae6acfc54edf0a7a415b99e0b21c0a3c27a7f787b292eea727b1facc5533 SHA512 b2e6cb85c274c8f1c63e27256bbab816d016a68c324bf7092cf53feae819a34fa94f45565b0f209ee981919d793b2963462eb1a6f841e9dde9885802e0ebbe8f WHIRLPOOL af0b92b5ddb69346ff285d959a5052df5d65638e70d8d1b3d4b00adb80755eef41b492bfea432507443883f206a4537faf10e82d4253d7612e74ab7a52df47f1 |
24 |
-DIST redis-py-2.7.4.tar.gz 79715 SHA256 623c8d437401314f8ec92f03848638c79c757098b316f0ed40ec2deaad57e082 SHA512 9b8db28c77e9df7a243e510a4f66a021179ab8ff52cfed2cc1b18b20f167eeee138d59a868fc105a32993681551c53e98d45680c16313680e8b4f36b6defa3b9 WHIRLPOOL fa5c754dc83f7d8baea68e21e283435994380e3e7243fa9bdb74ce934f7adacc75a11c6312d4b642606aa817010abc23f8f2a7b9eac1e2c73e50e897085124ad |
25 |
DIST redis-py-2.9.1.tar.gz 62204 SHA256 af9747ec2727425b1b09252975e21502ee5a3d8d235c7f49869eb13e09ccf4e4 SHA512 6b4912acafb31c87a5bc47b0420834aa9d1eba57feb0bbacdea943b746fe2f24aee4c9f13e7b03ae4edc562043b22c370cc7f53e45be07c5408cfa9852f8ea38 WHIRLPOOL ae38ea63d605f8dd667d9fc548de972bf38d661ae6ef357070ebe7cba3b484febc45d6b7611916d8a1e262e6bbf4754257e727f41af8caa30597954a1fc20cf5 |
26 |
|
27 |
diff --git a/dev-python/redis-py/redis-py-2.10.1.ebuild b/dev-python/redis-py/redis-py-2.10.1.ebuild |
28 |
deleted file mode 100644 |
29 |
index 950684f7845..00000000000 |
30 |
--- a/dev-python/redis-py/redis-py-2.10.1.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,68 +0,0 @@ |
33 |
-# Copyright 1999-2017 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=5 |
37 |
-PYTHON_COMPAT=( python{2_7,3_4} pypy ) |
38 |
- |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-MY_PN="redis" |
42 |
-MY_P="${MY_PN}-${PV}" |
43 |
- |
44 |
-DESCRIPTION="Python client for Redis key-value store" |
45 |
-HOMEPAGE="https://github.com/andymccurdy/redis-py" |
46 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
47 |
- |
48 |
-LICENSE="MIT" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
51 |
-IUSE="test" |
52 |
- |
53 |
-RDEPEND="" |
54 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
55 |
- test? ( dev-db/redis |
56 |
- >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )" |
57 |
- |
58 |
-S="${WORKDIR}/${MY_P}" |
59 |
- |
60 |
-python_prepare_all() { |
61 |
- # Disable pubsub and encoding tests, they do not seem to support |
62 |
- # UNIX socket connectivity. |
63 |
- sed -i -e '/PubSub/d' -e '/Encoding/d' \ |
64 |
- -e '/use_hiredis:/d' tests/__init__.py || die |
65 |
- |
66 |
- # Make sure that tests will be used from BUILD_DIR rather than cwd. |
67 |
- mv tests tests-hidden || die |
68 |
- |
69 |
- distutils-r1_python_prepare_all |
70 |
-} |
71 |
- |
72 |
-python_compile() { |
73 |
- distutils-r1_python_compile |
74 |
- |
75 |
- if use test; then |
76 |
- cp -r tests-hidden "${BUILD_DIR}"/tests || die |
77 |
- fi |
78 |
-} |
79 |
- |
80 |
-python_test() { |
81 |
- # https://github.com/andymccurdy/redis-py/issues/503 |
82 |
- # the suite is quite broken at this point but it's also the case in -2.9.1, |
83 |
- # making this not a regression. but a fix is in 'progress', just not the overlay one |
84 |
- local pidfile=${T}/redis-${EPYTHON}.pid |
85 |
- local sock=${T}/redis-${EPYTHON}.sock |
86 |
- |
87 |
- sed -i -e "s:port=6379:unix_socket_path=\"${sock}\":" \ |
88 |
- "${BUILD_DIR}"/tests/*.py || die |
89 |
- |
90 |
- # XXX: find a way to make sure it is killed |
91 |
- |
92 |
- "${EPREFIX}"/usr/sbin/redis-server \ |
93 |
- --pidfile "${pidfile}" \ |
94 |
- --port 0 \ |
95 |
- --unixsocket "${sock}" \ |
96 |
- --daemonize yes || die |
97 |
- PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}" \ |
98 |
- esetup.py test |
99 |
- kill "$(<"${pidfile}")" |
100 |
-} |
101 |
|
102 |
diff --git a/dev-python/redis-py/redis-py-2.10.3.ebuild b/dev-python/redis-py/redis-py-2.10.3.ebuild |
103 |
deleted file mode 100644 |
104 |
index d3881aaaa18..00000000000 |
105 |
--- a/dev-python/redis-py/redis-py-2.10.3.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,61 +0,0 @@ |
108 |
-# Copyright 1999-2017 Gentoo Foundation |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
- |
111 |
-EAPI=5 |
112 |
- |
113 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
114 |
- |
115 |
-inherit distutils-r1 |
116 |
- |
117 |
-MY_PN="redis" |
118 |
-MY_P="${MY_PN}-${PV}" |
119 |
- |
120 |
-DESCRIPTION="Python client for Redis key-value store" |
121 |
-HOMEPAGE="https://github.com/andymccurdy/redis-py" |
122 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
123 |
- |
124 |
-LICENSE="MIT" |
125 |
-SLOT="0" |
126 |
-KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" |
127 |
-IUSE="test" |
128 |
- |
129 |
-RDEPEND="" |
130 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
131 |
- test? ( dev-db/redis |
132 |
- >=dev-python/pytest-2.5.0[${PYTHON_USEDEP}] )" |
133 |
- |
134 |
-S="${WORKDIR}/${MY_P}" |
135 |
- |
136 |
-python_prepare_all() { |
137 |
- # Make sure that tests will be used from BUILD_DIR rather than cwd. |
138 |
- mv tests tests-hidden || die |
139 |
- |
140 |
- # Correct local import patch syntax |
141 |
- sed -e 's:from .conftest:from conftest:' \ |
142 |
- -i tests-hidden/{test_connection_pool.py,test_commands.py,test_encoding.py,test_pubsub.py} \ |
143 |
- || die |
144 |
- |
145 |
- distutils-r1_python_prepare_all |
146 |
-} |
147 |
- |
148 |
-python_compile() { |
149 |
- distutils-r1_python_compile |
150 |
- |
151 |
- if use test; then |
152 |
- cp -r tests-hidden "${BUILD_DIR}"/tests || die |
153 |
- fi |
154 |
-} |
155 |
- |
156 |
-python_test() { |
157 |
- local sock="${T}/redis.sock" |
158 |
- |
159 |
- "${EPREFIX}/usr/sbin/redis-server" - <<- EOF |
160 |
- daemonize yes |
161 |
- pidfile "${T}"/redis.pid |
162 |
- unixsocket ${sock} |
163 |
- EOF |
164 |
- |
165 |
- PYTHONPATH="${S}:${S}/tests-hidden" |
166 |
- esetup.py test |
167 |
- kill "$(<"${T}/redis.pid")" |
168 |
-} |
169 |
|
170 |
diff --git a/dev-python/redis-py/redis-py-2.7.4.ebuild b/dev-python/redis-py/redis-py-2.7.4.ebuild |
171 |
deleted file mode 100644 |
172 |
index d307c026ad1..00000000000 |
173 |
--- a/dev-python/redis-py/redis-py-2.7.4.ebuild |
174 |
+++ /dev/null |
175 |
@@ -1,64 +0,0 @@ |
176 |
-# Copyright 1999-2015 Gentoo Foundation |
177 |
-# Distributed under the terms of the GNU General Public License v2 |
178 |
- |
179 |
-EAPI=5 |
180 |
-PYTHON_COMPAT=( python2_7 pypy ) |
181 |
- |
182 |
-inherit distutils-r1 |
183 |
- |
184 |
-MY_PN="redis" |
185 |
-MY_P="${MY_PN}-${PV}" |
186 |
- |
187 |
-DESCRIPTION="Python client for Redis key-value store" |
188 |
-HOMEPAGE="https://github.com/andymccurdy/redis-py https://pypi.python.org/pypi/redis" |
189 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
190 |
- |
191 |
-LICENSE="MIT" |
192 |
-SLOT="0" |
193 |
-KEYWORDS="amd64 x86" |
194 |
-IUSE="test" |
195 |
- |
196 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
197 |
- test? ( dev-db/redis )" |
198 |
-RDEPEND="" |
199 |
- |
200 |
-S="${WORKDIR}/${MY_P}" |
201 |
- |
202 |
-python_prepare_all() { |
203 |
- # Disable pubsub and encoding tests, they do not seem to support |
204 |
- # UNIX socket connectivity. |
205 |
- sed -i -e '/PubSub/d' -e '/Encoding/d' \ |
206 |
- -e '/use_hiredis:/d' tests/__init__.py || die |
207 |
- |
208 |
- # Make sure that tests will be used from BUILD_DIR rather than cwd. |
209 |
- mv tests tests-hidden || die |
210 |
- |
211 |
- distutils-r1_python_prepare_all |
212 |
-} |
213 |
- |
214 |
-python_compile() { |
215 |
- distutils-r1_python_compile |
216 |
- |
217 |
- if use test; then |
218 |
- cp -r tests-hidden "${BUILD_DIR}"/tests || die |
219 |
- fi |
220 |
-} |
221 |
- |
222 |
-python_test() { |
223 |
- local pidfile=${T}/redis-${EPYTHON}.pid |
224 |
- local sock=${T}/redis-${EPYTHON}.sock |
225 |
- |
226 |
- sed -i -e "s:port=6379:unix_socket_path=\"${sock}\":" \ |
227 |
- "${BUILD_DIR}"/tests/*.py || die |
228 |
- |
229 |
- # XXX: find a way to make sure it is killed |
230 |
- |
231 |
- "${EPREFIX}"/usr/sbin/redis-server \ |
232 |
- --pidfile "${pidfile}" \ |
233 |
- --port 0 \ |
234 |
- --unixsocket "${sock}" \ |
235 |
- --daemonize yes || die |
236 |
- PYTHONPATH="${PYTHONPATH}:${BUILD_DIR}" \ |
237 |
- esetup.py test |
238 |
- kill "$(<"${pidfile}")" |
239 |
-} |