diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-06 03:04:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-06 03:04:40 -0500 |
| commit | 615d6f7e3408947bf962ea4d7edde01977474d1e (patch) | |
| tree | 669937b348f12e0bd52d35ef889d0b283f90476c /dev-python/httpretty | |
| parent | 7d0655e0f85be0eec06807898321a634968f9336 (diff) | |
| download | baldeagleos-repo-615d6f7e3408947bf962ea4d7edde01977474d1e.tar.gz baldeagleos-repo-615d6f7e3408947bf962ea4d7edde01977474d1e.tar.xz baldeagleos-repo-615d6f7e3408947bf962ea4d7edde01977474d1e.zip | |
Adding metadata
Diffstat (limited to 'dev-python/httpretty')
| -rw-r--r-- | dev-python/httpretty/httpretty-1.1.4-r3.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/dev-python/httpretty/httpretty-1.1.4-r3.ebuild b/dev-python/httpretty/httpretty-1.1.4-r3.ebuild deleted file mode 100644 index b195aa9dd8ca..000000000000 --- a/dev-python/httpretty/httpretty-1.1.4-r3.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{13..14} ) - -inherit distutils-r1 pypi - -DESCRIPTION="HTTP client mock for Python" -HOMEPAGE=" - https://github.com/gabrielfalcao/httpretty/ - https://pypi.org/project/httpretty/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86" -IUSE="test-rust" - -RDEPEND=" - dev-python/urllib3[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - >=dev-python/requests-1.1[${PYTHON_USEDEP}] - dev-python/sure[${PYTHON_USEDEP}] - >=dev-python/tornado-2.2[${PYTHON_USEDEP}] - ) -" -# These are optional test deps, that are used to test compatibility -# with various HTTP libs. We prefer pulling them in whenever possible -# to increase test coverage but we can live without them. -# We're skipping redis entirely since it requires a running server. -BDEPEND+=" - test? ( - test-rust? ( - dev-python/pyopenssl[${PYTHON_USEDEP}] - ) - >=dev-python/boto3-1.17.72[${PYTHON_USEDEP}] - dev-python/httplib2[${PYTHON_USEDEP}] - >=dev-python/httpx-0.18.1[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}/${P}-pytest.patch" - # https://github.com/gabrielfalcao/HTTPretty/pull/485 - "${FILESDIR}/${P}-urllib3-2.3.patch" -) - -python_test() { - local EPYTEST_IGNORE=( - # this seems to be a stress test - tests/bugfixes/pytest/test_426_mypy_segfault.py - # passthrough tests require Internet access - tests/functional/test_passthrough.py - # eventlet is masked for removal - tests/bugfixes/nosetests/test_eventlet.py - ) - local EPYTEST_DESELECT=( - # regressions with newer dev-python/requests - tests/functional/test_requests.py::test_httpretty_should_allow_registering_regexes_with_streaming_responses - tests/functional/test_requests.py::test_httpretty_should_handle_paths_starting_with_two_slashes - ) - - local ignore_by_dep=( - dev-python/boto3:tests/bugfixes/nosetests/test_416_boto3.py - dev-python/httplib2:tests/functional/test_httplib2.py - dev-python/httpx:tests/bugfixes/nosetests/test_414_httpx.py - dev-python/pyopenssl:tests/bugfixes/nosetests/test_417_openssl.py - ) - - local x - for x in "${ignore_by_dep[@]}"; do - if ! has_version "${x%:*}[${PYTHON_USEDEP}]"; then - EPYTEST_IGNORE+=( "${x#*:}" ) - fi - done - - epytest -} |
