diff options
Diffstat (limited to 'dev-python/flask-socketio')
-rw-r--r-- | dev-python/flask-socketio/Manifest | 2 | ||||
-rw-r--r-- | dev-python/flask-socketio/flask-socketio-3.0.1.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/flask-socketio/Manifest b/dev-python/flask-socketio/Manifest index c68579830356..9d3af789d1ea 100644 --- a/dev-python/flask-socketio/Manifest +++ b/dev-python/flask-socketio/Manifest @@ -1,3 +1,5 @@ DIST flask-socketio-2.9.2.tar.gz 14361 BLAKE2B 0db8ddee5fe8c7dda384a22d2880a7ebf8d25b6ee76d257012823fbe4388bcfebe01a362521fb5e5abfeca72b7b3ca2a53493081e5d42f6443d410871b6fb53e SHA512 6fc499a32f37752e6d6d62fc52787cca795f3d113315402bab8063f7b7041785a7c90aff1bd393ef12ba84f2547607920b5f3146271dc536847c07ef0ffb0617 +DIST flask-socketio-3.0.1.tar.gz 14698 BLAKE2B 5d00cee05c2549714093a3fa680433e4262d14f73f268919efaf7c2345a393f84b8d735e5ea9da911a2e011c581e9eb5a2e4914bbdd8a4721b1ef81a071cbdd4 SHA512 3097f98e479bf1f24676dbecf9e151096f1ea59604396feb2d3e0509551b5b41ce3ac0926660bfdf7e113007633f6b02edb81c9c8656e06fe2f2a02a3e419772 EBUILD flask-socketio-2.9.2.ebuild 935 BLAKE2B f0333bcddedb6221699d962e4bfb7c338c97b71e0f303fe5c23a383ac0dcf0c28e07f4aa974e28fdd0117579564f7ebcec993884fdb0c498102926fda7fbabca SHA512 39725eae29aa0d764ac878054c44446b8fa28717df06e04a92bdeb3f69632bf2f28e60e896f43aeefd5275a6f9597a2117afbd83fd1daad4b5f873fef725bc94 +EBUILD flask-socketio-3.0.1.ebuild 935 BLAKE2B 1533bd6060e52d9629a97d76be56d18929e808d0af18728cc91deec9d1cc20ac86e9f8f6b0faf8029a693fc92fc9b06e5a88e50a9ee3dfdcf51588a0df14231c SHA512 d07669999988a466a2a3eb67d23ac72ccc49124c152bb6a789e076b76f168b27cff8d11bab9aa6ece3597f80d82d0efdbd34aca6e6914ceba4b10fe1f47747a0 MISC metadata.xml 464 BLAKE2B 0e2f91635e9905f04e94fe49e33e92f5ba4b0ba58dac83c5ff6b918403060239a4af3dbbffb1a9fe1837ab5e0034caae35d5f6937b0c1bfccc73d8201fea224a SHA512 3ca7417e14ca354f6bb0ed18dcfe733704b47df3e2a958c7d2bf16b3cda2197fdbfbdaf6652ebacd04c4dd60f9cb00d455dbbb3bc01108f75047f9ae832f38cf diff --git a/dev-python/flask-socketio/flask-socketio-3.0.1.ebuild b/dev-python/flask-socketio/flask-socketio-3.0.1.ebuild new file mode 100644 index 000000000000..8b2e8056e428 --- /dev/null +++ b/dev-python/flask-socketio/flask-socketio-3.0.1.ebuild @@ -0,0 +1,32 @@ +# 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 + +MY_PN="Flask-SocketIO" +DESCRIPTION="Socket.IO integration for Flask applications." +HOMEPAGE="https://flask-socketio.readthedocs.org/ https://github.com/miguelgrinberg/Flask-SocketIO/ https://pypi.org/project/Flask-SocketIO/" +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-1.6.1[${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 +} |