blob: 3af4f871341c10b8cd36947cc0280e5ab79e77fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= docstring-parser
DISTVERSION= 0.15
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= docstring_parser-${DISTVERSION}
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
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>
|