mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- 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)
This commit is contained in:
parent
80d070b355
commit
d97509d8d6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314534
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user