pkgsrc/textproc/py-readme_renderer/Makefile
adam fb4502db2f py-readme_renderer: updated to 29.0
29.0 (2021-02-22)
-----------------
* Support cmarkgfm>=0.5.0
* Drop support for Python 2 and 3.5
2021-04-06 14:59:53 +00:00

27 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.5 2021/04/06 14:59:53 adam Exp $
DISTNAME= readme_renderer-29.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}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
PYTHON_VERSIONED_DEPENDENCIES= pygments:test test:test
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"