diff options
author | adam <adam@pkgsrc.org> | 2018-12-14 13:14:37 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2018-12-14 13:14:37 +0000 |
commit | 3157be2f1ef9d1d898b20710ec3420de0d30b4f6 (patch) | |
tree | 850a1248e34a0898d7c00a1819b76158c99a0a45 /www | |
parent | 413f1384b8840cb00e592e7eac909e233230f289 (diff) | |
download | pkgsrc-3157be2f1ef9d1d898b20710ec3420de0d30b4f6.tar.gz |
py-WebOb: updated to 1.8.4
1.8.4:
Bugfix
- Response.content_type now accepts unicode strings on Python 2 and encodes
them to latin-1.
- Accept header classes now support a .copy() function that may be used to
create a copy. This allows create_accept_header and other like functions
to accept an pre-existing Accept header.
Warnings
- Some backslashes introduced with the new accept handling code were causing
DeprecationWarnings upon compiling the source to pyc files, all of the
backslashes have been reigned in as appropriate, and users should no longer
see DeprecationWarnings for invalid escape sequence.
1.8.3:
Bugfix
- acceptparse.AcceptValidHeader, acceptparse.AcceptInvalidHeader, and
acceptparse.AcceptNoHeader will now always ignore offers that do not
match the required media type grammar when calling .acceptable_offers().
Previous versions raised a ValueError for invalid offers in
AcceptValidHeader and returned them as acceptable in the others.
Feature
- Add Request.remote_host, exposing REMOTE_HOST environment variable.
- Added acceptparse.Accept.parse_offer to codify what types of offers
are compatible with acceptparse.AcceptValidHeader.acceptable_offers,
acceptparse.AcceptMissingHeader.acceptable_offers, and
acceptparse.AcceptInvalidHeader.acceptable_offers. This API also
normalizes the offer with lowercased type/subtype and parameter names.
Diffstat (limited to 'www')
-rw-r--r-- | www/py-WebOb/Makefile | 7 | ||||
-rw-r--r-- | www/py-WebOb/distinfo | 10 |
2 files changed, 8 insertions, 9 deletions
diff --git a/www/py-WebOb/Makefile b/www/py-WebOb/Makefile index e192d4f2304..247ef515bdf 100644 --- a/www/py-WebOb/Makefile +++ b/www/py-WebOb/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.6 2018/07/26 10:38:12 adam Exp $ +# $NetBSD: Makefile,v 1.7 2018/12/14 13:14:37 adam Exp $ -DISTNAME= WebOb-1.8.2 +DISTNAME= WebOb-1.8.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=W/WebOb/} @@ -17,8 +17,7 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist USE_LANGUAGES= # none -do-test: - cd ${WRKSRC} && pytest-${PYVERSSUFFIX} +PYSETUPTESTTARGET= pytest .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-WebOb/distinfo b/www/py-WebOb/distinfo index 755b6a44bdf..8243dc4580c 100644 --- a/www/py-WebOb/distinfo +++ b/www/py-WebOb/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2018/07/26 10:38:12 adam Exp $ +$NetBSD: distinfo,v 1.7 2018/12/14 13:14:37 adam Exp $ -SHA1 (WebOb-1.8.2.tar.gz) = 6f23a2eec1510ceee66efd51d3a2b7025c4cdc2b -RMD160 (WebOb-1.8.2.tar.gz) = 75997d1e6c03e0649224d44d6cba083c1e18c678 -SHA512 (WebOb-1.8.2.tar.gz) = 691a6cfbbff376e7b1f71adcaac4dbe8cc26cb4ddc396e2ab946ddf15b34c05c638113f48ee396d4edaf6ef77498ca8539d1c63de9f58894afb0e4b88bbf04ae -Size (WebOb-1.8.2.tar.gz) = 271737 bytes +SHA1 (WebOb-1.8.4.tar.gz) = f3721b3218f8fcf03a5c0d25d7f8d61ec65a7127 +RMD160 (WebOb-1.8.4.tar.gz) = 032576afbbdbace8d5afa7133cfece00c6814aa6 +SHA512 (WebOb-1.8.4.tar.gz) = 2b82336b9bba7625ec3a3dea3d30522d0c436f7dc701e93bc5996d187a7ba00e75bbc7419440f66a0744a38c780c74a8bdd33e4db625de0785c49854d3ef869a +Size (WebOb-1.8.4.tar.gz) = 271891 bytes |