Date: Tue, 14 Aug 2018 16:35:34 +0000 (UTC) From: Nicola Vitale <nivit@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477168 - in head/www/py-webob: . files Message-ID: <201808141635.w7EGZYP8087426@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nivit Date: Tue Aug 14 16:35:34 2018 New Revision: 477168 URL: https://svnweb.freebsd.org/changeset/ports/477168 Log: - Update to 1.8.2 - Update URL in pkg-descr to avoid a redirection - Add a patch and a post-extract-* target to fix a couple of Sphinx exceptions during the build process: 1) WARNING: autodoc: failed to import module u'webob.client'; the following exception was raised: Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 658, in import_object __import__(self.modname) ImportError: No module named webob.client 2) Exception occurred: File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 774, in resolve raise DistributionNotFound(req, requirers) DistributionNotFound: The 'webob' distribution was not found and is required by the application The full traceback has been saved in /tmp/sphinx-err-Kjn2DB.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks! *** Error code 1 Changes: https://docs.pylonsproject.org/projects/webob/en/stable/changes.html Added: head/www/py-webob/files/ head/www/py-webob/files/patch-docs_conf.py (contents, props changed) Modified: head/www/py-webob/Makefile head/www/py-webob/distinfo head/www/py-webob/pkg-descr Modified: head/www/py-webob/Makefile ============================================================================== --- head/www/py-webob/Makefile Tue Aug 14 16:03:27 2018 (r477167) +++ head/www/py-webob/Makefile Tue Aug 14 16:35:34 2018 (r477168) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= webob -PORTVERSION= 1.7.4 +PORTVERSION= 1.8.2 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -28,6 +28,10 @@ PORTDOCS= * NO_ARCH= yes USES= python USE_PYTHON= distutils autoplist + +post-extract-DOCS-on: + @(cd ${WRKSRC} && \ + ${LN} -s src/WebOb.egg-info .) post-install-DOCS-on: @(cd ${WRKSRC}/build/sphinx/html && \ Modified: head/www/py-webob/distinfo ============================================================================== --- head/www/py-webob/distinfo Tue Aug 14 16:03:27 2018 (r477167) +++ head/www/py-webob/distinfo Tue Aug 14 16:35:34 2018 (r477168) @@ -1,3 +1,3 @@ -TIMESTAMP = 1521342831 -SHA256 (WebOb-1.7.4.tar.gz) = 8d10af182fda4b92193113ee1edeb687ab9dc44336b37d6804e413f0240d40d9 -SIZE (WebOb-1.7.4.tar.gz) = 219331 +TIMESTAMP = 1534263360 +SHA256 (WebOb-1.8.2.tar.gz) = 1fe722f2ab857685fc96edec567dc40b1875b21219b3b348e58cd8c4d5ea7df3 +SIZE (WebOb-1.8.2.tar.gz) = 271737 Added: head/www/py-webob/files/patch-docs_conf.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-webob/files/patch-docs_conf.py Tue Aug 14 16:35:34 2018 (r477168) @@ -0,0 +1,11 @@ +--- docs/conf.py.orig 2018-04-18 12:16:19 UTC ++++ docs/conf.py +@@ -3,6 +3,8 @@ import sys + import os + import shlex + ++sys.path.insert(0, os.path.abspath('../src')) ++ + extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.intersphinx', Modified: head/www/py-webob/pkg-descr ============================================================================== --- head/www/py-webob/pkg-descr Tue Aug 14 16:03:27 2018 (r477167) +++ head/www/py-webob/pkg-descr Tue Aug 14 16:35:34 2018 (r477168) @@ -5,4 +5,4 @@ The objects map much of the specified behavior of HTTP header parsing and accessors for other standard parts of the environment. -WWW: http://webob.org/ +WWW: https://webob.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808141635.w7EGZYP8087426>