openbsd-ports/databases/py-sqlalchemy/Makefile
steven f08a252cbf import SQLAlchemy 0.3.4
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
gives application developers the full power and flexibility of SQL.

from Will Maier <willmaier at ml1.net>
2007-02-04 23:00:06 +00:00

36 lines
743 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/02/04 23:00:06 steven Exp $
COMMENT= "database toolkit for Python"
V= 0.3.4
DISTNAME= SQLAlchemy-${V}
PKGNAME= py-sqlalchemy-${V}
CATEGORIES= databases lang/python
HOMEPAGE= http://www.sqlalchemy.org/
MAINTAINER= Will Maier <willmaier@ml1.net>
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sqlalchemy/}
SUBST_VARS= V
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
# Other DB connectors would work, too.
REGRESS_DEPENDS= ::databases/py-sqlite2 \
::databases/py-mysql
do-regress:
@cd ${WRKSRC} && PYTHONPATH=./test/ ${MODPY_BIN} test/alltests.py --db sqlite
.include <bsd.port.mk>