pkgsrc/www/py-bleach/Makefile
wiz 9271a651ed Update to 1.4:
Version 1.4
-----------

- Update linkify to use etree type Treeewalker instead of simpletree.
- Updated html5lib to version >= 0.999.
- Update all code to be compatible with Python 3 and 2 using six.
- Switch to Apache License.


Version 1.3
-----------

- Used by Python 3-only fork.


Version 1.2.2
-------------

- Pin html5lib to version 0.95 for now due to major API break.

Version 1.2.1
-------------

- clean() no longer considers "feed:" an acceptable protocol due to
  inconsistencies in browser behavior.


Version 1.2
-----------

- linkify() has changed considerably. Many keyword arguments have been
  replaced with a single callbacks list. Please see the documentation
  for more information.
- Bleach will no longer consider unacceptable protocols when linkifying.
- linkify() now takes a tokenizer argument that allows it to skip
  sanitization.
- delinkify() is gone.
- Removed exception handling from _render. clean() and linkify() may now
  throw.
- linkify() correctly ignores case for protocols and domain names.
- linkify() correctly handles markup within an <a> tag.
2014-01-19 18:51:18 +00:00

19 lines
564 B
Makefile

# $NetBSD: Makefile,v 1.3 2014/01/19 18:51:18 wiz Exp $
DISTNAME= bleach-1.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://pypi.python.org/packages/source/b/bleach/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://pypi.python.org/pypi/bleach
COMMENT= Easy whitelist-based HTML-sanitizing tool
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib
USE_LANGUAGES= # none
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"