diff options
author | Benda Xu <heroxbd@gentoo.org> | 2024-03-24 17:34:36 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2024-03-24 21:37:37 +0800 |
commit | b010899d8c69fc7679c7c891f535461b6327803b (patch) | |
tree | 67ba1f78f3afca8f6d51f0db6786dbbee36e3e4e /dev-python/pycrdt-websocket | |
parent | dev-python/jupyter-server-fileid: revive. (diff) | |
download | gentoo-b010899d8c69fc7679c7c891f535461b6327803b.tar.gz gentoo-b010899d8c69fc7679c7c891f535461b6327803b.tar.bz2 gentoo-b010899d8c69fc7679c7c891f535461b6327803b.zip |
dev-python/pycrdt-websocket: new package, add 0.12.7
This package is replacing the previous ypy-websocket.
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-python/pycrdt-websocket')
-rw-r--r-- | dev-python/pycrdt-websocket/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pycrdt-websocket/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pycrdt-websocket/pycrdt-websocket-0.12.7.ebuild | 29 |
3 files changed, 42 insertions, 0 deletions
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>sci@gentoo.org</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 |