Also prevent build from calling out to the internet for some ports. -- Alexandr Shadchin
Index: databases/py-peewee/Makefile =================================================================== RCS file: /cvs/ports/databases/py-peewee/Makefile,v retrieving revision 1.10 diff -u -p -r1.10 Makefile --- databases/py-peewee/Makefile 15 Apr 2016 08:53:49 -0000 1.10 +++ databases/py-peewee/Makefile 15 Apr 2016 17:13:25 -0000 @@ -6,7 +6,7 @@ COMMENT= small expressive ORM MODPY_EGG_VERSION= 2.8.0 DISTNAME= peewee-${MODPY_EGG_VERSION} PKGNAME= py-${DISTNAME} -REVISION= 0 +REVISION= 1 CATEGORIES= databases @@ -19,7 +19,7 @@ GH_ACCOUNT= coleifer GH_PROJECT= peewee GH_TAGNAME= ${MODPY_EGG_VERSION} -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} FLAVORS= python3 FLAVOR?= @@ -27,12 +27,10 @@ FLAVOR?= MODULES= lang/python MODPY_SETUPTOOLS= Yes -MAKE_ENV += PYTHONPATH=${WRKSRC} +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} DOCSRC = ${WRKSRC}/docs post-build: cd ${DOCSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html - cd ${DOCSRC} && PYTHONPATH=${WRKSRC} \ - ${LOCALBASE}/bin/sphinx-build -N . _build/html DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}peewee EXAMPLES = ${PREFIX}/share/examples/${MODPY_PY_PREFIX}peewee Index: databases/py-peewee/patches/patch-docs_Makefile =================================================================== RCS file: databases/py-peewee/patches/patch-docs_Makefile diff -N databases/py-peewee/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ databases/py-peewee/patches/patch-docs_Makefile 15 Apr 2016 17:13:25 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 20:30:49 2016 ++++ docs/Makefile Fri Apr 15 20:30:53 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: devel/py-pathlib/Makefile =================================================================== RCS file: /cvs/ports/devel/py-pathlib/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- devel/py-pathlib/Makefile 15 Apr 2016 08:53:49 -0000 1.4 +++ devel/py-pathlib/Makefile 15 Apr 2016 17:13:54 -0000 @@ -5,7 +5,7 @@ COMMENT = object-oriented filesystem pa MODPY_EGG_VERSION = 1.0.1 DISTNAME = pathlib-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} -REVISION = 1 +REVISION = 2 CATEGORIES = devel @@ -18,7 +18,7 @@ PERMIT_PACKAGE_CDROM = Yes MODPY_PI = Yes MODULES = lang/python -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} TEST_DEPENDS = lang/python/${MODPY_VERSION},-tests FLAVORS = python3 @@ -26,8 +26,10 @@ FLAVOR ?= DOCDIR = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}pathlib +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} + post-build: - cd ${WRKBUILD}/docs && ${MAKE} html + cd ${WRKBUILD}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html post-install: ${INSTALL_DATA_DIR} ${DOCDIR} Index: devel/py-pathlib/patches/patch-docs_Makefile =================================================================== RCS file: devel/py-pathlib/patches/patch-docs_Makefile diff -N devel/py-pathlib/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/py-pathlib/patches/patch-docs_Makefile 15 Apr 2016 17:13:54 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 20:49:10 2016 ++++ docs/Makefile Fri Apr 15 20:50:40 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: devel/py-pexpect/Makefile =================================================================== RCS file: /cvs/ports/devel/py-pexpect/Makefile,v retrieving revision 1.21 diff -u -p -r1.21 Makefile --- devel/py-pexpect/Makefile 15 Apr 2016 08:53:49 -0000 1.21 +++ devel/py-pexpect/Makefile 15 Apr 2016 17:13:54 -0000 @@ -6,7 +6,7 @@ MODPY_EGG_VERSION= 4.0.1 DISTNAME= pexpect-${MODPY_EGG_VERSION} PKGNAME= py-${DISTNAME} CATEGORIES= devel -REVISION= 0 +REVISION= 1 HOMEPAGE= http://pexpect.sourceforge.net/ @@ -18,8 +18,7 @@ MODPY_PI = Yes MODULES= lang/python RUN_DEPENDS = devel/py-ptyprocess${MODPY_FLAVOR} -BUILD_DEPENDS = devel/py-ptyprocess \ - textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} TEST_DEPENDS = ${RUN_DEPENDS} \ devel/py-test${MODPY_FLAVOR} \ shells/bash @@ -32,6 +31,8 @@ MODPY_ADJ_FILES = tests/fakessh/ssh EXAMPLESDIR= ${PREFIX}/share/examples/${MODPY_PY_PREFIX}pexpect DOCDIR= ${PREFIX}/share/doc/${MODPY_PY_PREFIX}pexpect +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} + pre-build: ${SUBST_CMD} ${WRKSRC}/pexpect/replwrap.py ${SUBST_CMD} ${WRKSRC}/tests/test_ctrl_chars.py @@ -40,7 +41,7 @@ pre-build: ${SUBST_CMD} ${WRKSRC}/tests/test_run.py post-build: - cd ${WRKSRC}/doc && env PYTHONPATH=${WRKSRC} make html + cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html post-install: ${INSTALL_DATA_DIR} ${EXAMPLESDIR} Index: devel/py-pexpect/patches/patch-doc_Makefile =================================================================== RCS file: devel/py-pexpect/patches/patch-doc_Makefile diff -N devel/py-pexpect/patches/patch-doc_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/py-pexpect/patches/patch-doc_Makefile 15 Apr 2016 17:13:54 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- doc/Makefile.orig Fri Apr 15 20:41:00 2016 ++++ doc/Makefile Fri Apr 15 20:41:10 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: devel/py-pip/Makefile =================================================================== RCS file: /cvs/ports/devel/py-pip/Makefile,v retrieving revision 1.25 diff -u -p -r1.25 Makefile --- devel/py-pip/Makefile 15 Apr 2016 08:53:49 -0000 1.25 +++ devel/py-pip/Makefile 15 Apr 2016 17:13:54 -0000 @@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 8.1.1 DISTNAME = pip-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = devel -REVISION = 0 +REVISION = 1 HOMEPAGE = https://pip.pypa.io/en/stable/ @@ -16,18 +16,17 @@ PERMIT_PACKAGE_CDROM = Yes MODPY_PI = Yes MODULES = lang/python -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} MODPY_SETUPTOOLS = Yes NO_TEST = Yes FLAVORS = python3 FLAVOR ?= -MAKE_ENV += PYTHONPATH=${WRKSRC} DOCSRC = ${WRKSRC}/docs post-build: cd ${DOCSRC} && PYTHONPATH=${WRKSRC} \ - ${LOCALBASE}/bin/sphinx-build -N . _build/html + ${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} -N . _build/html DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}pip Index: devel/py-pip/patches/patch-docs_conf_py =================================================================== RCS file: devel/py-pip/patches/patch-docs_conf_py diff -N devel/py-pip/patches/patch-docs_conf_py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/py-pip/patches/patch-docs_conf_py 15 Apr 2016 17:13:54 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Prevent build from calling out to the internet. + +--- docs/conf.py.orig Fri Apr 15 21:02:46 2016 ++++ docs/conf.py Fri Apr 15 21:02:54 2016 +@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath(os.pardir)) + # Add any Sphinx extension module names here, as strings. They can be + # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. + # extensions = ['sphinx.ext.autodoc'] +-extensions = ['sphinx.ext.extlinks', 'docs.pipext', 'sphinx.ext.intersphinx'] ++extensions = ['sphinx.ext.extlinks', 'docs.pipext'] + + # intersphinx + intersphinx_cache_limit = 0 Index: devel/py-testpath/Makefile =================================================================== RCS file: /cvs/ports/devel/py-testpath/Makefile,v retrieving revision 1.4 diff -u -p -r1.4 Makefile --- devel/py-testpath/Makefile 15 Apr 2016 08:53:49 -0000 1.4 +++ devel/py-testpath/Makefile 15 Apr 2016 17:13:55 -0000 @@ -5,7 +5,7 @@ COMMENT = test utilities working with f MODPY_EGG_VERSION = 0.3 DISTNAME = ${MODPY_EGG_VERSION} PKGNAME = py-testpath-${MODPY_EGG_VERSION} -REVISION = 0 +REVISION = 1 CATEGORIES = devel @@ -17,7 +17,7 @@ GH_ACCOUNT = jupyter GH_PROJECT = testpath GH_TAGNAME = ${MODPY_EGG_VERSION} -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} TEST_DEPENDS += ${RUN_DEPENDS} \ devel/py-nose${MODPY_FLAVOR} RUN_DEPENDS += devel/py-pathlib${MODPY_FLAVOR} @@ -36,7 +36,9 @@ FLAVOR ?= # Does not use any setup.py based build system do-build: ${MODPY_BIN} -m compileall ${WRKBUILD}/testpath/ - cd ${WRKBUILD}/doc && env PYTHONPATH=.. ${GMAKE} html + cd ${WRKBUILD}/doc && env PYTHONPATH=.. \ + SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} \ + ${GMAKE} html PREFIX_SITE = ${PREFIX}/lib/python${MODPY_VERSION}/site-packages DOCDIR = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}testpath Index: devel/py-testpath/patches/patch-doc_Makefile =================================================================== RCS file: devel/py-testpath/patches/patch-doc_Makefile diff -N devel/py-testpath/patches/patch-doc_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/py-testpath/patches/patch-doc_Makefile 15 Apr 2016 17:13:55 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- doc/Makefile.orig Fri Apr 15 21:09:16 2016 ++++ doc/Makefile Fri Apr 15 21:09:27 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: devel/py-virtualenv/Makefile =================================================================== RCS file: /cvs/ports/devel/py-virtualenv/Makefile,v retrieving revision 1.15 diff -u -p -r1.15 Makefile --- devel/py-virtualenv/Makefile 15 Apr 2016 08:53:49 -0000 1.15 +++ devel/py-virtualenv/Makefile 15 Apr 2016 17:13:56 -0000 @@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 13.0.3 DISTNAME = virtualenv-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} CATEGORIES = devel -REVISION = 2 +REVISION = 3 HOMEPAGE = http://www.virtualenv.org/ @@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM = Yes MODPY_PI = Yes MODULES = lang/python -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} MODPY_SETUPTOOLS = Yes @@ -26,7 +26,7 @@ FLAVOR ?= # the pypi archive does not contain the tests NO_TEST = Yes -MAKE_ENV += PYTHONPATH=${WRKSRC} +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} DOCSRC = ${WRKSRC}/docs post-build: cd ${DOCSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html Index: devel/py-virtualenv/patches/patch-docs_Makefile =================================================================== RCS file: devel/py-virtualenv/patches/patch-docs_Makefile diff -N devel/py-virtualenv/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ devel/py-virtualenv/patches/patch-docs_Makefile 15 Apr 2016 17:13:56 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 21:15:15 2016 ++++ docs/Makefile Fri Apr 15 21:15:22 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: www/py-flask/Makefile =================================================================== RCS file: /cvs/ports/www/py-flask/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- www/py-flask/Makefile 29 Sep 2015 10:52:54 -0000 1.17 +++ www/py-flask/Makefile 15 Apr 2016 17:15:59 -0000 @@ -3,7 +3,7 @@ COMMENT = microframework based on Werkzeug and Jinja 2 MODPY_EGG_VERSION = 0.10.1 -REVISION = 1 +REVISION = 2 DISTNAME = Flask-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME:L} @@ -26,12 +26,12 @@ RUN_DEPENDS = devel/py-blinker${MODPY_FL www/py-itsdangerous${MODPY_FLAVOR} \ www/py-jinja2${MODPY_FLAVOR}>=2.4 \ www/py-werkzeug${MODPY_FLAVOR}>=0.7 -BUILD_DEPENDS = textproc/py-sphinx \ +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} \ www/py-itsdangerous${MODPY_FLAVOR} \ www/py-werkzeug${MODPY_FLAVOR}>=0.7 TEST_DEPENDS = ${RUN_DEPENDS} -MAKE_ENV = PYTHONPATH="${WRKSRC}" +MAKE_ENV = PYTHONPATH="${WRKSRC}" SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} post-build: @cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html Index: www/py-flask/patches/patch-docs_Makefile =================================================================== RCS file: www/py-flask/patches/patch-docs_Makefile diff -N www/py-flask/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-flask/patches/patch-docs_Makefile 15 Apr 2016 17:15:59 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 21:22:09 2016 ++++ docs/Makefile Fri Apr 15 21:22:15 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: www/py-flask/patches/patch-docs_conf_py =================================================================== RCS file: www/py-flask/patches/patch-docs_conf_py diff -N www/py-flask/patches/patch-docs_conf_py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-flask/patches/patch-docs_conf_py 15 Apr 2016 17:15:59 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Prevent build from calling out to the internet. + +--- docs/conf.py.orig Fri Apr 15 21:23:36 2016 ++++ docs/conf.py Fri Apr 15 21:23:50 2016 +@@ -26,7 +26,7 @@ sys.path.append(os.path.abspath('.')) + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', ++extensions = ['sphinx.ext.autodoc', + 'flaskdocext'] + + # Add any paths that contain templates here, relative to this directory. Index: www/py-itsdangerous/Makefile =================================================================== RCS file: /cvs/ports/www/py-itsdangerous/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- www/py-itsdangerous/Makefile 29 Sep 2015 10:52:54 -0000 1.5 +++ www/py-itsdangerous/Makefile 15 Apr 2016 17:16:00 -0000 @@ -3,7 +3,7 @@ COMMENT = helpers to pass trusted data to untrusted environments MODPY_EGG_VERSION = 0.24 -REVISION = 1 +REVISION = 2 DISTNAME = itsdangerous-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME} @@ -20,10 +20,12 @@ MODULES = lang/python MODPY_SETUPTOOLS = Yes -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} FLAVORS = python3 FLAVOR ?= + +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} post-build: @cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html Index: www/py-itsdangerous/patches/patch-docs_Makefile =================================================================== RCS file: www/py-itsdangerous/patches/patch-docs_Makefile diff -N www/py-itsdangerous/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-itsdangerous/patches/patch-docs_Makefile 15 Apr 2016 17:16:00 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 21:28:40 2016 ++++ docs/Makefile Fri Apr 15 21:28:46 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: www/py-itsdangerous/patches/patch-docs_conf_py =================================================================== RCS file: www/py-itsdangerous/patches/patch-docs_conf_py diff -N www/py-itsdangerous/patches/patch-docs_conf_py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-itsdangerous/patches/patch-docs_conf_py 15 Apr 2016 17:16:00 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Prevent build from calling out to the internet. + +--- docs/conf.py.orig Fri Apr 15 21:29:34 2016 ++++ docs/conf.py Fri Apr 15 21:29:43 2016 +@@ -26,7 +26,7 @@ sys.path.append(os.path.abspath('..')) + + # Add any Sphinx extension module names here, as strings. They can be extensions + # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. +-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx'] ++extensions = ['sphinx.ext.autodoc'] + + # Add any paths that contain templates here, relative to this directory. + templates_path = ['_templates'] Index: www/py-werkzeug/Makefile =================================================================== RCS file: /cvs/ports/www/py-werkzeug/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- www/py-werkzeug/Makefile 28 Mar 2016 12:20:33 -0000 1.23 +++ www/py-werkzeug/Makefile 15 Apr 2016 17:16:03 -0000 @@ -5,6 +5,7 @@ COMMENT = WSGI utility collection MODPY_EGG_VERSION = 0.11.5 DISTNAME = Werkzeug-${MODPY_EGG_VERSION} PKGNAME = py-${DISTNAME:L} +REVISION = 0 CATEGORIES = www devel @@ -21,13 +22,15 @@ MODULES = lang/python MODPY_SETUPTOOLS = Yes -BUILD_DEPENDS = textproc/py-sphinx +BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR} TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \ www/py-requests${MODPY_FLAVOR} FLAVORS = python3 FLAVOR ?= + +MAKE_ENV += PYTHONPATH=${WRKSRC} SPHINXBUILD=${LOCALBASE}/bin/sphinx-build${MODPY_BIN_SUFFIX} pre-build: ${SUBST_CMD} ${WRKSRC}/tests/test_serving.py Index: www/py-werkzeug/patches/patch-docs_Makefile =================================================================== RCS file: www/py-werkzeug/patches/patch-docs_Makefile diff -N www/py-werkzeug/patches/patch-docs_Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-werkzeug/patches/patch-docs_Makefile 15 Apr 2016 17:16:03 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- docs/Makefile.orig Fri Apr 15 21:33:26 2016 ++++ docs/Makefile Fri Apr 15 21:33:32 2016 +@@ -3,7 +3,7 @@ + + # You can set these variables from the command line. + SPHINXOPTS = +-SPHINXBUILD = sphinx-build ++SPHINXBUILD ?= sphinx-build + PAPER = + BUILDDIR = _build + Index: www/py-werkzeug/patches/patch-tests_test_serving_py =================================================================== RCS file: /cvs/ports/www/py-werkzeug/patches/patch-tests_test_serving_py,v retrieving revision 1.1 diff -u -p -r1.1 patch-tests_test_serving_py --- www/py-werkzeug/patches/patch-tests_test_serving_py 4 Jan 2016 12:21:41 -0000 1.1 +++ www/py-werkzeug/patches/patch-tests_test_serving_py 15 Apr 2016 17:16:03 -0000 @@ -1,9 +1,12 @@ $OpenBSD: patch-tests_test_serving_py,v 1.1 2016/01/04 12:21:41 shadchin Exp $ ---- tests/test_serving.py.orig Thu Dec 24 00:04:27 2015 -+++ tests/test_serving.py Thu Dec 24 00:03:59 2015 -@@ -195,4 +195,4 @@ def test_monkeypached_sleep(tmpdir): +--- tests/test_serving.py.orig Wed Mar 23 00:38:53 2016 ++++ tests/test_serving.py Fri Apr 15 21:33:04 2016 +@@ -195,7 +195,7 @@ def test_monkeypached_sleep(tmpdir): from werkzeug._reloader import ReloaderLoop ReloaderLoop()._sleep(0) ''')) - subprocess.check_call(['python', str(script)]) + subprocess.check_call(['${MODPY_BIN}', str(script)]) + + + def test_wrong_protocol(dev_server): Index: www/py-werkzeug/patches/patch-werkzeug_contrib_lint_py =================================================================== RCS file: www/py-werkzeug/patches/patch-werkzeug_contrib_lint_py diff -N www/py-werkzeug/patches/patch-werkzeug_contrib_lint_py --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/py-werkzeug/patches/patch-werkzeug_contrib_lint_py 15 Apr 2016 17:16:03 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ +--- werkzeug/contrib/lint.py.orig Fri Apr 15 21:52:40 2016 ++++ werkzeug/contrib/lint.py Fri Apr 15 21:54:00 2016 +@@ -19,7 +19,10 @@ + :copyright: (c) 2014 by the Werkzeug Team, see AUTHORS for more details. + :license: BSD, see LICENSE for more details. + """ +-from urlparse import urlparse ++try: ++ from urlparse import urlparse ++except ImportError: ++ from urllib.parse import urlparse + from warnings import warn + + from werkzeug.datastructures import Headers