commit:     db4ae2bb52610287a1f382824eb6ab8d5edf9c4f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  7 03:42:45 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  7 04:18:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4ae2bb

dev-python/ypy-websocket: Bump to 0.9.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ypy-websocket/Manifest                  |  1 +
 .../ypy-websocket/ypy-websocket-0.9.0.ebuild       | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-python/ypy-websocket/Manifest 
b/dev-python/ypy-websocket/Manifest
index f7906a3d98ce..38612af0c795 100644
--- a/dev-python/ypy-websocket/Manifest
+++ b/dev-python/ypy-websocket/Manifest
@@ -1 +1,2 @@
 DIST ypy-websocket-0.8.4.gh.tar.gz 13416 BLAKE2B 
9dd988d6eceb624bae2385180c408971a776f06324407506886c2ef5b8e713277a4c4fb0a2d328a20695d4db8808997c125bfb48faa60c93fe38bb1a1e899766
 SHA512 
20794b182bbf3958df9f3097ab8c4657acef1ca294c751e0524bc5a36cd7b7a6a2766ae9295cd5f9fc31070813d5b56e0e1e25e22931f63171f88b4757bb1584
+DIST ypy-websocket-0.9.0.gh.tar.gz 13677 BLAKE2B 
663cf37af7ddddc1bf208da05bc92fc36d866b1a1f86eb2ae1d8362b023db95b68085b5d9eb35b5f34e106f41a819249db6a3d5d102f1c6a5bf04828d2a9cfc7
 SHA512 
5a193285fafc206de116e087ba10f37ee6e7238968d9c3e88537e054fd8c2238f9bf55c2b2dcb5871b8af9b080caba912a3526e124c33ea3156f19621312cdb4

diff --git a/dev-python/ypy-websocket/ypy-websocket-0.9.0.ebuild 
b/dev-python/ypy-websocket/ypy-websocket-0.9.0.ebuild
new file mode 100644
index 000000000000..f068e06e1ea7
--- /dev/null
+++ b/dev-python/ypy-websocket/ypy-websocket-0.9.0.ebuild
@@ -0,0 +1,51 @@
+# 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_{9..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"
+
+RDEPEND="
+       <dev-python/anyio-4[${PYTHON_USEDEP}]
+       >=dev-python/anyio-3.6.1[${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/websockets[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_IGNORE=(
+       # Requires internet and nodejs
+       tests/test_ypy_yjs.py
+)
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # lower the necessary version
+       sed -i -e '/anyio/s:3.6.2:3.6.1:' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to