Date: Fri, 30 Jun 2023 07:22:59 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: 36a2aa69d420 - main - devel/py-mrkd: Allow build with py-mistune installed Message-ID: <202306300722.35U7Mxn4084793@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=36a2aa69d4205e5a9f6fd2804e75399188a42cad commit 36a2aa69d4205e5a9f6fd2804e75399188a42cad Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-06-30 07:08:24 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-06-30 07:08:24 +0000 devel/py-mrkd: Allow build with py-mistune installed - Bump PORTREVISION for package change PR: 263956 --- devel/py-mrkd/Makefile | 3 +-- devel/py-mrkd/files/patch-mistune | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/devel/py-mrkd/Makefile b/devel/py-mrkd/Makefile index 4e6ac867891f..db2cc9b92189 100644 --- a/devel/py-mrkd/Makefile +++ b/devel/py-mrkd/Makefile @@ -1,6 +1,6 @@ PORTNAME= mrkd PORTVERSION= 0.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.0.6:devel/py-pyparsing@${PY_FLAVOR} - RUN_DEPENDS= ${BUILD_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.1:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mistune0>=0.8.4:textproc/py-mistune0@${PY_FLAVOR} \ diff --git a/devel/py-mrkd/files/patch-mistune b/devel/py-mrkd/files/patch-mistune new file mode 100644 index 000000000000..2f0f03cb2158 --- /dev/null +++ b/devel/py-mrkd/files/patch-mistune @@ -0,0 +1,22 @@ +--- mrkd/__init__.py.orig 2021-05-16 23:32:18 UTC ++++ mrkd/__init__.py +@@ -5,7 +5,7 @@ import ast + import configparser + import io + import jinja2 +-import mistune ++import mistune0 as mistune + import os + import pkg_resources + import pygments +--- setup.py.orig 2021-05-29 00:57:43 UTC ++++ setup.py +@@ -18,7 +18,7 @@ setup( + 'console_scripts': ['mrkd=mrkd:main'], + }, + include_package_data=True, +- install_requires=['Jinja2', 'mistune', 'pygments'], ++ install_requires=['Jinja2', 'mistune0', 'pygments'], + classifiers=[ + 'Programming Language :: Python :: 3 :: Only', + 'License :: OSI Approved :: BSD License',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300722.35U7Mxn4084793>