Date: Mon, 18 Apr 2022 00:02:25 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d879b3a9e449 - main - textproc/py-myst-parser: Update to 0.17.1 Message-ID: <202204180002.23I02Pau044918@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d879b3a9e449c684f183f04184d9cd7e33889ce9 commit d879b3a9e449c684f183f04184d9cd7e33889ce9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-04-17 23:45:27 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-04-17 23:58:24 +0000 textproc/py-myst-parser: Update to 0.17.1 Changes: https://github.com/executablebooks/MyST-Parser/releases https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md --- textproc/py-myst-parser/Makefile | 8 +++-- textproc/py-myst-parser/distinfo | 6 ++-- textproc/py-myst-parser/files/setup.py | 61 ++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 5 deletions(-) diff --git a/textproc/py-myst-parser/Makefile b/textproc/py-myst-parser/Makefile index 34666f2e6b5d..44493bf1bb41 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.0 +PORTVERSION= 0.17.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +12,8 @@ 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}attrs>=19:devel/py-attrs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docutils>=0.15,1<0.18,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} \ @@ -25,4 +26,7 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py + .include <bsd.port.mk> diff --git a/textproc/py-myst-parser/distinfo b/textproc/py-myst-parser/distinfo index 15c78f479e3c..cfc4248a37d9 100644 --- a/textproc/py-myst-parser/distinfo +++ b/textproc/py-myst-parser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1646058136 -SHA256 (myst-parser-0.17.0.tar.gz) = d412347a5cacb77ebc03d7f7ffef050cd61957d46f234313d350e84e24972260 -SIZE (myst-parser-0.17.0.tar.gz) = 57923 +TIMESTAMP = 1650228824 +SHA256 (myst-parser-0.17.1.tar.gz) = 45fe6407d49221bdcc10d5000f4f2f3ff2614af268dd33f351f7230d6059f0d8 +SIZE (myst-parser-0.17.1.tar.gz) = 60522 diff --git a/textproc/py-myst-parser/files/setup.py b/textproc/py-myst-parser/files/setup.py new file mode 100644 index 000000000000..8f39ffe39968 --- /dev/null +++ b/textproc/py-myst-parser/files/setup.py @@ -0,0 +1,61 @@ +#!/usr/bin/env python +# setup.py generated by flit for tools that don't yet use PEP 517 + +from distutils.core import setup + +packages = \ +['myst_parser'] + +package_data = \ +{'': ['*']} + +install_requires = \ +['attrs>=19', + 'docutils>=0.15,<0.18', + 'jinja2', + 'markdown-it-py>=1.0.0,<3.0.0', + 'mdit-py-plugins~=0.3.0', + 'pyyaml', + 'sphinx>=3.1,<5', + 'typing-extensions'] + +extras_require = \ +{'code_style': ['pre-commit~=2.12'], + 'linkify': ['linkify-it-py~=1.0'], + 'rtd': ['ipython', + 'sphinx-book-theme', + 'sphinx-panels', + 'sphinxcontrib-bibtex~=2.4', + 'sphinxext-rediraffe~=0.2.7', + 'sphinxcontrib.mermaid~=0.7.1', + 'sphinxext-opengraph~=0.6.3'], + 'testing': ['beautifulsoup4', + 'coverage', + 'docutils~=0.17.0', + 'pytest>=6,<7', + 'pytest-cov', + 'pytest-regressions', + 'pytest-param-files~=0.3.4']} + +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-pseudoxml = ' + 'myst_parser.docutils_:cli_pseudoxml', + 'myst-docutils-xml = myst_parser.docutils_:cli_xml']} + +setup(name='myst-parser', + version='%%PORTVERSION%%', + description='An extended commonmark compliant parser, with bridges to docutils & sphinx.', + author=None, + author_email='Chris Sewell <chrisj_sewell@hotmail.com>', + url=None, + packages=packages, + package_data=package_data, + install_requires=install_requires, + extras_require=extras_require, + entry_points=entry_points, + python_requires='>=3.7', + )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204180002.23I02Pau044918>