summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-07-27 19:24:42 +0000
committerZac Medico <zmedico@gentoo.org>2015-07-27 19:24:42 +0000
commitf7e188ab91ace8d702b2815b38a49ac8a8af95d7 (patch)
treebb5ed0f8876cf43a82a9c981dd3e9ab1530137b3 /dev-python/flask-socketio
parentAdd golang-base.eclass for the basic golang functions and set up the (diff)
downloadgentoo-2-f7e188ab91ace8d702b2815b38a49ac8a8af95d7.tar.gz
gentoo-2-f7e188ab91ace8d702b2815b38a49ac8a8af95d7.tar.bz2
gentoo-2-f7e188ab91ace8d702b2815b38a49ac8a8af95d7.zip
Add flask-socketio.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'dev-python/flask-socketio')
-rw-r--r--dev-python/flask-socketio/ChangeLog9
-rw-r--r--dev-python/flask-socketio/flask-socketio-0.6.0.ebuild31
-rw-r--r--dev-python/flask-socketio/metadata.xml12
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/flask-socketio/ChangeLog b/dev-python/flask-socketio/ChangeLog
new file mode 100644
index 000000000000..6094c53a263f
--- /dev/null
+++ b/dev-python/flask-socketio/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/flask-socketio
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-socketio/ChangeLog,v 1.1 2015/07/27 19:24:42 zmedico Exp $
+
+*flask-socketio-0.6.0 (27 Jul 2015)
+
+ 27 Jul 2015; Zac Medico <zmedico@gentoo.org> +flask-socketio-0.6.0.ebuild,
+ +metadata.xml:
+ Add flask-socketio.
diff --git a/dev-python/flask-socketio/flask-socketio-0.6.0.ebuild b/dev-python/flask-socketio/flask-socketio-0.6.0.ebuild
new file mode 100644
index 000000000000..56e2e1235eac
--- /dev/null
+++ b/dev-python/flask-socketio/flask-socketio-0.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/flask-socketio/flask-socketio-0.6.0.ebuild,v 1.1 2015/07/27 19:24:42 zmedico Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+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=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/flask-0.9[${PYTHON_USEDEP}]
+ >=dev-python/gevent-socketio-0.3.6[${PYTHON_USEDEP}]"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+# pypi tarball does not contain tests
+RESTRICT="test"
+
+python_test() {
+ PYTHONPATH="${PWD}" python ./test_socketio.py || die
+}
diff --git a/dev-python/flask-socketio/metadata.xml b/dev-python/flask-socketio/metadata.xml
new file mode 100644
index 000000000000..809844fdb92c
--- /dev/null
+++ b/dev-python/flask-socketio/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">Flask-SocketIO</remote-id>
+ <remote-id type="github">miguelgrinberg/Flask-SocketIO</remote-id>
+ </upstream>
+ <maintainer>
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>