mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
868688b28a
- Bump PORTREVISION to enforce a cleanup for the easy_install references With hat: python@ Approved by: portmgr (implicit)
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# Created by: Julien Laffaye <jlaffaye@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pelican
|
|
PORTVERSION= 3.3.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= www textproc
|
|
|
|
MAINTAINER= jlaffaye@FreeBSD.org
|
|
COMMENT= Static site generator written in Python
|
|
|
|
RUN_DEPENDS= rst2html:${PORTSDIR}/textproc/py-docutils \
|
|
${PYTHON_PKGNAMEPREFIX}markdown>0:${PORTSDIR}/textproc/py-markdown \
|
|
${PYTHON_PKGNAMEPREFIX}Jinja2>=2.6:${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>0:${PORTSDIR}/devel/py-six
|
|
|
|
TEST_DEPENDS:= ${RUN_DEPENDS} \
|
|
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
|
|
|
|
OPTIONS_DEFINE= TEST
|
|
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
USE_PYDISTUTILS= yes
|
|
USE_PYTHON= yes
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= getpelican
|
|
GH_COMMIT= b35ce43
|
|
|
|
.if ${PORT_OPTIONS:MTEST}
|
|
BUILD_DEPENDS:= ${TEST_DEPENDS}
|
|
.endif
|
|
|
|
regression-test: build
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.mk>
|