2008-07-09 13:46:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2008/07/09 17:46:51 martynas Exp $
|
2007-05-31 09:28:51 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= discovery-based unittest extension
|
2007-05-31 09:28:51 -04:00
|
|
|
|
2008-07-09 13:46:51 -04:00
|
|
|
VERSION= 0.10.3
|
2008-01-13 12:19:26 -05:00
|
|
|
DISTNAME= nose-${VERSION}
|
|
|
|
PKGNAME= py-${DISTNAME}
|
2007-05-31 09:28:51 -04:00
|
|
|
|
2007-12-10 16:07:51 -05:00
|
|
|
CATEGORIES= devel
|
2007-05-31 09:28:51 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
|
|
|
|
|
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= http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
|
|
|
|
|
MODULES= lang/python
|
2008-01-13 12:19:26 -05:00
|
|
|
REGRESS_DEPENDS= ::devel/py-nose \
|
|
|
|
::devel/py-twisted/core
|
2007-05-31 09:28:51 -04:00
|
|
|
|
2008-01-13 12:19:26 -05:00
|
|
|
SUBST_VARS= VERSION
|
2007-05-31 09:28:51 -04:00
|
|
|
|
|
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-nose
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/py-nose/
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-nose
|
|
|
|
cd ${WRKSRC}/examples && \
|
|
|
|
find . -type d -exec ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-nose/{} \; && \
|
|
|
|
find . ! -type d -exec ${INSTALL_DATA} {} ${PREFIX}/share/examples/py-nose/{} \;
|
|
|
|
|
2008-01-13 12:19:26 -05:00
|
|
|
do-regress:
|
|
|
|
cd ${WRKSRC}/functional_tests && nosetests
|
|
|
|
cd ${WRKSRC}/unit_tests && nosetests
|
|
|
|
|
2007-05-31 09:28:51 -04:00
|
|
|
.include <bsd.port.mk>
|