- 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
This commit is contained in:
Nicola Vitale
2018-08-14 16:35:34 +00:00
parent 1c53a715a8
commit 96862160f0
4 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= webob
PORTVERSION= 1.7.4
PORTVERSION= 1.8.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -29,6 +29,10 @@ 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 && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} "! -name .buildinfo -and ! -name objectiv.inv")

View File

@@ -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

View File

@@ -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',

View File

@@ -5,4 +5,4 @@ The objects map much of the specified behavior of HTTP, including
header parsing and accessors for other standard parts of the
environment.
WWW: http://webob.org/
WWW: https://webob.org/