2013-02-09 15:50:27 +01:00
|
|
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
2012-06-01 19:54:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bleach
|
2013-06-10 03:48:19 +02:00
|
|
|
PORTVERSION= 1.2.2
|
2014-02-17 14:14:57 +01:00
|
|
|
PORTREVISION= 2
|
2012-06-01 19:54:19 +02:00
|
|
|
CATEGORIES= www python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2013-02-09 15:50:27 +01:00
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
2014-02-17 14:14:57 +01:00
|
|
|
COMMENT= Easy whitelist-based HTML-sanitizing tool for Python
|
2012-06-01 19:54:19 +02:00
|
|
|
|
2014-02-17 14:14:57 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2012-06-01 19:54:19 +02:00
|
|
|
|
2014-02-17 14:14:57 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.95:${PORTSDIR}/www/py-html5lib
|
|
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
|
|
nosetests:${PORTSDIR}/devel/py-nose
|
2012-06-01 19:54:19 +02:00
|
|
|
|
2013-03-18 08:15:09 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_PYTHON= yes
|
2014-01-29 14:18:39 +01:00
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2012-06-01 19:54:19 +02:00
|
|
|
|
2013-03-18 08:15:09 +01:00
|
|
|
GH_ACCOUNT= jsocol
|
|
|
|
GH_TAGNAME= v${PORTVERSION}
|
2013-06-10 03:48:19 +02:00
|
|
|
GH_COMMIT= baf1eac
|
2013-03-18 08:15:09 +01:00
|
|
|
|
|
|
|
regression-test: build
|
2013-06-10 03:48:19 +02:00
|
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
|
2012-06-01 19:54:19 +02:00
|
|
|
.include <bsd.port.mk>
|