f16165e7a3
Add missing build depends py-six that was previously brought in by another port. Reported by: transitive@gmail.com PR: 273532
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
PORTNAME= sphinxcontrib-autoprogram
|
|
DISTVERSION= 0.1.8
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= dereks@lifeofadishwasher.com
|
|
COMMENT= Sphinx Autoprogram Extension
|
|
WWW= https://github.com/sphinx-contrib/autoprogram
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}sphinx>=1.2,1:textproc/py-sphinx@${PY_FLAVOR}
|
|
DOCS_PORTDOCS= *
|
|
DOCS_VARS= PYDISTUTILS_BUILD_TARGET=build_sphinx \
|
|
PYDISTUTILS_BUILDARGS="-n --all-files --fresh-env"
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC}/build/sphinx/html && \
|
|
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objects.inv")
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
|
|
|
|
.include <bsd.port.mk>
|