Index: head/devel/py-virtualenv/Makefile =================================================================== --- head/devel/py-virtualenv/Makefile (revision 512420) +++ head/devel/py-virtualenv/Makefile (revision 512421) @@ -1,39 +1,48 @@ # $FreeBSD$ PORTNAME= virtualenv PORTVERSION= 16.7.5 PORTREVISION= 0 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Tool for creating isolated Python environments LICENSE= MIT TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} -DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR} +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:textproc/py-sphinx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}towncrier>0:textproc/py-towncrier@${PY_FLAVOR} DOCS_PORTDOCS= * -DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx +DOCS_VARS= PYDISTUTILS_BUILD_TARGET="build build_sphinx" +# Required by towncrier/click when Python < 3.7 +# see https://click.palletsprojects.com/en/7.x/python3/ +# Documentation is in English, so... +MAKE_ENV= LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 + GH_ACCOUNT= pypa NO_ARCH= yes OPTIONS_DEFINE= DOCS + +PYDISTUTILS_BUILDARGS= -c ${WRKSRC}/docs USES= python USE_GITHUB= yes USE_PYTHON= autoplist concurrent distutils post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/build/sphinx/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -or -name objects.inv") regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include Index: head/devel/py-virtualenv/files/patch-docs_conf.py =================================================================== --- head/devel/py-virtualenv/files/patch-docs_conf.py (nonexistent) +++ head/devel/py-virtualenv/files/patch-docs_conf.py (revision 512421) @@ -0,0 +1,10 @@ +--- docs/conf.py.orig 2019-09-03 16:32:54 UTC ++++ docs/conf.py +@@ -5,6 +5,7 @@ import re + import subprocess + import sys + from pathlib import Path ++sys.path.insert(0, os.path.abspath('../build/lib')) + + from virtualenv import __version__ + Property changes on: head/devel/py-virtualenv/files/patch-docs_conf.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property