openbsd-ports/databases/py-axiom/Makefile

41 lines
981 B
Makefile
Raw Normal View History

2009-03-14 08:24:48 -04:00
# $OpenBSD: Makefile,v 1.4 2009/03/14 12:24:48 espie Exp $
COMMENT= sqlite-based object persistence system for python
2008-09-01 15:10:22 -04:00
VERSION= 0.5.28
DISTNAME= Axiom-${VERSION}
2009-03-14 08:24:48 -04:00
PKGNAME= py-axiom-${VERSION}p1
CATEGORIES= databases
HOMEPAGE= http://divmod.org/trac/wiki/DivmodAxiom
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
BUILD_DEPENDS+= :py-epsilon-*:devel/py-epsilon \
:py-sqlite2-*:databases/py-sqlite2
RUN_DEPENDS= ${BUILD_DEPENDS} \
:py-twisted-conch-*:devel/py-twisted/conch
REGRESS_DEPENDS=${BUILD_DEPENDS}
MODPY_DISTUTILS_BUILD= build --build-base=${WRKSRC}/.build
MODPY_EGG_VERSION= ${VERSION}
TRIALDIR= ${WRKDIR}/trial
do-regress: install
mkdir -m 0777 ${TRIALDIR} && cd ${TRIALDIR} && ${SUDO} su -m nobody -c \
"${LOCALBASE}/bin/trial ${MODPY_SITEPKG}/axiom/test"
.include <bsd.port.mk>