summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2016-01-11 16:47:33 -0800
committerZac Medico <zmedico@gentoo.org>2016-01-11 16:47:33 -0800
commitc7ec5e1c21cfd7cab5b2a0b98515e56d5a40ac5f (patch)
tree75ffa38355cb8dca85de8bacf4389854b44dfa42 /dev-python/flask-socketio
parentdev-python/python-socketio: version bump to 0.9.1 (diff)
downloadgentoo-c7ec5e1c21cfd7cab5b2a0b98515e56d5a40ac5f.tar.gz
gentoo-c7ec5e1c21cfd7cab5b2a0b98515e56d5a40ac5f.tar.bz2
gentoo-c7ec5e1c21cfd7cab5b2a0b98515e56d5a40ac5f.zip
dev-python/flask-socketio: version bump to 2.0
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/flask-socketio')
-rw-r--r--dev-python/flask-socketio/Manifest1
-rw-r--r--dev-python/flask-socketio/flask-socketio-2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/flask-socketio/Manifest b/dev-python/flask-socketio/Manifest
index 1408085edf68..811477bee1c6 100644
--- a/dev-python/flask-socketio/Manifest
+++ b/dev-python/flask-socketio/Manifest
@@ -1,2 +1,3 @@
DIST flask-socketio-0.6.0.tar.gz 6804 SHA256 5b004bc9a74421ec3983f5167a7cab70853b132a9c9c09d808c07f96bbf6ecd9 SHA512 3093fb659e8fe86a866bf9183401995a6615b3dfc8687549fa5845747935b6cd6bfc7bb56c969489f47fdb1a5420d744817b6a7dce636ab653ef62a08d353b1e WHIRLPOOL 1ff182a51ac24a61e02a6bf46612932bfdb4121737e27c34e324c859e9fe43a6db408fa162d0ff3b3952e8cb9bfa1e9d0f7b9e57149bce8af461fe5f4e829356
DIST flask-socketio-1.1.tar.gz 7992 SHA256 fdeefa4d3a87b789308e5144d0c58299d50d35fb97c6cc0a76f1d12e255b20bb SHA512 a7257698c32e8b57a63b86ae5bffa8c5c32d9198186b98e2d2f306562ca7b188c5eb260f2716556973e2c0902a37ec66f7809a61a83c6fab4d6a950eda963580 WHIRLPOOL 621e49ef3cdfb94cbd8042d2d1a396d47272541e06d901b6fcbc4fa83951ce7cb30d6cf065405cdb58f01be002901b3b2ab9378f26dd8664ea5949bdecbe6d58
+DIST flask-socketio-2.0.tar.gz 8730 SHA256 f6fb24762d0c6e430f215beb8d62c262816733c4d9726714f9b7badbe1058bb2 SHA512 2a3e28dce72f448dc763bfe533330a0d80aca82ee5e9b9b6538e66853f809424550a3a005d558d11ae6b89266c3946811b4c8811f04b0e2282390414a9b458f8 WHIRLPOOL 19853187d924f74b4b5d6b20e05e3f74b2198853453ea6982878625dd40c75826cb6c001c1e9f07a7a084124fcf2279ac8f5ea307b652ef027fc9fc7a919460d
diff --git a/dev-python/flask-socketio/flask-socketio-2.0.ebuild b/dev-python/flask-socketio/flask-socketio-2.0.ebuild
new file mode 100644
index 000000000000..a70aef90e418
--- /dev/null
+++ b/dev-python/flask-socketio/flask-socketio-2.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="Flask-SocketIO"
+DESCRIPTION="Socket.IO integration for Flask applications."
+HOMEPAGE="https://flask-socketio.readthedocs.org/ https://github.com/miguelgrinberg/${MY_PN}/ https://pypi.python.org/pypi/${MY_PN}"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/flask-0.9[${PYTHON_USEDEP}]
+ dev-python/python-socketio[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/coverage[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# pypi tarball does not contain tests
+RESTRICT="test"
+
+python_test() {
+ PYTHONPATH="${PWD}" python ./test_socketio.py || die
+}