svn commit: r400381 - head/www/py-bleach
Kubilay Kocak
koobs at FreeBSD.org
Wed Oct 28 12:11:22 UTC 2015
Author: koobs
Date: Wed Oct 28 12:11:20 2015
New Revision: 400381
URL: https://svnweb.freebsd.org/changeset/ports/400381
Log:
www/py-bleach: Update to 1.4.2
- Update PORTVERSION and distinfo checksum (1.4.2)
- six is a RUN not BUILD dependency
- Remove TEST options and hooks since the framework now supports
TEST_DEPENDS. Remove html5lib from TEST_DEPENDS.
Changes:
https://github.com/mozilla/bleach/blob/v1.4.2/CHANGES
Modified:
head/www/py-bleach/Makefile
head/www/py-bleach/distinfo
Modified: head/www/py-bleach/Makefile
==============================================================================
--- head/www/py-bleach/Makefile Wed Oct 28 12:02:54 2015 (r400380)
+++ head/www/py-bleach/Makefile Wed Oct 28 12:11:20 2015 (r400381)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= bleach
-PORTVERSION= 1.4.1
+PORTVERSION= 1.4.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,20 +13,16 @@ COMMENT= Easy whitelist-based HTML-sanit
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib \
- ${PYTHON_PKGNAMEPREFIX}nose>=1.3:${PORTSDIR}/devel/py-nose
-
-OPTIONS_DEFINE= TESTS
-
-TESTS_DESC= Install test suite requirements
-TESTS_BUILD_DEPENDS= ${TEST_DEPENDS}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999:${PORTSDIR}/www/py-html5lib
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3:${PORTSDIR}/devel/py-nose
USES= python
USE_PYTHON= autoplist distutils
-regression-test: build
+NO_ARCH= yes
+
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
Modified: head/www/py-bleach/distinfo
==============================================================================
--- head/www/py-bleach/distinfo Wed Oct 28 12:02:54 2015 (r400380)
+++ head/www/py-bleach/distinfo Wed Oct 28 12:11:20 2015 (r400381)
@@ -1,2 +1,2 @@
-SHA256 (bleach-1.4.1.tar.gz) = 152af29d4580b112fc52966864492791c951e6382b56070e95e128c6b614833b
-SIZE (bleach-1.4.1.tar.gz) = 17449
+SHA256 (bleach-1.4.2.tar.gz) = 56018a17d1488eb1a1e18e7cdddcaea24d3c7b3704172e356f6916c577f4fd9e
+SIZE (bleach-1.4.2.tar.gz) = 17876
More information about the svn-ports-head
mailing list