Lines 60-72
DOCS_PORTDOCS= *
Link Here
|
60 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ |
60 |
DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \ |
61 |
PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" |
61 |
PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env" |
62 |
|
62 |
|
63 |
.include <bsd.port.pre.mk> |
|
|
64 |
|
65 |
.if ${PYTHON_REL} < 30700 && ${PORT_OPTIONS:MDOCS} |
66 |
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}future-annotations>=0:devel/py-future-annotations@${PY_FLAVOR} |
67 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-python36 |
68 |
.endif |
69 |
|
70 |
post-install-DOCS-on: |
63 |
post-install-DOCS-on: |
71 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
64 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
72 |
(cd ${WRKSRC}/build/sphinx/html && \ |
65 |
(cd ${WRKSRC}/build/sphinx/html && \ |
Lines 80-83
do-test:
Link Here
|
80 |
${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3 |
73 |
${LN} -sf ${LOCALBASE}/bin/pip ${LOCALBASE}/bin/pip3 |
81 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |
74 |
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs |
82 |
|
75 |
|
83 |
.include <bsd.port.post.mk> |
76 |
.include <bsd.port.mk> |