bb579283d0
They now have a tool dependency on py-setuptools instead of a DEPENDS
28 lines
920 B
Makefile
28 lines
920 B
Makefile
# $NetBSD: Makefile,v 1.6 2022/01/04 20:55:04 wiz Exp $
|
|
|
|
DISTNAME= readme_renderer-29.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
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"
|