git: f9575ece2a2d - main - textproc/py-myst-parser: Update to 4.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 15 Aug 2024 11:55:30 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f9575ece2a2d62ed725bf7b13f94664885caddcb

commit f9575ece2a2d62ed725bf7b13f94664885caddcb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-15 09:45:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-15 10:55:40 +0000

    textproc/py-myst-parser: Update to 4.0.0
    
    Changes:        https://github.com/executablebooks/MyST-Parser/releases
                    https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html
---
 textproc/py-myst-parser/Makefile                   | 11 +++++------
 textproc/py-myst-parser/distinfo                   |  6 +++---
 textproc/py-myst-parser/files/patch-pyproject.toml | 11 +++++++++++
 3 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile
index a535d26a64a1..dfec00f3a56b 100644
--- a/textproc/py-myst-parser/Makefile
+++ b/textproc/py-myst-parser/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	myst-parser
-PORTVERSION=	3.0.1
-PORTREVISION=	1
+PORTVERSION=	4.0.0
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +14,14 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=3.4<4:devel/py-flit-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0.18,1<0.22,1:textproc/py-docutils@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0.19,1<0.22,1:textproc/py-docutils@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown-it-py>=3.0<4:textproc/py-markdown-it-py@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.4<1:textproc/py-mdit-py-plugins@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.4.1<1:textproc/py-mdit-py-plugins@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=5,1<8,1:textproc/py-sphinx@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sphinx>=5,1<9,1:textproc/py-sphinx@${PY_FLAVOR}
 
-USES=		python
+USES=		python:3.10+
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
diff --git a/textproc/py-myst-parser/distinfo b/textproc/py-myst-parser/distinfo
index 61e4844a4558..e0952f3e9fe6 100644
--- a/textproc/py-myst-parser/distinfo
+++ b/textproc/py-myst-parser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1715842834
-SHA256 (myst_parser-3.0.1.tar.gz) = 88f0cb406cb363b077d176b51c476f62d60604d68a8dcdf4832e080441301a87
-SIZE (myst_parser-3.0.1.tar.gz) = 92392
+TIMESTAMP = 1723201097
+SHA256 (myst_parser-4.0.0.tar.gz) = 851c9dfb44e36e56d15d05e72f02b80da21a9e0d07cba96baf5e2d476bb91531
+SIZE (myst_parser-4.0.0.tar.gz) = 93858
diff --git a/textproc/py-myst-parser/files/patch-pyproject.toml b/textproc/py-myst-parser/files/patch-pyproject.toml
new file mode 100644
index 000000000000..67ed6bf33144
--- /dev/null
+++ b/textproc/py-myst-parser/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-08-05 14:02:40 UTC
++++ pyproject.toml
+@@ -38,7 +38,7 @@ dependencies = [
+     "markdown-it-py~=3.0",
+     "mdit-py-plugins~=0.4,>=0.4.1",
+     "pyyaml",
+-    "sphinx>=7,<9",
++    "sphinx>=5,<9",
+ ]
+ 
+ [project.urls]