1 |
commit: 9d9ef6e9ff8c6c819df5d4ceee90a6dc4a1c4a7b |
2 |
Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 29 17:26:34 2016 +0000 |
4 |
Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 29 17:40:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d9ef6e9 |
7 |
|
8 |
dev-python/socketio-client: Bump |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-python/socketio-client/Manifest | 1 + |
13 |
.../socketio-client/socketio-client-0.6.6.ebuild | 46 ++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/socketio-client/Manifest b/dev-python/socketio-client/Manifest |
17 |
index 4b4ac53..fd44885 100644 |
18 |
--- a/dev-python/socketio-client/Manifest |
19 |
+++ b/dev-python/socketio-client/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST socketio-client-0.6.5.tar.gz 18387 SHA256 843f271074e6d2b1302ab873d2dfb37e647aea03c75d542fdd0f47b9d81085bc SHA512 76a60089964ddba2733780b96fb079ad60640dea3f457b91217c2e64541c03ec7c9c653dd961285a1858d01ed13722ea60a16fac13fbd778cc0c9a720fd31a1f WHIRLPOOL d557a892686025fe0f08afc65dc4c442eea67494671351bb9ca7a05bf37e1224c3e8f3997422e80b10b7d6b7ade452e06828c6e3fe52ff4e36cc8bef6f45e127 |
22 |
+DIST socketio-client-0.6.6.tar.gz 21829 SHA256 beac1c1e155ca87da805f20483926535a965509b541b422bdf60ba0676fb8aed SHA512 aa21d31bf9e9062578fc6892a7624ea41ef3437eff132ff3ef2829a589c0fd19953fc514ab05161a32d06578708fb7f41b2f636d3d60a2700094e676d72cee47 WHIRLPOOL 61ab1f68bb2ede21a78e5af2788be92c0078116d498a533dae5c80516e5f6cada8bf9427df855a48c788bc857771b720f97a5ce7cdacb2e3f5637e3c12f0a470 |
23 |
|
24 |
diff --git a/dev-python/socketio-client/socketio-client-0.6.6.ebuild b/dev-python/socketio-client/socketio-client-0.6.6.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..e223b49 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/socketio-client/socketio-client-0.6.6.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
35 |
+PYTHON_COMPAT=( python{2_7,3_{3,4,5}} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_PN="socketIO-client" |
40 |
+REPO_PN="socketIO_client" |
41 |
+DESCRIPTION="A socket.io client library for Python" |
42 |
+HOMEPAGE="https://github.com/invisibleroads/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}" |
43 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${REPO_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
51 |
+ dev-python/requests[${PYTHON_USEDEP}] |
52 |
+ dev-python/websocket-client[${PYTHON_USEDEP}]" |
53 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
54 |
+ test? ( ${RDEPEND} |
55 |
+ dev-python/nose[${PYTHON_USEDEP}] |
56 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
57 |
+ )" |
58 |
+ |
59 |
+S="${WORKDIR}/${REPO_PN}-${PV}" |
60 |
+ |
61 |
+python_test() { |
62 |
+ # https://github.com/invisibleroads/socketIO-client/issues/90 |
63 |
+ # This runs the suite but has nill output to the screen |
64 |
+ # The bug filed will hopefully yield a more conventional testsuite |
65 |
+ |
66 |
+ # The import of SocketIO need be made with abs path to run the tests |
67 |
+ sed -e 's:from .. import:from socketIO_client import:' \ |
68 |
+ -i ${REPO_PN}/tests/__init__.py || die |
69 |
+ |
70 |
+ "${PYTHON}" ${REPO_PN}/tests/__init__.py || die "Tests failed under ${EPYTHON}" |
71 |
+ |
72 |
+ # Return to original form for final install |
73 |
+ sed -e 's:from socketIO_client import:from .. import:' \ |
74 |
+ -i ${REPO_PN}/tests/__init__.py || die |
75 |
+} |