Fixtures defines a Python contract for reusable state / support logic, primarily for unit testing. Helper and adaptation logic is included to make it easy to write your own fixtures using the fixtures contract. OK bket phessler
37 lines
737 B
Makefile
37 lines
737 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2020/01/16 13:48:34 pamela Exp $
|
|
|
|
COMMENT = reusable state for writing clean Python tests
|
|
|
|
MODPY_EGG_VERSION = 3.0.0
|
|
|
|
DISTNAME = fixtures-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://launchpad.net/python-fixtures
|
|
|
|
MAINTAINER = Pamela Mosiejczuk <pamela@openbsd.org>
|
|
|
|
# Apache 2.0 or 3-Clause BSD
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
MODPY_PYTEST_ARGS = fixtures
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
BUILD_DEPENDS = devel/py-pbr${MODPY_FLAVOR}
|
|
|
|
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
|
|
devel/py-testtools${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS = devel/py-mock${MODPY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|