websocket-client-0.54.0

This commit is contained in:
Alarig Le Lay 2019-05-21 22:28:18 +02:00
parent ee31cae285
commit 0aaa0d37c4
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST websocket-client-0.54.0.tar.gz 36413 BLAKE2B 13344b8c43d4c4664005347a4a37c0e32a28dfbe7602c0ad13a46c44a99e6d49675c3c5d038824c557c819d528449d19932b594c470ddef4aaa05c4d082fea6e SHA512 ba4dfb6b879ec88ca446f44a77b91bbace55faa1a276f493174f3dc5b96b4d400d43c886798666da98e331610f71b4629f894d97f4614acf8d64affe8370bfec
EBUILD websocket-client-0.54.0.ebuild 832 BLAKE2B 483d76d21aa7fb6af7b4faa39f3616edd5ac900db5f99234abc391454aaecba0406f50d917e406c4e1c1d913b3d7345be9608ed316294a99c3c46f100332093d SHA512 f2914e3dd6ca83e8235e6bc5669cba4eb69fa57e57d0e30ca46b884f18ede677bcf32e0e65e058ca0b539cf53dbd573a06271b1c208da383ef54ac04baf4c0a3

View file

@ -0,0 +1,35 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1 vcs-snapshot
MY_PN=${PN//-/_}
DESCRIPTION="WebSocket client for python with hybi13 support"
HOMEPAGE="https://github.com/websocket-client/websocket-client"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
IUSE="examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' 'python2*' )
"
python_test() {
esetup.py test
}
python_install_all() {
use examples && local EXAMPLES=( examples/. )
distutils-r1_python_install_all
}