# Created by: Julien Laffaye # $FreeBSD$ PORTNAME= pelican PORTVERSION= 3.5.0 PORTREVISION= 1 CATEGORIES= www textproc MASTER_SITES= CHEESESHOP MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Static site generator written in Python LICENSE= GPLv3 RUN_DEPENDS= rst2html:${PORTSDIR}/textproc/py-docutils \ ${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown \ ${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:${PORTSDIR}/devel/py-Jinja2 \ ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:${PORTSDIR}/textproc/py-pygments \ ${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.6:${PORTSDIR}/www/py-feedgenerator \ ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}blinker>0:${PORTSDIR}/devel/py-blinker \ ${PYTHON_PKGNAMEPREFIX}unidecode>0:${PORTSDIR}/converters/py-unidecode \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:${PORTSDIR}/devel/py-six \ ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil TEST_DEPENDS:= ${RUN_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \ OPTIONS_DEFINE= TEST OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options .include USES=python USE_PYTHON=autoplist distutils .if ${PORT_OPTIONS:MTEST} BUILD_DEPENDS:= ${TEST_DEPENDS} .endif regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include