1 |
commit: 61e9a35404c82e7aa610bd19999f27d03f5c829e |
2 |
Author: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 1 09:20:27 2015 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 1 09:22:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e9a354 |
7 |
|
8 |
dev-python/socketio-client: substitute version with the intended version |
9 |
|
10 |
Corrects mistake in tagging at github, package name required editing |
11 |
as a result of this 'typo', unrestrict test phase, replace this phase |
12 |
with one that runs but outputs nil to screen. Bug filed and added |
13 |
as comment within test phase. Bug also reports use of local path by |
14 |
the file (__init__.py) that carries the suite. |
15 |
|
16 |
Package-Manager: portage-2.2.20 |
17 |
|
18 |
dev-python/socketio-client/Manifest | 2 +- |
19 |
.../socketio-client/socketio-client-0.5.6.ebuild | 36 ----------------- |
20 |
.../socketio-client/socketio-client-0.6.5.ebuild | 46 ++++++++++++++++++++++ |
21 |
3 files changed, 47 insertions(+), 37 deletions(-) |
22 |
|
23 |
diff --git a/dev-python/socketio-client/Manifest b/dev-python/socketio-client/Manifest |
24 |
index 3008870..4b4ac53 100644 |
25 |
--- a/dev-python/socketio-client/Manifest |
26 |
+++ b/dev-python/socketio-client/Manifest |
27 |
@@ -1 +1 @@ |
28 |
-DIST socketio-client-0.5.6.tar.gz 12069 SHA256 540d8ab209154d1d9cdb97c170c589a14f7d7f17e19c14e2f59f0307e6175485 SHA512 2ab316823cce0201b0c3a55b04a04fa39fe97f990b879fd5b45ccf6fa2ee6412d8c08d9892120f9a98fcf438e7e6302cf319a4df6cda061b90e1d802580563b9 WHIRLPOOL 6ba7f776ab0af9ae5efb0aca3d908daa018a83dd69e0a490efcd03c912c1c402d5c9a1381804df8cce333566182c76b321c4dd6bf14c948ede984aa752152dab |
29 |
+DIST socketio-client-0.6.5.tar.gz 18387 SHA256 843f271074e6d2b1302ab873d2dfb37e647aea03c75d542fdd0f47b9d81085bc SHA512 76a60089964ddba2733780b96fb079ad60640dea3f457b91217c2e64541c03ec7c9c653dd961285a1858d01ed13722ea60a16fac13fbd778cc0c9a720fd31a1f WHIRLPOOL d557a892686025fe0f08afc65dc4c442eea67494671351bb9ca7a05bf37e1224c3e8f3997422e80b10b7d6b7ade452e06828c6e3fe52ff4e36cc8bef6f45e127 |
30 |
|
31 |
diff --git a/dev-python/socketio-client/socketio-client-0.5.6.ebuild b/dev-python/socketio-client/socketio-client-0.5.6.ebuild |
32 |
deleted file mode 100644 |
33 |
index 0b67809..0000000 |
34 |
--- a/dev-python/socketio-client/socketio-client-0.5.6.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,36 +0,0 @@ |
37 |
-# Copyright 1999-2015 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
-# $Id$ |
40 |
- |
41 |
-EAPI=5 |
42 |
-PYTHON_COMPAT=( python{2_7,3_{3,4}} ) |
43 |
- |
44 |
-inherit distutils-r1 |
45 |
- |
46 |
-MY_PN="socketIO-client" |
47 |
-DESCRIPTION="A socket.io client library for Python" |
48 |
-HOMEPAGE="https://github.com/invisibleroads/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}" |
49 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
50 |
- |
51 |
-LICENSE="MIT" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~amd64 ~x86" |
54 |
-IUSE="test" |
55 |
- |
56 |
-RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
57 |
- dev-python/requests[${PYTHON_USEDEP}] |
58 |
- dev-python/websocket-client[${PYTHON_USEDEP}]" |
59 |
-DEPEND="${RDEPEND} |
60 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
- test? ( |
62 |
- dev-python/nose[${PYTHON_USEDEP}] |
63 |
- dev-python/coverage[${PYTHON_USEDEP}] |
64 |
- )" |
65 |
- |
66 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
67 |
- |
68 |
-RESTRICT="test" |
69 |
- |
70 |
-python_test() { |
71 |
- PYTHONPATH="${PWD}" python -m unittest |
72 |
-} |
73 |
|
74 |
diff --git a/dev-python/socketio-client/socketio-client-0.6.5.ebuild b/dev-python/socketio-client/socketio-client-0.6.5.ebuild |
75 |
new file mode 100644 |
76 |
index 0000000..788c192 |
77 |
--- /dev/null |
78 |
+++ b/dev-python/socketio-client/socketio-client-0.6.5.ebuild |
79 |
@@ -0,0 +1,46 @@ |
80 |
+# Copyright 1999-2015 Gentoo Foundation |
81 |
+# Distributed under the terms of the GNU General Public License v2 |
82 |
+# $Id$ |
83 |
+ |
84 |
+EAPI=5 |
85 |
+PYTHON_COMPAT=( python{2_7,3_{3,4}} ) |
86 |
+ |
87 |
+inherit distutils-r1 |
88 |
+ |
89 |
+MY_PN="socketIO-client" |
90 |
+REPO_PN="socketIO_client" |
91 |
+DESCRIPTION="A socket.io client library for Python" |
92 |
+HOMEPAGE="https://github.com/invisibleroads/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}" |
93 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${REPO_PN}-${PV}.tar.gz -> ${P}.tar.gz" |
94 |
+ |
95 |
+LICENSE="MIT" |
96 |
+SLOT="0" |
97 |
+KEYWORDS="~amd64 ~x86" |
98 |
+IUSE="test" |
99 |
+ |
100 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}] |
101 |
+ dev-python/requests[${PYTHON_USEDEP}] |
102 |
+ dev-python/websocket-client[${PYTHON_USEDEP}]" |
103 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
104 |
+ test? ( ${RDEPEND} |
105 |
+ dev-python/nose[${PYTHON_USEDEP}] |
106 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
107 |
+ )" |
108 |
+ |
109 |
+S="${WORKDIR}/${REPO_PN}-${PV}" |
110 |
+ |
111 |
+python_test() { |
112 |
+ # https://github.com/invisibleroads/socketIO-client/issues/90 |
113 |
+ # This runs the suite but has nill output to the screen |
114 |
+ # The bug filed will hopefully yield a more conventional testsuite |
115 |
+ |
116 |
+ # The import of SocketIO need be made with abs path to run the tests |
117 |
+ sed -e 's:from .. import:from socketIO_client import:' \ |
118 |
+ -i ${REPO_PN}/tests/__init__.py || die |
119 |
+ |
120 |
+ "${PYTHON}" ${REPO_PN}/tests/__init__.py || die "Tests failed under ${EPYTHON}" |
121 |
+ |
122 |
+ # Return to original form for final install |
123 |
+ sed -e 's:from socketIO_client import:from .. import:' \ |
124 |
+ -i ${REPO_PN}/tests/__init__.py || die |
125 |
+} |