diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 23:03:45 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 23:15:28 +0800 |
commit | 91a76eec79233629276165870d5c3bc76573532d (patch) | |
tree | b18d5713ce88426b6954f577792b1629c4f51f2a /textproc/py-sphinx-markdown-tables/files | |
parent | textproc/apertium: Change BUILD_DEPENDS from utf8cpp3 to utf8cpp (diff) |
textproc/py-sphinx-markdown-tables: Fix runtime with py-markdown 3.4+
- Update version requirement of RUN_DEPENDS: Make sure py-markdown 3.4+ is used
- Bump PORTREVISION for package change
Obtained from: https://github.com/ryanfox/sphinx-markdown-tables/commit/7d0bbd2c851efcc9ba25b1a851924333b923c023
Diffstat (limited to 'textproc/py-sphinx-markdown-tables/files')
-rw-r--r-- | textproc/py-sphinx-markdown-tables/files/patch-markdown | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/py-sphinx-markdown-tables/files/patch-markdown b/textproc/py-sphinx-markdown-tables/files/patch-markdown new file mode 100644 index 000000000000..0e96c3cebafa --- /dev/null +++ b/textproc/py-sphinx-markdown-tables/files/patch-markdown @@ -0,0 +1,13 @@ +Obtained from: https://github.com/ryanfox/sphinx-markdown-tables/commit/7d0bbd2c851efcc9ba25b1a851924333b923c023 + +--- sphinx_markdown_tables/__init__.py.orig 2022-08-16 13:25:15 UTC ++++ sphinx_markdown_tables/__init__.py +@@ -21,7 +21,7 @@ def process_tables(app, docname, source): + """ + import markdown + md = markdown.Markdown(extensions=['markdown.extensions.tables']) +- table_processor = markdown.extensions.tables.TableProcessor(md.parser) ++ table_processor = markdown.extensions.tables.TableProcessor(md.parser, {}) + + raw_markdown = source[0] + blocks = re.split(r'(\n{2,})', raw_markdown) |