diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-17 19:44:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2021-10-17 19:44:05 +0000 |
| commit | 57fda6c935f55d2fffff9686708bb243397cbdfd (patch) | |
| tree | 51a3566ba231842a4f16597bcd2c6408a7218558 /dev-python/httpcore/httpcore-0.13.2.ebuild | |
| parent | 3d498ef72631d4b3dcf8154bc081f603baf932fe (diff) | |
| download | baldeagleos-repo-57fda6c935f55d2fffff9686708bb243397cbdfd.tar.gz baldeagleos-repo-57fda6c935f55d2fffff9686708bb243397cbdfd.tar.xz baldeagleos-repo-57fda6c935f55d2fffff9686708bb243397cbdfd.zip | |
Adding metadata
Diffstat (limited to 'dev-python/httpcore/httpcore-0.13.2.ebuild')
| -rw-r--r-- | dev-python/httpcore/httpcore-0.13.2.ebuild | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-python/httpcore/httpcore-0.13.2.ebuild b/dev-python/httpcore/httpcore-0.13.2.ebuild deleted file mode 100644 index 7f92ee1da528..000000000000 --- a/dev-python/httpcore/httpcore-0.13.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9,10} ) - -inherit distutils-r1 - -DESCRIPTION="A minimal low-level HTTP client" -HOMEPAGE="https://www.encode.io/httpcore/" -SRC_URI="https://github.com/encode/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - =dev-python/h11-0*[${PYTHON_USEDEP}] - =dev-python/sniffio-1*[${PYTHON_USEDEP}] -" -BDEPEND=" - test? ( - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/trustme[${PYTHON_USEDEP}] - ) -" - -distutils_enable_tests pytest - -python_prepare_all() { - # anyio and trio are not in the tree - sed -i 's/^@pytest.mark.\(anyio\|trio\)/@pytest.mark.skip/' \ - tests/async_tests/test_*.py || die - sed -i '/^import trio/d' tests/utils.py || die - # pproxy is not in the tree, the associated fixture - # must be disabled to prevent errors during test setup - sed -i 's/def proxy_server().*/&\n pytest.skip()/' \ - tests/conftest.py || die - distutils-r1_python_prepare_all -} - -python_test() { - local skipped_tests=( - # Require Internet access or hypercorn (not in the tree) - tests/test_threadsafety.py::test_threadsafe_basic - tests/sync_tests/test_interfaces.py::test_http_request - tests/sync_tests/test_interfaces.py::test_https_request - tests/sync_tests/test_interfaces.py::test_http2_request - tests/sync_tests/test_interfaces.py::test_closing_http_request - tests/sync_tests/test_interfaces.py::test_connection_pool_get_connection_info - tests/sync_tests/test_interfaces.py::test_max_keepalive_connections_handled_correctly - tests/sync_tests/test_interfaces.py::test_explicit_backend_name - tests/sync_tests/test_interfaces.py::test_connection_timeout_tcp - tests/sync_tests/test_interfaces.py::test_broken_socket_detection_many_open_files - tests/sync_tests/test_retries.py::test_no_retries - tests/sync_tests/test_retries.py::test_retries_exceeded - tests/sync_tests/test_retries.py::test_retries_enabled - # Require hypercorn - tests/sync_tests/test_interfaces.py::test_connection_timeout_uds - ) - epytest ${skipped_tests[@]/#/--deselect } -} |
