1234567891011121314151617181920212223242526272829303132333435363738 |
- # $OpenBSD: Makefile,v 1.17 2016/01/06 17:01:54 ajacoutot Exp $
- COMMENT = Object Relational Manager
- MODPY_EGG_VERSION = 0.10.4
- DISTNAME = SQLObject-${MODPY_EGG_VERSION}
- PKGNAME = py-sqlobject-${MODPY_EGG_VERSION}
- REVISION = 4
- CATEGORIES = databases
- HOMEPAGE = http://www.sqlobject.org/
- # LGPL
- PERMIT_PACKAGE_CDROM = Yes
- MODPY_PI = Yes
- MODULES = lang/python
- RUN_DEPENDS = www/py-formencode
- TEST_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-test:
- cd ${WRKSRC}/sqlobject/tests && ${LOCALBASE}/bin/py.test
- .include <bsd.port.mk>
|