lang/python port module. I've not yet come up with a port that would not need this and one can always set MODPY_TESTDEP to "no" to prevent the module from touching TEST_DEPENDS. Idea from afresh1 who pointed out the cpan module already does this. aja "I support this move." OK sthen@
27 lines
535 B
Makefile
27 lines
535 B
Makefile
# $OpenBSD: Makefile,v 1.11 2019/05/15 12:04:37 kmos Exp $
|
|
|
|
COMMENT= extensions to the Python unit testing framework
|
|
|
|
MODPY_EGG_VERSION= 1.8.1
|
|
DISTNAME= testtools-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-${DISTNAME}
|
|
CATEGORIES= devel
|
|
REVISION= 2
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MODULES= lang/python
|
|
MODPY_PI= Yes
|
|
MODPY_SETUPTOOLS= Yes
|
|
BUILD_DEPENDS= devel/py-pbr${MODPY_FLAVOR}
|
|
RUN_DEPENDS= devel/py-extras${MODPY_FLAVOR}
|
|
|
|
FLAVORS= python3
|
|
FLAVOR?=
|
|
|
|
# needs traceback2, python-mimeparse, newer unittest2
|
|
NO_TEST= Yes
|
|
|
|
.include <bsd.port.mk>
|