openbsd-ports/databases/py-elixir/Makefile

38 lines
820 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2010/11/15 00:22:53 espie Exp $
COMMENT = declarative mapper for SQLAlchemy
2009-11-01 06:45:39 -05:00
MODPY_EGG_VERSION = 0.7.0
DISTNAME = Elixir-${MODPY_EGG_VERSION}
2009-11-01 06:45:39 -05:00
PKGNAME = py-${DISTNAME:L}
REVISION = 0
CATEGORIES = databases
HOMEPAGE = http://elixir.ematia.de/trac/wiki
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
2009-11-01 06:45:39 -05:00
MASTER_SITES = ${MASTER_SITE_PYPI:=E/Elixir/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = databases/py-sqlalchemy \
security/py-crypto
REGRESS_DEPENDS = databases/py-sqlite2 \
2008-08-29 22:24:32 -04:00
${RUN_DEPENDS}
2010-09-16 03:33:32 -04:00
MAKE_ENV += PYTHONPATH='${WRKSRC}'
2010-09-16 03:33:32 -04:00
do-regress:
@${_MODPY_CMD} develop -d.; \
cd ${WRKSRC}/tests; for i in `echo test_*.py`; do \
echo $$i; ${MAKE_ENV} ${MODPY_BIN} $$i; \
done
.include <bsd.port.mk>