pkgsrc/textproc/py-html5lib/Makefile
wiz c7b9e9575d py-html5lib: update to 1.1.
Add some missing dependencies and test dependencies.

1.1
~~~

Breaking changes:

* Drop support for Python 3.3. (#358)
* Drop support for Python 3.4. (#421)

Deprecations:

* Deprecate the ``html5lib`` sanitizer (``html5lib.serialize(sanitize=True)`` and
  ``html5lib.filters.sanitizer``). We recommend users migrate to `Bleach
  <https://github.com/mozilla/bleach>`. Please let us know if Bleach doesn't suffice for your
  use. (#443)

Other changes:

* Try to import from ``collections.abc`` to remove DeprecationWarning and ensure
  ``html5lib`` keeps working in future Python versions. (#403)
* Drop optional ``datrie`` dependency. (#442)
2021-11-09 20:10:28 +00:00

23 lines
792 B
Makefile

# $NetBSD: Makefile,v 1.13 2021/11/09 20:10:28 wiz Exp $
DISTNAME= html5lib-1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc www python
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html5lib/}
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= https://github.com/html5lib/html5lib-python
COMMENT= HTML5 parser and tokenizer
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-genshi-[0-9]*:../../www/py-genshi
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-webencodings-[0-9]*:../../textproc/py-webencodings
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"