diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-05 09:01:13 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-05 09:01:13 +0000 |
| commit | c2c9aff8c0524b47b95699ded988b89aa1309406 (patch) | |
| tree | 8b0ecdf118995735a0e5014c7991d97c94428a46 /dev-python/python-engineio | |
| parent | 9f814b4c24f5a9bd139baac62df5b34ad39b9dc1 (diff) | |
| download | baldeagleos-repo-c2c9aff8c0524b47b95699ded988b89aa1309406.tar.gz baldeagleos-repo-c2c9aff8c0524b47b95699ded988b89aa1309406.tar.xz baldeagleos-repo-c2c9aff8c0524b47b95699ded988b89aa1309406.zip | |
Adding metadata
Diffstat (limited to 'dev-python/python-engineio')
| -rw-r--r-- | dev-python/python-engineio/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-engineio/python-engineio-4.12.2.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/python-engineio/Manifest b/dev-python/python-engineio/Manifest index bd4bcecb366e..560921998d6c 100644 --- a/dev-python/python-engineio/Manifest +++ b/dev-python/python-engineio/Manifest @@ -1,2 +1,3 @@ DIST python-engineio-4.12.0.gh.tar.gz 319601 BLAKE2B 3da3382dd568f74ed5a0362b36641cd9cbe60fd0370e4e4172455251250ad6470662e1bfdb1903eb7b2dd934cbb895994e407ab8487a80a9dd2f629c87a55f89 SHA512 4d4996183b837b656566bc94f17f8bed7551a18d46985cb83aca44f040a1c9031ad48abac8f33ec63826cff506bb015826a4c080d3d42d47ee684d67948d0708 DIST python-engineio-4.12.1.gh.tar.gz 319719 BLAKE2B 830fbd7f707aa8929ecd0c945d4d642b0780d812fb5033c0a2e632389cfba6ce0b1f186efef6358187eaf5d0cdec849ceeed9811c5b151f5d071be8d8c48a1df SHA512 025a85412c2fa706b3b660885f75b44d61dfdc9ad214346dd0fb7e739b7984488ba43140fc8836abf2b2339e5d9b5975bfc7ca26b8676522992a4bcb2c4439b6 +DIST python-engineio-4.12.2.gh.tar.gz 319974 BLAKE2B c60dbd3d91fb9772ad11e676a304e337aaab55b36b1ac6fd3329d23cb7a7ed4d79a5d5a1a51de5ed7dfd0850d907ae234916e09051233ac01b68284f3eec42c8 SHA512 9a1740ec4b481aabe34b0b18eec03d03960d857ba0be5f7e00648fece7ca876294f6fd0c0df4627ca85474c9f100a2b79ac6ca8fd39dadfc43d3c5a0b8688188 diff --git a/dev-python/python-engineio/python-engineio-4.12.2.ebuild b/dev-python/python-engineio/python-engineio-4.12.2.ebuild new file mode 100644 index 000000000000..af34606f1566 --- /dev/null +++ b/dev-python/python-engineio/python-engineio-4.12.2.ebuild @@ -0,0 +1,60 @@ +# 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_{9,10,11,12,13} ) + +inherit distutils-r1 + +DESCRIPTION="Python implementation of the Engine.IO realtime server" +HOMEPAGE=" + https://python-engineio.readthedocs.io/ + https://github.com/miguelgrinberg/python-engineio/ + https://pypi.org/project/python-engineio/" +SRC_URI=" + https://github.com/miguelgrinberg/python-engineio/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/simple-websocket-0.10.0[${PYTHON_USEDEP}] + dev-python/websocket-client[${PYTHON_USEDEP}] +" +# Can use eventlet, werkzeug, or gevent, but no tests for werkzeug +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] + dev-python/websockets[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +python_test() { + local EPYTEST_IGNORE=( + # eventlet is masked for removal + tests/common/test_async_eventlet.py + ) + + local EPYTEST_DESELECT=( + # also eventlet + tests/common/test_server.py::TestServer::test_async_mode_eventlet + tests/common/test_server.py::TestServer::test_connect + tests/common/test_server.py::TestServer::test_service_task_started + tests/common/test_server.py::TestServer::test_upgrades + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p asyncio +} |
