1 |
commit: ce3470dea8ad2dda51344e1d3d0b934f13378d83 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 3 20:09:07 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 3 21:54:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce3470de |
7 |
|
8 |
dev-python/python-socketio: version bump to 2.0.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
11 |
|
12 |
dev-python/python-socketio/Manifest | 1 + |
13 |
.../python-socketio/python-socketio-2.0.0.ebuild | 37 ++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest |
17 |
index 1af3a290734..ba202b4bc76 100644 |
18 |
--- a/dev-python/python-socketio/Manifest |
19 |
+++ b/dev-python/python-socketio/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST python-socketio-1.7.4.tar.gz 23298 BLAKE2B a5337e6f124018172902fbc51935e193267a8e209e9d677fa52e72ff6b71ea27e2aa5284369082fe38013c5b4b21c8561952b9046acbfd3f02c824c0837b367c SHA512 fb31072420eca42fa0349f0a9350fe9ab6bbbac7dc32cd7ae76cffa026fdeeb4197b8c441d76bfc46af55a550c5b7e81e387b67d538c500075bc5b4e8f68d5ab |
22 |
DIST python-socketio-1.8.0.tar.gz 23557 BLAKE2B 085035d6621f2ec351b28095086c6cc5787c4466f904568d5ece0cf37261a75fb6793be1fedd9f54f7cbeccbb668eaee8463850698aa6f2a901b3454cf63f128 SHA512 2514cbad3e429c101f5e247bdf2e4a2b5a0957c19fa97e56ebe8cd78b36e81cfb9dc4500bee367e57460be3a08bbd1e70967a5c87109034ade847ff7f559711d |
23 |
+DIST python-socketio-2.0.0.tar.gz 24180 BLAKE2B 33d0c2007acfe067264c670c98e2f8f6764a979b7c67d8d03217a3b2dc45dbccb699beeff151381f8ccd787610ad39bff3396d4737594ed467f29994b4b8f0a7 SHA512 285d6235aaa5914f21a883976ecf31e15947d28e396c859080cf418094e21b5f3a9c4de01361a2c3219edf43c3c587bca24c9f10ebb97be23bc12c59af79ee2b |
24 |
|
25 |
diff --git a/dev-python/python-socketio/python-socketio-2.0.0.ebuild b/dev-python/python-socketio/python-socketio-2.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..282de64e4d5 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/python-socketio/python-socketio-2.0.0.ebuild |
30 |
@@ -0,0 +1,37 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python implementation of the Socket.IO realtime server." |
40 |
+HOMEPAGE="https://${PN}.readthedocs.org/ https://github.com/miguelgrinberg/${PN}/ https://pypi.org/project/${PN}" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="test" |
47 |
+ |
48 |
+RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
49 |
+ >=dev-python/python-engineio-2.2.0[${PYTHON_USEDEP}] |
50 |
+ !dev-python/gevent-socketio" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/mock[${PYTHON_USEDEP}] |
55 |
+ )" |
56 |
+ |
57 |
+# pypi tarball does not contain tests |
58 |
+RESTRICT="test" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ eapply_user |
62 |
+ distutils-r1_src_prepare |
63 |
+} |
64 |
+ |
65 |
+python_test() { |
66 |
+ esetup.py test || die |
67 |
+} |