aboutsummaryrefslogtreecommitdiff
path: root/devel/py-testoob/Makefile
blob: b585189bb88d1beed28281727c3f1aad97fe3a60 (plain) (blame)
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
42
43
44
# New ports collection makefile for:	testoob
# Date created:		Sun Oct 29 18:28:14 CET 2006
# Whom:			Tobias Roth <ports@fsck.ch>
#
# $FreeBSD$
#

PORTNAME=	testoob
PORTVERSION=	1.13
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	ports@fsck.ch
COMMENT=	Testoob is an advanced unit testing framework for PyUnit

OPTIONS=	TWISTED "enable running in threads" off \
		HTML "enable HTML output" off
# bypass infrastructure bug (taken from www/py-django)
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options

USE_BZIP2=	yes
USE_PYTHON=	2.2+
USE_PYDISTUTILS=	yes

.include <bsd.port.pre.mk>

.if defined(WITH_TWISTED)
USE_TWISTED=	yes
.endif

.if defined(WITH_HTML)
RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/Ft/Xml/__init__.py:${PORTSDIR}/textproc/py-4suite-xml
.endif

.if ${PYTHON_REL} < 250
PLIST_SUB+=	PYTHON_CURRENT="@comment "
.else
EGG_INFO=	${PORTNAME}-${PORTVERSION}-py${PYTHON_VERSION:S,^python,,}.egg-info
PLIST_SUB+=	PYTHON_CURRENT="" EGG_INFO=${EGG_INFO}
.endif

.include <bsd.port.post.mk>