diff options
Diffstat (limited to 'dev-python/websocket-client')
-rw-r--r-- | dev-python/websocket-client/Manifest | 2 | ||||
-rw-r--r-- | dev-python/websocket-client/websocket-client-0.40.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest index 2d74da9fa722..e48d9d301c30 100644 --- a/dev-python/websocket-client/Manifest +++ b/dev-python/websocket-client/Manifest @@ -1,3 +1,5 @@ DIST websocket-client-0.37.0.tar.gz 194246 BLAKE2B 805482524b603fbfeb1039bcd99d761d125504a0f8d1a69766d4f586da241efd9d07ade030152fc51228a7333c97313fb98483de95808f81cfa23e7c3b0ff1d4 SHA512 b72f18c91d9a51a1943fc798601bcd9eac8b1ce807a2abb72b7cf897da30de808160645d9c7f3eaf2430e739cd0c6c01046c452f43c61af63afe7d31d801f9f7 +DIST websocket-client-0.40.0.tar.gz 196203 BLAKE2B 303aeed5bfc84139adfbef3f3198512172220d2670e38683d660def19dcd82015bf85edd26a5aa029ba021c1f9496dca33e5ee8afc790b87eb1fa7b7b17c9aed SHA512 b57593e14087ff36ab2133fb8077aa207bcdcc04fa82d00eb8fa3b86bdf7fa949c8ca25317a7fe035ef0f36d2c996e036d2b715399813604d5593584d409a5eb EBUILD websocket-client-0.37.0.ebuild 813 BLAKE2B 8d81381517db67bdda79dfe57ceba323705d919e4bb3ca261d678a76e30c628ae3ec818e6b43e31c36634c80c7b9b07c5bd9e9f4baa0d1eba442d6df3c21be74 SHA512 f3e7b1d8105ff0100dc27ff772cd08659714bd62f737e0dd9824e10e534b4bfe193acfc1970c3bb235a5a5cd7cf0a72884862a5fa043ade1ea33f8f7d7f561cb +EBUILD websocket-client-0.40.0.ebuild 815 BLAKE2B 7181ccf672b096d9afcf7854e90e87b78dd530ee8dba72c0eefdf07363627e73ce9e0f73b92b668d177771decef3b100ce41026884eec8150053d7dd3f156b7c SHA512 3baf65b9d3aed56a3e3e35926aa19a0abb9cc021874c8ab2469eaf622e4831bc6c12ffcc9cdc2f7ce1a6dbefceea8197881f634b9e8b155e72e5e0aa7eaa154f MISC metadata.xml 488 BLAKE2B 79dd23e10d557b8b6c343db7b47249d8659bfab16d8a11d8668af75a1af0f87891be3c80bba944ddc63aa986dc30a0b7d49c99341ab043c1d084a32f216e62dc SHA512 0aa0c529ae74d6fa9b95bcbc66165c283ddfffacc773d93653f6720dd744da54ad7428dca4fac2b165acd84540f56d7f0f37ed8a1486700d72fdb7716053ab20 diff --git a/dev-python/websocket-client/websocket-client-0.40.0.ebuild b/dev-python/websocket-client/websocket-client-0.40.0.ebuild new file mode 100644 index 000000000000..42f290186c23 --- /dev/null +++ b/dev-python/websocket-client/websocket-client-0.40.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 vcs-snapshot + +MY_PN=${PN//-/_} + +DESCRIPTION="WebSocket client for python with hybi13 support" +HOMEPAGE="https://github.com/liris/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" +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 +} |