Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 13:35:40 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r502892 - head/www/py-bleach
Message-ID:  <201905281335.x4SDZe6Q051326@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Tue May 28 13:35:39 2019
New Revision: 502892
URL: https://svnweb.freebsd.org/changeset/ports/502892

Log:
  www/py-bleach: Update to 3.1.0
  
  Changelog:
  
    https://github.com/mozilla/bleach/blob/v3.1.0/CHANGES

Modified:
  head/www/py-bleach/Makefile
  head/www/py-bleach/distinfo
  head/www/py-bleach/pkg-descr

Modified: head/www/py-bleach/Makefile
==============================================================================
--- head/www/py-bleach/Makefile	Tue May 28 13:34:26 2019	(r502891)
+++ head/www/py-bleach/Makefile	Tue May 28 13:35:39 2019	(r502892)
@@ -2,28 +2,32 @@
 # $FreeBSD$
 
 PORTNAME=	bleach
-PORTVERSION=	2.1.3
+PORTVERSION=	3.1.0
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	koobs@FreeBSD.org
-COMMENT=	Easy whitelist-based HTML-sanitizing tool
+COMMENT=	Easy safelist-based HTML-sanitizing tool
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}html5lib>=0.99999999:www/py-html5lib@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-runner>=2.0:devel/py-pytest-runner@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}webencodings>0:converters/py-webencodings@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
+# This is a development script
+# TODO: Remove from sdist (via MANIFEST.ini)
+post-extract:
+	${RM} ${WRKSRC}/bleach/_vendor/pip_install_vendor.sh
+
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
 
 .include <bsd.port.mk>

Modified: head/www/py-bleach/distinfo
==============================================================================
--- head/www/py-bleach/distinfo	Tue May 28 13:34:26 2019	(r502891)
+++ head/www/py-bleach/distinfo	Tue May 28 13:35:39 2019	(r502892)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1526364338
-SHA256 (bleach-2.1.3.tar.gz) = eb7386f632349d10d9ce9d4a838b134d4731571851149f9cc2c05a9a837a9a44
-SIZE (bleach-2.1.3.tar.gz) = 60141
+TIMESTAMP = 1559046690
+SHA256 (bleach-3.1.0.tar.gz) = 3fdf7f77adcf649c9911387df51254b813185e32b2c6619f690b593a617e19fa
+SIZE (bleach-3.1.0.tar.gz) = 167814

Modified: head/www/py-bleach/pkg-descr
==============================================================================
--- head/www/py-bleach/pkg-descr	Tue May 28 13:34:26 2019	(r502891)
+++ head/www/py-bleach/pkg-descr	Tue May 28 13:35:39 2019	(r502892)
@@ -2,4 +2,4 @@ Bleach is a Python HTML sanitizing library that escape
 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/mozilla/bleach



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905281335.x4SDZe6Q051326>