openbsd-ports/www/py-responses/Makefile

37 lines
812 B
Makefile

COMMENT = utility library for mocking out the `requests` Python
MODPY_EGG_VERSION = 0.17.0
DISTNAME = responses-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 2
CATEGORIES = www
HOMEPAGE = https://github.com/getsentry/responses
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
# Apache 2.0
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_PYBUILD = setuptools
MODPY_PYTEST_ARGS = responses/test_responses.py
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
www/py-cookies${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR}
TEST_DEPENDS = devel/flake8 \
devel/py-coverage${MODPY_FLAVOR} \
devel/py-mock${MODPY_FLAVOR} \
devel/py-test-cov${MODPY_FLAVOR} \
devel/py-test-localserver${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>