openbsd-ports/databases/py-sqlobject/Makefile
2011-09-16 08:48:01 +00:00

43 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.13 2011/09/16 08:48:04 espie Exp $
COMMENT = Object Relational Manager
MODPY_EGG_VERSION = 0.10.4
DISTNAME = SQLObject-${MODPY_EGG_VERSION}
PKGNAME = py-sqlobject-${MODPY_EGG_VERSION}
REVISION = 2
CATEGORIES = databases
HOMEPAGE = http://www.sqlobject.org/
MAINTAINER = Martynas Venckus <martynas@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=S/SQLObject/}
MODULES = lang/python
RUN_DEPENDS = www/py-formencode
REGRESS_DEPENDS = ${RUN_DEPENDS} \
devel/py-nose \
devel/py-py
MODPY_SETUPTOOLS = Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sqlobject
${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/py-sqlobject/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-sqlobject
${INSTALL_DATA} ${WRKSRC}/docs/*.py \
${PREFIX}/share/examples/py-sqlobject/
do-regress:
cd ${WRKSRC}/sqlobject/tests && ${LOCALBASE}/bin/py.test
.include <bsd.port.mk>