2011-09-16 04:48:01 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2011/09/16 08:48:03 espie Exp $
|
2008-05-03 08:40:49 -04:00
|
|
|
|
|
|
|
COMMENT= sqlite-based object persistence system for python
|
|
|
|
|
2009-12-31 07:31:44 -05:00
|
|
|
VERSION= 0.6.0
|
2008-05-03 08:40:49 -04:00
|
|
|
DISTNAME= Axiom-${VERSION}
|
2009-11-19 12:13:52 -05:00
|
|
|
PKGNAME= py-axiom-${VERSION}
|
2011-09-16 04:48:01 -04:00
|
|
|
REVISION = 3
|
2008-05-03 08:40:49 -04:00
|
|
|
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
|
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
COMMON_DEPENDS= devel/py-epsilon \
|
|
|
|
databases/py-sqlite2
|
2010-07-02 22:44:13 -04:00
|
|
|
BUILD_DEPENDS= ${COMMON_DEPENDS}
|
2008-05-03 08:40:49 -04:00
|
|
|
|
2010-07-02 22:44:13 -04:00
|
|
|
RUN_DEPENDS= ${COMMON_DEPENDS} \
|
2010-11-14 19:22:45 -05:00
|
|
|
devel/py-twisted/conch
|
2008-05-03 08:40:49 -04:00
|
|
|
|
2010-07-02 22:44:13 -04:00
|
|
|
REGRESS_DEPENDS=${COMMON_DEPENDS}
|
2008-05-03 08:40:49 -04:00
|
|
|
|
|
|
|
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>
|