mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
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
This commit is contained in:
parent
795e2d3041
commit
2730f4f299
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400381
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user