Skip to content

Commit

Permalink
devel/py-jupyter-server-ydoc: Allow build with py-ypy-websocket 0.9.0
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Apr 27, 2023
1 parent 2330089 commit 8d4bc13
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devel/py-jupyter-server-ydoc/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jupyter-server-ydoc
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0.25:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-server-fileid>=0.6.0<1:devel/py-jupyter-server-fileid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}jupyter-ydoc>=0.2.0<0.4.0:devel/py-jupyter-ydoc@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ypy-websocket>=0.8.2<0.9.0:devel/py-ypy-websocket@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}ypy-websocket>=0.8.2<0.9.0_99:devel/py-ypy-websocket@${PY_FLAVOR}

USES= python:3.7+
USE_PYTHON= autoplist concurrent pep517
Expand Down
11 changes: 11 additions & 0 deletions devel/py-jupyter-server-ydoc/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
--- pyproject.toml.orig 2020-02-02 00:00:00 UTC
+++ pyproject.toml
@@ -22,7 +22,7 @@ classifiers = [
requires-python = ">=3.7"
dependencies = [
"jupyter_ydoc>=0.2.0,<0.4.0",
- "ypy-websocket>=0.8.2,<0.9.0",
+ "ypy-websocket>=0.8.2,<=0.9.0",
"jupyter_server_fileid >=0.6.0,<1"
]

0 comments on commit 8d4bc13

Please sign in to comment.