git: b713541be668 - main - textproc/py-myst-parser: Update to 0.18.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 09 Jun 2022 11:04:27 UTC
The branch main has been updated by sunpoet:

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

commit b713541be6686a6a72b7e6d8c1a172112e6ac2da
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-09 10:59:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-09 10:59:31 +0000

    textproc/py-myst-parser: Update to 0.18.0
    
    Changes:        https://github.com/executablebooks/MyST-Parser/releases
                    https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html
---
 textproc/py-myst-parser/Makefile       |  6 +++---
 textproc/py-myst-parser/distinfo       |  6 +++---
 textproc/py-myst-parser/files/setup.py | 33 ++++++++++++++++++++-------------
 3 files changed, 26 insertions(+), 19 deletions(-)

diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile
index 364805498e3a..cee3cb466ade 100644
--- a/textproc/py-myst-parser/Makefile
+++ b/textproc/py-myst-parser/Makefile
@@ -1,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	myst-parser
-PORTVERSION=	0.17.2
+PORTVERSION=	0.18.0
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +12,12 @@ COMMENT=	Extended commonmark compliant parser with bridges to docutils & sphinx
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1<0.18,1:textproc/py-docutils@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1<0.19,1:textproc/py-docutils@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}markdown-it-py>=1.0.0<3.0.0:textproc/py-markdown-it-py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mdit-py-plugins>=0.3.0<0.4:textproc/py-mdit-py-plugins@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sphinx>=3.1,1<5,1:textproc/py-sphinx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=4,1<6,1:textproc/py-sphinx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
 
 USES=		python:3.7+
diff --git a/textproc/py-myst-parser/distinfo b/textproc/py-myst-parser/distinfo
index 87cb3409f82e..92dadc35ae19 100644
--- a/textproc/py-myst-parser/distinfo
+++ b/textproc/py-myst-parser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650970161
-SHA256 (myst-parser-0.17.2.tar.gz) = 4c076d649e066f9f5c7c661bae2658be1ca06e76b002bb97f02a09398707686c
-SIZE (myst-parser-0.17.2.tar.gz) = 61658
+TIMESTAMP = 1654708398
+SHA256 (myst-parser-0.18.0.tar.gz) = 739a4d96773a8e55a2cacd3941ce46a446ee23dcd6b37e06f73f551ad7821d86
+SIZE (myst-parser-0.18.0.tar.gz) = 63698
diff --git a/textproc/py-myst-parser/files/setup.py b/textproc/py-myst-parser/files/setup.py
index 010c295d8ce9..94577871625d 100644
--- a/textproc/py-myst-parser/files/setup.py
+++ b/textproc/py-myst-parser/files/setup.py
@@ -4,18 +4,22 @@
 from distutils.core import setup
 
 packages = \
-['myst_parser']
+['myst_parser',
+ 'myst_parser.config',
+ 'myst_parser.mdit_to_docutils',
+ 'myst_parser.parsers',
+ 'myst_parser.sphinx_ext']
 
 package_data = \
 {'': ['*']}
 
 install_requires = \
-['docutils>=0.15,<0.18',
+['docutils>=0.15,<0.19',
  'jinja2',
  'markdown-it-py>=1.0.0,<3.0.0',
  'mdit-py-plugins~=0.3.0',
  'pyyaml',
- 'sphinx>=3.1,<5',
+ 'sphinx>=4,<6',
  'typing-extensions']
 
 extras_require = \
@@ -23,27 +27,30 @@ extras_require = \
  'linkify': ['linkify-it-py~=1.0'],
  'rtd': ['ipython',
          'sphinx-book-theme',
-         'sphinx-panels',
-         'sphinxcontrib-bibtex~=2.4',
+         'sphinx-design',
          'sphinxext-rediraffe~=0.2.7',
          'sphinxcontrib.mermaid~=0.7.1',
          'sphinxext-opengraph~=0.6.3'],
  'testing': ['beautifulsoup4',
-             'coverage',
-             'docutils~=0.17.0',
+             'coverage[toml]',
              'pytest>=6,<7',
              'pytest-cov',
              'pytest-regressions',
-             'pytest-param-files~=0.3.4']}
+             'pytest-param-files~=0.3.4',
+             'sphinx-pytest']}
 
 entry_points = \
 {'console_scripts': ['myst-anchors = myst_parser.cli:print_anchors',
-                     'myst-docutils-html = myst_parser.docutils_:cli_html',
-                     'myst-docutils-html5 = myst_parser.docutils_:cli_html5',
-                     'myst-docutils-latex = myst_parser.docutils_:cli_latex',
+                     'myst-docutils-html = '
+                     'myst_parser.parsers.docutils_:cli_html',
+                     'myst-docutils-html5 = '
+                     'myst_parser.parsers.docutils_:cli_html5',
+                     'myst-docutils-latex = '
+                     'myst_parser.parsers.docutils_:cli_latex',
                      'myst-docutils-pseudoxml = '
-                     'myst_parser.docutils_:cli_pseudoxml',
-                     'myst-docutils-xml = myst_parser.docutils_:cli_xml']}
+                     'myst_parser.parsers.docutils_:cli_pseudoxml',
+                     'myst-docutils-xml = '
+                     'myst_parser.parsers.docutils_:cli_xml']}
 
 setup(name='myst-parser',
       version='%%PORTVERSION%%',