dev-python/aresponses - 2.1.6 (pentoo)

Search

Install

Install this version:

emerge -a =dev-python/aresponses-2.1.6

Package Information

Description:
Asyncio response mocking. Similar to the responses library used for 'requests'
Homepage:
https://github.com/circleup/aresponses https://pypi.org/project/aresponses/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.1.6 8 amd64 arm arm64 x86 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Asyncio response mocking. Similar to the responses library used for 'requests'"
HOMEPAGE="https://github.com/circleup/aresponses https://pypi.org/project/aresponses/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DOCS="README.md"

RDEPEND=">=dev-python/aiohttp-3.0.0[${PYTHON_USEDEP}]
	dev-python/pytest-asyncio[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
	)"

python_test() {
	py.test -v -v || die
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/aresponses | euse -E <flag> -p dev-python/aresponses | euse -D <flag> -p dev-python/aresponses

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

>=dev-python/aiohttp-3.0.0[]
	dev-python/pytest-asyncio[]

BDEPEND

	test? (
		dev-python/pytest[]
	)