shadchin 7f33627ce1 Import devel/py-test-httpbin, ok jca@
httpbin is an amazing web service for testing HTTP libraries. It has
several great endpoints that can test pretty much everything you need
in a HTTP library. The only problem is: maybe you don't want to wait for
your tests to travel across the Internet and back to make assertions
against a remote web service.
2016-01-05 13:02:39 +00:00

32 lines
655 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2016/01/05 13:02:39 shadchin Exp $
COMMENT = test your HTTP library against a local copy of httpbin
MODPY_EGG_VERSION = 0.2.0
DISTNAME = pytest-httpbin-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
CATEGORIES = devel
HOMEPAGE = https://github.com/kevin1024/pytest-httpbin
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR} \
www/py-httpbin${MODPY_FLAVOR}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
NO_TEST = Yes
.include <bsd.port.mk>