blob: 93f6dbcde09e7e29fa048e1c6a30ae025f88c6d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= cactus
PORTVERSION= 3.0.2
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Cactus-${PORTVERSION}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Static site generator for designers
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django16>0:${PORTSDIR}/www/py-django16 \
${PYTHON_PKGNAMEPREFIX}markdown2>0:${PORTSDIR}/textproc/py-markdown2 \
${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse \
${PYTHON_PKGNAMEPREFIX}boto>=2.4.1:${PORTSDIR}/devel/py-boto \
${PYTHON_PKGNAMEPREFIX}tornado>=3.2:${PORTSDIR}/www/py-tornado \
${PYTHON_PKGNAMEPREFIX}colorlog>0:${PORTSDIR}/devel/py-colorlog \
${PYTHON_PKGNAMEPREFIX}colorama>0:${PORTSDIR}/devel/py-colorama \
${PYTHON_PKGNAMEPREFIX}django-markwhat>0:${PORTSDIR}/www/py-django-markwhat
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:${PORTSDIR}/devel/py-nose \
${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2
USES= python:-2.7
USE_PYTHON= autoplist concurrent distutils
OPTIONS_DEFINE= TESTS
TESTS_DESC= Install test suite requirements
TESTS_BUILD_DEPENDS= ${RUN_DEPENDS} \
${TEST_DEPENDS}
regression-test: build
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
|