diff --git a/textproc/py-MarkupSafe/Makefile b/textproc/py-MarkupSafe/Makefile index 0d0950a3130b..19fc305b6a2d 100644 --- a/textproc/py-MarkupSafe/Makefile +++ b/textproc/py-MarkupSafe/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= MarkupSafe -PORTVERSION= 1.0 +PORTVERSION= 1.1.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,10 +11,10 @@ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implements XML/HTML/XHTML Markup safe string for Python LICENSE= BSD3CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst -USE_PYTHON= autoplist concurrent distutils USES= python +USE_PYTHON= autoplist concurrent distutils post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/markupsafe/_speedups.so diff --git a/textproc/py-MarkupSafe/distinfo b/textproc/py-MarkupSafe/distinfo index 853cd4adee74..cdb9b932770e 100644 --- a/textproc/py-MarkupSafe/distinfo +++ b/textproc/py-MarkupSafe/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1488984335 -SHA256 (MarkupSafe-1.0.tar.gz) = a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665 -SIZE (MarkupSafe-1.0.tar.gz) = 14356 +TIMESTAMP = 1552148123 +SHA256 (MarkupSafe-1.1.1.tar.gz) = 29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b +SIZE (MarkupSafe-1.1.1.tar.gz) = 19151 diff --git a/textproc/py-MarkupSafe/pkg-descr b/textproc/py-MarkupSafe/pkg-descr index 7099545d95e7..71a8c7cbf5f4 100644 --- a/textproc/py-MarkupSafe/pkg-descr +++ b/textproc/py-MarkupSafe/pkg-descr @@ -1,4 +1,6 @@ -py-MarkupSafe is a python module that implements a XML/HTML/XHTML Markup -safe string. +MarkupSafe implements a text object that escapes characters so it is safe to use +in HTML and XML. Characters that have special meanings are replaced so that they +display as the actual characters. This mitigates injection attacks, meaning +untrusted user input can safely be displayed on a page. -WWW: https://pypi.org/project/MarkupSafe/ +WWW: https://github.com/pallets/markupsafe