2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2011/09/16 09:24:55 espie Exp $
|
2008-04-21 15:06:02 -04:00
|
|
|
|
|
|
|
COMMENT= small utility package for Divmod projects
|
|
|
|
|
2009-12-28 04:30:09 -05:00
|
|
|
VERSION= 0.6.0
|
2008-04-21 15:06:02 -04:00
|
|
|
DISTNAME= Epsilon-${VERSION}
|
2009-11-19 12:11:30 -05:00
|
|
|
PKGNAME= py-epsilon-${VERSION}
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION = 2
|
2008-04-21 15:06:02 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://divmod.org/trac/wiki/DivmodEpsilon
|
|
|
|
|
|
|
|
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://ekyo.nerim.net/distfiles/
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2010-07-02 22:44:13 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS= devel/py-twisted/core
|
2008-04-21 15:06:02 -04:00
|
|
|
|
|
|
|
REGRESS_DEPENDS=${RUN_DEPENDS} \
|
2010-11-15 14:45:56 -05:00
|
|
|
devel/py-tz
|
2008-04-21 15:06:02 -04:00
|
|
|
|
|
|
|
MODPY_EGG_VERSION=${VERSION}
|
|
|
|
MODPY_DISTUTILS_BUILD= build --build-base=${WRKSRC}/.build
|
|
|
|
|
|
|
|
TRIALDIR= ${WRKDIR}/trial
|
|
|
|
do-regress: install
|
|
|
|
mkdir -m 0777 ${TRIALDIR} && cd ${TRIALDIR} && ${SUDO} su -m nobody -c \
|
|
|
|
"${LOCALBASE}/bin/trial ${MODPY_SITEPKG}/epsilon/test"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|