Files
gentoo/dev-python/pytest-httpserver/pytest-httpserver-1.1.5.ebuild
2026-04-05 23:02:53 +01:00

38 lines
791 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1 pypi
DESCRIPTION="HTTP server for pytest to test HTTP clients"
HOMEPAGE="
https://github.com/csernazs/pytest-httpserver/
https://pypi.org/project/pytest_httpserver/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
>=dev-python/werkzeug-2.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/requests[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( "${PN}" )
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
distutils_enable_tests pytest
EPYTEST_IGNORE=(
# tests from building release artifacts
tests/test_release.py
)