pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-WebOb py-WebOb: updated to 1.8.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/14b87d660179
branches:  trunk
changeset: 326785:14b87d660179
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Dec 14 13:14:37 2018 +0000

description:
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:

 www/py-WebOb/Makefile |   7 +++----
 www/py-WebOb/distinfo |  10 +++++-----
 2 files changed, 8 insertions(+), 9 deletions(-)

diffs (37 lines):

diff -r 75b297fdbe7d -r 14b87d660179 www/py-WebOb/Makefile
--- a/www/py-WebOb/Makefile     Fri Dec 14 13:12:24 2018 +0000
+++ b/www/py-WebOb/Makefile     Fri Dec 14 13:14:37 2018 +0000
@@ -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 @@
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+PYSETUPTESTTARGET=     pytest
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 75b297fdbe7d -r 14b87d660179 www/py-WebOb/distinfo
--- a/www/py-WebOb/distinfo     Fri Dec 14 13:12:24 2018 +0000
+++ b/www/py-WebOb/distinfo     Fri Dec 14 13:14:37 2018 +0000
@@ -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



Home | Main Index | Thread Index | Old Index