commit: b010899d8c69fc7679c7c891f535461b6327803b Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Sun Mar 24 09:34:36 2024 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Sun Mar 24 13:37:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b010899d
dev-python/pycrdt-websocket: new package, add 0.12.7 This package is replacing the previous ypy-websocket. Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> dev-python/pycrdt-websocket/Manifest | 1 + dev-python/pycrdt-websocket/metadata.xml | 12 +++++++++ .../pycrdt-websocket-0.12.7.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/dev-python/pycrdt-websocket/Manifest b/dev-python/pycrdt-websocket/Manifest new file mode 100644 index 000000000000..a8ab24bc1f84 --- /dev/null +++ b/dev-python/pycrdt-websocket/Manifest @@ -0,0 +1 @@ +DIST pycrdt_websocket-0.12.7.tar.gz 16835 BLAKE2B 89df20112120e120dcb4ae827e5cf170853b670f71a4535e2575e013c93fc879dbf7fd1e7554ec455251316c1c79a6f476edf5dbf9e233dc1ec4892f1d5ed376 SHA512 1d3846c437a9d0c463b1bfddd15dea48d7a2d3b8f22b32949e38cb6d80efe6cfd37afda9a8075555298538619e4f3b163735191ac35bc6375470c8bac02a184d diff --git a/dev-python/pycrdt-websocket/metadata.xml b/dev-python/pycrdt-websocket/metadata.xml new file mode 100644 index 000000000000..dba736dce03c --- /dev/null +++ b/dev-python/pycrdt-websocket/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="pypi">pycrdt-websocket</remote-id> + <remote-id type="github">jupyter-server/pycrdt-websocket</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pycrdt-websocket/pycrdt-websocket-0.12.7.ebuild b/dev-python/pycrdt-websocket/pycrdt-websocket-0.12.7.ebuild new file mode 100644 index 000000000000..186b6e0703b6 --- /dev/null +++ b/dev-python/pycrdt-websocket/pycrdt-websocket-0.12.7.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="WebSocket connector for pycrdt" +HOMEPAGE="https://github.com/jupyter-server/pycrdt-websocket" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=">=dev-python/pycrdt-0.8.7[${PYTHON_USEDEP}] + dev-python/aiosqlite[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/uvicorn[${PYTHON_USEDEP}] +)" + +# skip tests that depends on yjs not available in Gentoo +EPYTEST_DESELECT=( + tests/test_pycrdt_yjs.py::test_pycrdt_yjs +) + +distutils_enable_tests pytest
