Makefile 867 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # $OpenBSD: Makefile,v 1.17 2016/01/06 17:01:54 ajacoutot Exp $
  2. COMMENT = Object Relational Manager
  3. MODPY_EGG_VERSION = 0.10.4
  4. DISTNAME = SQLObject-${MODPY_EGG_VERSION}
  5. PKGNAME = py-sqlobject-${MODPY_EGG_VERSION}
  6. REVISION = 4
  7. CATEGORIES = databases
  8. HOMEPAGE = http://www.sqlobject.org/
  9. # LGPL
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MODPY_PI = Yes
  12. MODULES = lang/python
  13. RUN_DEPENDS = www/py-formencode
  14. TEST_DEPENDS = ${RUN_DEPENDS} \
  15. devel/py-nose \
  16. devel/py-py
  17. MODPY_SETUPTOOLS = Yes
  18. post-install:
  19. ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-sqlobject
  20. ${INSTALL_DATA} ${WRKSRC}/docs/*.txt ${PREFIX}/share/doc/py-sqlobject/
  21. ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-sqlobject
  22. ${INSTALL_DATA} ${WRKSRC}/docs/*.py \
  23. ${PREFIX}/share/examples/py-sqlobject/
  24. do-test:
  25. cd ${WRKSRC}/sqlobject/tests && ${LOCALBASE}/bin/py.test
  26. .include <bsd.port.mk>