diff options
author | koobs <koobs@FreeBSD.org> | 2013-03-18 15:15:09 +0800 |
---|---|---|
committer | koobs <koobs@FreeBSD.org> | 2013-03-18 15:15:09 +0800 |
commit | aef54fef346cdfe7e4b9c5b7cb517e27700e04b2 (patch) | |
tree | 7c1236a1eb76e377dae5ab29190c39e4c77f67d9 /www | |
parent | 6a13e1e37a87e59f4197caf39c332a9cd963f975 (diff) | |
download | freebsd-ports-gnome-aef54fef346cdfe7e4b9c5b7cb517e27700e04b2.tar.gz freebsd-ports-gnome-aef54fef346cdfe7e4b9c5b7cb517e27700e04b2.tar.zst freebsd-ports-gnome-aef54fef346cdfe7e4b9c5b7cb517e27700e04b2.zip |
- Update to 1.2.1
- Update pkg-plist
- Use GITHUB for DISTFILES
- Tab->space in pkg-desc
- Whitespace alignment
- Add TEST_DEPENDS and regression-test target
Changes: https://github.com/jsocol/bleach/blob/v1.2.1/CHANGES
Approved by: rm (mentor)
Diffstat (limited to 'www')
-rw-r--r-- | www/py-bleach/Makefile | 18 | ||||
-rw-r--r-- | www/py-bleach/distinfo | 4 | ||||
-rw-r--r-- | www/py-bleach/pkg-descr | 2 | ||||
-rw-r--r-- | www/py-bleach/pkg-plist | 6 |
4 files changed, 20 insertions, 10 deletions
diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile index b29b6dc27976..d2cb2ae66496 100644 --- a/www/py-bleach/Makefile +++ b/www/py-bleach/Makefile @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= bleach -PORTVERSION= 1.1.5 +PORTVERSION= 1.2.1 CATEGORIES= www python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org @@ -14,7 +13,18 @@ LICENSE= BSD RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib -USE_PYTHON= yes -USE_PYDISTUTILS=easy_install +USE_GITHUB= yes +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +GH_ACCOUNT= jsocol +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= ab7c8b3 + +TEST_DEPENDS:= ${RUN_DEPENDS} \ + nosetests:${PORTSDIR}/devel/py-nose \ + +regression-test: build + cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} nosetests + .include <bsd.port.mk> diff --git a/www/py-bleach/distinfo b/www/py-bleach/distinfo index 054870bb9c13..934c5d93aeea 100644 --- a/www/py-bleach/distinfo +++ b/www/py-bleach/distinfo @@ -1,2 +1,2 @@ -SHA256 (bleach-1.1.5.tar.gz) = 21bc46db401ec6b2d3fee9209ddbff9192bd586a3c86a98dd055e6a08b178625 -SIZE (bleach-1.1.5.tar.gz) = 18344 +SHA256 (bleach-1.2.1.tar.gz) = 5b61fb6369cea2e4aaf6cc34ec4de9bf658f69c16693fad2dfe8da6890ccb72a +SIZE (bleach-1.2.1.tar.gz) = 27318 diff --git a/www/py-bleach/pkg-descr b/www/py-bleach/pkg-descr index fd9bc118b8f7..504f80508a7f 100644 --- a/www/py-bleach/pkg-descr +++ b/www/py-bleach/pkg-descr @@ -2,4 +2,4 @@ Bleach is a Python HTML sanitizing library that escapes or strips markup and attributes based on a white list. Bleach is intended for sanitizing text from untrusted sources. -WWW: https://github.com/jsocol/bleach +WWW: https://github.com/jsocol/bleach diff --git a/www/py-bleach/pkg-plist b/www/py-bleach/pkg-plist index 90ee5ccbcce5..b1d4ebd50113 100644 --- a/www/py-bleach/pkg-plist +++ b/www/py-bleach/pkg-plist @@ -7,6 +7,9 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/callbacks.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/callbacks.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/callbacks.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/encoding.pyo @@ -22,9 +25,6 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_css.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_delinkify.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/bleach/tests/test_links.pyo |