pkgsrc/textproc/py-readme_renderer/Makefile
adam b966c00fab py-readme_renderer: updated to 24.0
Readme Renderer is a library that will safely render arbitrary README files
into HTML. It is designed to be used in Warehouse to render the
long_description for packages. It can handle Markdown, reStructuredText (.rst),
and plain text.
2019-03-13 18:00:02 +00:00

25 lines
841 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/03/13 18:00:02 adam Exp $
DISTNAME= readme_renderer-24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=r/readme_renderer/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/pypa/readme_renderer
COMMENT= Library for rendering "readme" descriptions for Warehouse
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-bleach>=2.1.0:../../www/py-bleach
DEPENDS+= ${PYPKGPREFIX}-docutils>=0.13.1:../../textproc/py-docutils
DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"