summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-12-07 08:55:44 +0100
committerMichał Górny <mgorny@gentoo.org>2021-12-07 10:32:18 +0100
commit70bda1cb06b3409cde7a1d2ddf0fa805c808d981 (patch)
treecd3714d11e8290758ab5d962b07c387437f6f873 /dev-python/websocket-client
parentdev-python/django: Bump to 2.2.25 (diff)
downloadgentoo-70bda1cb06b3409cde7a1d2ddf0fa805c808d981.tar.gz
gentoo-70bda1cb06b3409cde7a1d2ddf0fa805c808d981.tar.bz2
gentoo-70bda1cb06b3409cde7a1d2ddf0fa805c808d981.zip
dev-python/websocket-client: Bump to 1.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/websocket-client')
-rw-r--r--dev-python/websocket-client/Manifest1
-rw-r--r--dev-python/websocket-client/websocket-client-1.2.2.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest
index 1939aeafea52..7ee540f1cf52 100644
--- a/dev-python/websocket-client/Manifest
+++ b/dev-python/websocket-client/Manifest
@@ -1 +1,2 @@
DIST websocket-client-1.2.1.tar.gz 45921 BLAKE2B 3717daac2aafcc13cfa71cd5678aeef7e6dd1933b072c40aa26bb315b2e2c84dea5734299fb954179b22a659fa271734ba78724e5f9d92be7a35efe1f611dd8b SHA512 fdbeb7ac2add27478a17b388ac62e9378094a368f29749d8b63c274ee41836506369dddd083956f42f1f2d74948392b3ddd59b801c98f9e028c126bdb54c636b
+DIST websocket-client-1.2.2.tar.gz 45971 BLAKE2B b62ba2d7b6d1b0d7a95f9350f1304cb178854a459bf4fb601b0c56404cfa2ec52824e6533b5f546b3f4e91a9b4a40072782640acdcdd170911a92efdea9c2ca0 SHA512 a47b70f754ee5b9f954a6b5a7cb788db21765776be8f3564e6a339ebd3a6b46c7b363eef208f92da4758f21e9923b97be08554586d3b30e9ad2251948a054add
diff --git a/dev-python/websocket-client/websocket-client-1.2.2.ebuild b/dev-python/websocket-client/websocket-client-1.2.2.ebuild
new file mode 100644
index 000000000000..595cb1e81497
--- /dev/null
+++ b/dev-python/websocket-client/websocket-client-1.2.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="WebSocket client for python with hybi13 support"
+HOMEPAGE="https://github.com/websocket-client/websocket-client"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="examples"
+
+BDEPEND="
+ test? (
+ dev-python/python-socks[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests unittest
+
+python_install_all() {
+ if use examples; then
+ docompress -x "/usr/share/doc/${PF}/examples"
+ dodoc -r examples
+ fi
+ distutils-r1_python_install_all
+}