1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/www/py-bleach/Makefile
Kubilay Kocak d97509d8d6 - Update to 1.2.1
- Update pkg-plist
- Use GITHUB for DISTFILES
- Tab->space in pkg-desc
- Whitespace alignment
- Add TEST_DEPENDS and regression-test target

Changes: https://github.com/jsocol/bleach/blob/v1.2.1/CHANGES

Approved by:	rm (mentor)
2013-03-18 07:15:09 +00:00

31 lines
655 B
Makefile

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