summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2018-07-03 13:09:07 -0700
committerZac Medico <zmedico@gentoo.org>2018-07-03 14:54:36 -0700
commitce3470dea8ad2dda51344e1d3d0b934f13378d83 (patch)
tree647877b2ea26f42b9f0eaea0d4e55439965b6505 /dev-python/python-socketio
parentdev-python/python-engineio: version bump to 2.2.0 (diff)
downloadgentoo-ce3470dea8ad2dda51344e1d3d0b934f13378d83.tar.gz
gentoo-ce3470dea8ad2dda51344e1d3d0b934f13378d83.tar.bz2
gentoo-ce3470dea8ad2dda51344e1d3d0b934f13378d83.zip
dev-python/python-socketio: version bump to 2.0.0
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-python/python-socketio')
-rw-r--r--dev-python/python-socketio/Manifest1
-rw-r--r--dev-python/python-socketio/python-socketio-2.0.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/python-socketio/Manifest b/dev-python/python-socketio/Manifest
index 1af3a290734d..ba202b4bc76e 100644
--- a/dev-python/python-socketio/Manifest
+++ b/dev-python/python-socketio/Manifest
@@ -1,2 +1,3 @@
DIST python-socketio-1.7.4.tar.gz 23298 BLAKE2B a5337e6f124018172902fbc51935e193267a8e209e9d677fa52e72ff6b71ea27e2aa5284369082fe38013c5b4b21c8561952b9046acbfd3f02c824c0837b367c SHA512 fb31072420eca42fa0349f0a9350fe9ab6bbbac7dc32cd7ae76cffa026fdeeb4197b8c441d76bfc46af55a550c5b7e81e387b67d538c500075bc5b4e8f68d5ab
DIST python-socketio-1.8.0.tar.gz 23557 BLAKE2B 085035d6621f2ec351b28095086c6cc5787c4466f904568d5ece0cf37261a75fb6793be1fedd9f54f7cbeccbb668eaee8463850698aa6f2a901b3454cf63f128 SHA512 2514cbad3e429c101f5e247bdf2e4a2b5a0957c19fa97e56ebe8cd78b36e81cfb9dc4500bee367e57460be3a08bbd1e70967a5c87109034ade847ff7f559711d
+DIST python-socketio-2.0.0.tar.gz 24180 BLAKE2B 33d0c2007acfe067264c670c98e2f8f6764a979b7c67d8d03217a3b2dc45dbccb699beeff151381f8ccd787610ad39bff3396d4737594ed467f29994b4b8f0a7 SHA512 285d6235aaa5914f21a883976ecf31e15947d28e396c859080cf418094e21b5f3a9c4de01361a2c3219edf43c3c587bca24c9f10ebb97be23bc12c59af79ee2b
diff --git a/dev-python/python-socketio/python-socketio-2.0.0.ebuild b/dev-python/python-socketio/python-socketio-2.0.0.ebuild
new file mode 100644
index 000000000000..282de64e4d5f
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-2.0.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of the Socket.IO realtime server."
+HOMEPAGE="https://${PN}.readthedocs.org/ https://github.com/miguelgrinberg/${PN}/ https://pypi.org/project/${PN}"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]
+ >=dev-python/python-engineio-2.2.0[${PYTHON_USEDEP}]
+ !dev-python/gevent-socketio"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ )"
+
+# pypi tarball does not contain tests
+RESTRICT="test"
+
+src_prepare() {
+ eapply_user
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ esetup.py test || die
+}