freebsd-ports/www/py-bleach/Makefile
Kubilay Kocak f33deebc63 www/py-bleach: Tweak RUN_DEPENDS, Update LICENSE & COMMENT
- Adjust RUN_DEPENDS for html5lib after portrev bump (0.95_1 != 0.95) [1]
- Update LICENSE (BSD3CLAUSE)
- Remove indefinite article in COMMENT
- Move TEST_DEPENDS to *_DEPENDS section

Reported by:	antoine [1]
2014-02-17 13:14:57 +00:00

31 lines
685 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= bleach
PORTVERSION= 1.2.2
PORTREVISION= 2
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Easy whitelist-based HTML-sanitizing tool for Python
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib
TEST_DEPENDS:= ${RUN_DEPENDS} \
nosetests:${PORTSDIR}/devel/py-nose
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
GH_ACCOUNT= jsocol
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= baf1eac
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
.include <bsd.port.mk>