pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-WebOb



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Dec 14 13:14:37 UTC 2018

Modified Files:
        pkgsrc/www/py-WebOb: Makefile distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-WebOb/Makefile \
    pkgsrc/www/py-WebOb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-WebOb/Makefile
diff -u pkgsrc/www/py-WebOb/Makefile:1.6 pkgsrc/www/py-WebOb/Makefile:1.7
--- pkgsrc/www/py-WebOb/Makefile:1.6    Thu Jul 26 10:38:12 2018
+++ pkgsrc/www/py-WebOb/Makefile        Fri Dec 14 13:14:37 2018
@@ -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
 
 USE_LANGUAGES= # none
 
-do-test:
-       cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
+PYSETUPTESTTARGET=     pytest
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-WebOb/distinfo
diff -u pkgsrc/www/py-WebOb/distinfo:1.6 pkgsrc/www/py-WebOb/distinfo:1.7
--- pkgsrc/www/py-WebOb/distinfo:1.6    Thu Jul 26 10:38:12 2018
+++ pkgsrc/www/py-WebOb/distinfo        Fri Dec 14 13:14:37 2018
@@ -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