31 lines
642 B
Makefile

# $OpenBSD: Makefile,v 1.6 2019/07/12 20:45:55 sthen Exp $
COMMENT = backport of new features added to unittest
MODPY_EGG_VERSION = 0.5.1
DISTNAME = unittest2-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
REVISION = 1
MAINTAINER = frantisek holop <minusf@obiit.org>
# MIT
PERMIT_PACKAGE = Yes
MODPY_PI = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
TEST_DEPENDS = devel/py-unittest2
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/unittest2
${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/unittest2
do-test: fake
cd ${WRKSRC}/unittest2/test && unit2 discover
.include <bsd.port.mk>