Changelog (from https://github.com/Pylons/webtest/blob/master/CHANGELOG.rst) 2.0.35 (2020-04-27) python3.8 compat Remove use of deprecated splittype and splithost 2.0.34 (2020-01-29) Fix the test length == 0 in check_content_type. Treat <input type="search"> like <input type="text">. Handle query parameters for the head method. 2.0.33 (2019-02-09) Fixed #210. Allow to reset select multiple with field.value = [] Support for PYTHONOPTIMIZE=2, fix tests on PYTHONOPTIMIZE=1, 2 Fixed #196. Fix deprecation warnings for collections to use collections.abc for Iterable on Python 3. 2.0.32 (2018-10-05) remove invalid email from setup.py 2.0.31 (2018-10-05) py33 is no longer supported. It may works but has been removed from tox config Fixed #205: Use empty string as default value for submit and button tests use pytest ok sthen@
37 lines
788 B
Makefile
37 lines
788 B
Makefile
# $OpenBSD: Makefile,v 1.21 2021/03/14 21:31:42 kmos Exp $
|
|
|
|
COMMENT = helper to test wsgi applications
|
|
|
|
MODPY_EGG_VERSION = 2.0.35
|
|
DISTNAME = WebTest-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME:L}
|
|
|
|
CATEGORIES = www devel
|
|
|
|
HOMEPAGE = http://webtest.pythonpaste.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
MODPY_PYTEST_ARGS = tests
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
|
|
www/py-waitress${MODPY_FLAVOR} \
|
|
www/py-beautifulsoup4${MODPY_FLAVOR} \
|
|
www/py-webob${MODPY_FLAVOR}>=1.2
|
|
|
|
# also needs WSGIProxy2 and PasteDeploy
|
|
TEST_DEPENDS = devel/py-coverage${MODPY_FLAVOR} \
|
|
devel/py-mock${MODPY_FLAVOR} \
|
|
www/py-query${MODPY_FLAVOR}
|
|
|
|
.include <bsd.port.mk>
|