pkgsrc/net/py-hpack/Makefile
leot 190b51695d Update net/py-hpack to 2.1.0.
Changes:
2.1.0 (2016-02-02)
------------------
**API Changes (Backward Compatible)**
- Added new ``InvalidTableIndex`` exception, a subclass of
  ``HPACKDecodingError``.
- Instead of throwing ``IndexError`` when encountering invalid encoded integers
  HPACK now throws ``HPACKDecodingError``.
- Instead of throwing ``UnicodeDecodeError`` when encountering headers that are
  not UTF-8 encoded, HPACK now throws ``HPACKDecodingError``.
- Instead of throwing ``IndexError`` when encountering invalid table offsets,
  HPACK now throws ``InvalidTableIndex``.
- Added ``raw`` flag to ``decode``, allowing ``decode`` to return bytes instead
  of attempting to decode the headers as UTF-8.

**Bugfixes**
- ``memoryview`` objects are now used when decoding HPACK, improving the
  performance by avoiding unnecessary data copies.
2016-02-16 13:43:09 +00:00

16 lines
386 B
Makefile

# $NetBSD: Makefile,v 1.3 2016/02/16 13:43:09 leot Exp $
DISTNAME= hpack-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_PYPI}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hyper.rtfd.org/
COMMENT= Pure-Python HPACK header compression
LICENSE= mit
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"