summaryrefslogtreecommitdiff
path: root/dev-python/websocket-client
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/websocket-client')
-rw-r--r--dev-python/websocket-client/Manifest1
-rw-r--r--dev-python/websocket-client/metadata.xml13
-rw-r--r--dev-python/websocket-client/websocket-client-1.9.0.ebuild37
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest
new file mode 100644
index 000000000000..c19839bdb28b
--- /dev/null
+++ b/dev-python/websocket-client/Manifest
@@ -0,0 +1 @@
+DIST websocket_client-1.9.0.tar.gz 70576 BLAKE2B 29f16feb16496fec19c0d0bc1af25ff4675c162763c6d933d1a12b6a8222c6fbf587871a2da3adccfcac212d3fddcafe9d23777600c10c2b88ba661cf248b04f SHA512 63385845aaaf792167d681c4b3089b09ea4dedbf931fa1f4ebc55648b6d864c2a479ac61f758d6a7967ce84e59e197613c976069f64381599c274f89c3edd0b4
diff --git a/dev-python/websocket-client/metadata.xml b/dev-python/websocket-client/metadata.xml
new file mode 100644
index 000000000000..7e8783d4da9b
--- /dev/null
+++ b/dev-python/websocket-client/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <bugs-to>https://github.com/websocket-client/websocket-client/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/websocket-client/websocket-client-1.9.0.ebuild b/dev-python/websocket-client/websocket-client-1.9.0.ebuild
new file mode 100644
index 000000000000..aff44f6cfd1e
--- /dev/null
+++ b/dev-python/websocket-client/websocket-client-1.9.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="WebSocket client for python with hybi13 support"
+HOMEPAGE="
+ https://github.com/websocket-client/websocket-client/
+ https://pypi.org/project/websocket-client/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+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
+}