openbsd-ports/devel/py-twisted/Makefile.inc
eric 951e3d7e88 - update twisted to 10.0.0
- add twisted.pair
- better regress target

with help from alek@
ok landry@
2010-07-05 13:37:02 +00:00

31 lines
663 B
Makefile

# $OpenBSD: Makefile.inc,v 1.5 2010/07/05 13:37:02 eric Exp $
CATEGORIES+= devel
MAINTAINER= Eric Faurot <eric@openbsd.org>
# MIT/X
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
EXTRACT_SUFX= .tar.bz2
MODULES= lang/python
MODPY_EGG_VERSION?= ${VERSION}
.if empty(PKGNAME:L:M*core*)
RUN_DEPENDS+= :py-twisted-core-*:devel/py-twisted/core
.else
REGRESS_DEPENDS+= :py-twisted-core-*:devel/py-twisted/core
.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
REGRESS_DEPENDS+=${RUN_DEPENDS}
do-regress:
ulimit -n 512 -p 512 && \
${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD}/trial.wrkdir \
${TRIAL_TARGET}