commit:     145bf1a81217c7c412efacd1f2e8e98f3cc1222e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  7 17:45:49 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep  7 17:45:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145bf1a8

dev-python/ypy-websocket: add 0.12.3

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/ypy-websocket/Manifest                  |  1 +
 .../ypy-websocket/ypy-websocket-0.12.3.ebuild      | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/ypy-websocket/Manifest 
b/dev-python/ypy-websocket/Manifest
index 04a530716b22..dcdd9788042a 100644
--- a/dev-python/ypy-websocket/Manifest
+++ b/dev-python/ypy-websocket/Manifest
@@ -1,3 +1,4 @@
 DIST ypy-websocket-0.12.1.gh.tar.gz 19760 BLAKE2B 
0c422bbdba4c1f7f8ec8b74659cca09f96cbf0ed146578d96f07edfa5c90451c0404122c2633ddeb41fde56427abfaf1c9b241a1dbecd4e6ad7b10c193828c93
 SHA512 
de1ee7a2075a64f778936a9eda196ec85ea183fa2caf5eede5c0fc95aa95e697185629643f435dd57332b2f20bcbdfeec1b33a84f639a2b86ac651e6b0a87a23
 DIST ypy-websocket-0.12.2.gh.tar.gz 19844 BLAKE2B 
f686d54a6199455c6654e2e115fa152e6d9fea8396dfb825df09245d18bf288100b5409c0c7b5e77a09bcea66db53cc6f413e52cbed1d1dd44ad60250edf4822
 SHA512 
395df9ec29caf962a8fa2e702c2a29f34cc6c7c349b685067ef552898a3d3be4e5875da972613aceab06337e6722865b990f34f3e6ce1a025821a513794f79a0
+DIST ypy-websocket-0.12.3.gh.tar.gz 21624 BLAKE2B 
d6339431b528e4222cef47cfaa7d98e7f14cbe5b0874d5d90650a191882c2a957e524390341fc949a9d048e65229e0fd9b2eafd800eed21314ef7891a14c6fad
 SHA512 
d051838a589e91f00917e54ea3807665dcefeb67f959dce00965c694a7eb16098842a239fff476368335be10b540e955d8a0835f2297a3be5493be53c6306ff9
 DIST ypy-websocket-0.8.4.gh.tar.gz 13416 BLAKE2B 
9dd988d6eceb624bae2385180c408971a776f06324407506886c2ef5b8e713277a4c4fb0a2d328a20695d4db8808997c125bfb48faa60c93fe38bb1a1e899766
 SHA512 
20794b182bbf3958df9f3097ab8c4657acef1ca294c751e0524bc5a36cd7b7a6a2766ae9295cd5f9fc31070813d5b56e0e1e25e22931f63171f88b4757bb1584

diff --git a/dev-python/ypy-websocket/ypy-websocket-0.12.3.ebuild 
b/dev-python/ypy-websocket/ypy-websocket-0.12.3.ebuild
new file mode 100644
index 000000000000..8d616389a057
--- /dev/null
+++ b/dev-python/ypy-websocket/ypy-websocket-0.12.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings to y-crdt"
+HOMEPAGE="
+       https://pypi.org/project/ypy-websocket/
+       https://github.com/y-crdt/ypy-websocket/
+"
+SRC_URI="
+       https://github.com/y-crdt/ypy-websocket/archive/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       <dev-python/anyio-5[${PYTHON_USEDEP}]
+       >=dev-python/anyio-3.6.2[${PYTHON_USEDEP}]
+       <dev-python/aiosqlite-1[${PYTHON_USEDEP}]
+       >=dev-python/aiosqlite-0.18.0[${PYTHON_USEDEP}]
+       <dev-python/y-py-0.7.0[${PYTHON_USEDEP}]
+       >=dev-python/y-py-0.6.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/uvicorn[${PYTHON_USEDEP}]
+               dev-python/websockets[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_IGNORE=(
+       # Requires internet and nodejs
+       tests/test_ypy_yjs.py
+)
+
+distutils_enable_tests pytest

Reply via email to