add max version spec in m2r, and comment in mistune. (mistune is a bit

old, but m2r can't use a newer one).
This commit is contained in:
sthen 2022-12-11 09:04:20 +00:00
parent 79e52394a2
commit 3b86fa2301
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,8 @@
COMMENT = markdown to reStructuredText converter
# github repo archived, upstream suggests forking
MODPY_EGG_VERSION = 0.3.1
REVISION = 0
DISTNAME = m2r-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
@ -16,7 +18,7 @@ MODPY_PI = Yes
MODULES = lang/python
MODPY_PYBUILD = setuptools
RUN_DEPENDS = textproc/py-mistune${MODPY_FLAVOR} \
RUN_DEPENDS = textproc/py-mistune${MODPY_FLAVOR}<2 \
textproc/py-docutils${MODPY_FLAVOR}
FLAVORS = python3

View File

@ -1,5 +1,7 @@
COMMENT = markdown parser for Python
# this is the newest compatible with py-m2r which (as of 0.3.1)
# needs mistune < 2.0
MODPY_EGG_VERSION = 0.8.4
DISTNAME = mistune-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}