ports/devel/py-readme-renderer/Makefile
Po-Chuan Hsieh 53677204f1
devel/py-readme-renderer: Enable MD option by default
- Bump PORTREVISION for dependency change
2023-10-01 07:29:58 +08:00

31 lines
853 B
Makefile

PORTNAME= readme-renderer
PORTVERSION= 37.3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= readme_renderer-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library for rendering "readme" descriptions
WWW= https://github.com/pypa/readme_renderer
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bleach>=2.1.0:www/py-bleach@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}docutils>=0.13.1,1:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pygments>=2.5.1:textproc/py-pygments@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= MD
OPTIONS_DEFAULT=MD
MD_DESC= Markdown support
MD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0.8.0:textproc/py-cmarkgfm@${PY_FLAVOR}
.include <bsd.port.mk>