aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2015-10-28 12:11:20 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2015-10-28 12:11:20 +0000
commit2730f4f2994415d9c65c8f2a64a09eecd40d2f30 (patch)
treee204237e4ea4a1c8f718155bbd192644224daf78
parent795e2d3041c0520970b3f8ea55e8d1d8fc0b920c (diff)
downloadports-2730f4f2994415d9c65c8f2a64a09eecd40d2f30.tar.gz
ports-2730f4f2994415d9c65c8f2a64a09eecd40d2f30.zip
Notes
-rw-r--r--www/py-bleach/Makefile18
-rw-r--r--www/py-bleach/distinfo4
2 files changed, 9 insertions, 13 deletions
diff --git a/www/py-bleach/Makefile b/www/py-bleach/Makefile
index e9f28c7603f8..b0ee42190210 100644
--- a/www/py-bleach/Makefile
+++ b/www/py-bleach/Makefile
@@ -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-sanitizing tool
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>
diff --git a/www/py-bleach/distinfo b/www/py-bleach/distinfo
index 3fb7523c2b39..bd927a078d4c 100644
--- a/www/py-bleach/distinfo
+++ b/www/py-bleach/distinfo
@@ -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