From db6cb533f6b3c76400aeb814c2e3a99943524544 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Dec 2015 13:55:03 -0800 Subject: [PATCH] dev-python/flask-socketio: version bump to 1.1 Package-Manager: portage-2.2.26 --- dev-python/flask-socketio/Manifest | 1 + .../flask-socketio/flask-socketio-1.1.ebuild | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 dev-python/flask-socketio/flask-socketio-1.1.ebuild diff --git a/dev-python/flask-socketio/Manifest b/dev-python/flask-socketio/Manifest index 3a30c7af99dc3..1408085edf68a 100644 --- a/dev-python/flask-socketio/Manifest +++ b/dev-python/flask-socketio/Manifest @@ -1 +1,2 @@ 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 diff --git a/dev-python/flask-socketio/flask-socketio-1.1.ebuild b/dev-python/flask-socketio/flask-socketio-1.1.ebuild new file mode 100644 index 0000000000000..a97dc37cdc530 --- /dev/null +++ b/dev-python/flask-socketio/flask-socketio-1.1.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} ) + +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 +}