While here: - switch to USE_PYTHON=pep517 - switch to USE_PYTHON=pytest and remove TEST_DEPENDS and do-test target Changelog: https://github.com/rr-/docstring_parser/blob/0.16/CHANGELOG.md PR: 286110 Reviewed by: kai Approved by: kai
24 lines
565 B
Makefile
24 lines
565 B
Makefile
PORTNAME= docstring_parser
|
|
DISTVERSION= 0.16
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= Parse Python docstrings in ReST, Google and Numpydoc format
|
|
WWW= https://github.com/rr-/docstring_parser
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist pep517 pytest
|
|
|
|
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
NO_ARCH= yes
|
|
|
|
.include <bsd.port.mk>
|