summaryrefslogtreecommitdiff
path: root/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-21 19:49:14 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-21 19:49:14 -0500
commite96e88fa0d43a67ac8a6eda8bc6819000d1604f4 (patch)
tree60e8906df2f4fcee674fd28f7c16c33fee5dc1b9 /dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild
parentc9507d3d8ce89d8bdf4e6a04c8c7511523082acc (diff)
downloadbaldeagleos-repo-e96e88fa0d43a67ac8a6eda8bc6819000d1604f4.tar.gz
baldeagleos-repo-e96e88fa0d43a67ac8a6eda8bc6819000d1604f4.tar.xz
baldeagleos-repo-e96e88fa0d43a67ac8a6eda8bc6819000d1604f4.zip
Adding metadata
Diffstat (limited to 'dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild')
-rw-r--r--dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild b/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild
new file mode 100644
index 000000000000..b60aa3165ba2
--- /dev/null
+++ b/dev-python/python-socketio/python-socketio-5.12.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2026 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="Python implementation of the Socket.IO realtime server"
+HOMEPAGE="
+ https://python-socketio.readthedocs.org/
+ https://github.com/miguelgrinberg/python-socketio/
+ https://pypi.org/project/python-socketio
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="client asyncio-client"
+
+RDEPEND="dev-python/bidict[${PYTHON_USEDEP}]
+ >=dev-python/python-engineio-4.0.0[${PYTHON_USEDEP}]
+ client? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/websocket-client[${PYTHON_USEDEP}]
+ )
+ asyncio-client? (
+ dev-python/aiohttp[${PYTHON_USEDEP}]
+ dev-python/websockets[${PYTHON_USEDEP}]
+ )
+"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# pypi tarball does not contain tests
+RESTRICT="test"
+
+src_prepare() {
+ # License classifiers are deprecated, so we remove it
+ sed -ie "/\"License ::/d" pyproject.toml \
+ || die "Failed to remove deprecated license classifiers"
+ eapply_user
+}