freebsd-ports/www/py-pelican/Makefile
Julien Laffaye 541df9160c Update to 4.0.1
PR:		234501
Submitted by:	Andreas Bilke <freebsd.org@bilke.org>
2018-12-31 16:46:35 +00:00

48 lines
1.6 KiB
Makefile

# Created by: Julien Laffaye <jlaffaye@FreeBSD.org>
# $FreeBSD$
PORTNAME= pelican
PORTVERSION= 4.0.1
CATEGORIES= www textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jlaffaye@FreeBSD.org
COMMENT= Static site generator written in Python
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0:textproc/py-docutils@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.7:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}feedgenerator>=1.9:www/py-feedgenerator@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blinker>0:devel/py-blinker@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}unidecode>0:converters/py-unidecode@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dateutil>0:devel/py-dateutil@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python shebangfix
USE_GITHUB= yes
USE_PYTHON= autoplist concurrent distutils
SHEBANG_FILES= pelican/tools/templates/publishconf.py.jinja2 \
pelican/tools/templates/pelicanconf.py.jinja2 \
pelican/tools/*.py
NO_ARCH= yes
GH_ACCOUNT= getpelican
OPTIONS_DEFINE= MARKDOWN SYNTAX
OPTIONS_DEFAULT= MARKDOWN SYNTAX
MARKDOWN_DESC= Markdown markup language format support
MARKDOWN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
SYNTAX_DESC= Syntax Highlighting (via pygments)
SYNTAX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.4:textproc/py-pygments@${PY_FLAVOR}
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>