pkgsrc/www/py-bleach/Makefile
adam 6585bc6e13 py-bleach: updated to 2.1.3
Version 2.1.3:

**Security fixes**
* Attributes that have URI values weren't properly sanitized if the
  values contained character entities. Using character entities, it
  was possible to construct a URI value with a scheme that was not
  allowed that would slide through unsanitized.

  This security issue was introduced in Bleach 2.1. Anyone using
  Bleach 2.1 is highly encouraged to upgrade.

**Bug fixes**
* Fixed some other edge cases for attribute URI value sanitizing and
  improved testing of this code.
2018-04-09 12:14:19 +00:00

21 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.9 2018/04/09 12:14:19 adam Exp $
DISTNAME= bleach-2.1.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bleach/}
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://github.com/mozilla/bleach
COMMENT= Easy whitelist-based HTML-sanitizing tool
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.99999999:../../textproc/py-html5lib
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner>=2.0:../../devel/py-test-runner
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"