commit:     a8ae687f0919e9f7a9bae0a2abcc2975089bd0af
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Mar 13 08:08:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 13 09:16:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ae687f

dev-python/elastic-transport: add 8.17.1

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/41051
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/elastic-transport/Manifest              |  1 +
 .../elastic-transport-8.17.1.ebuild                | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-python/elastic-transport/Manifest 
b/dev-python/elastic-transport/Manifest
index 6a659dc94947..437505363b70 100644
--- a/dev-python/elastic-transport/Manifest
+++ b/dev-python/elastic-transport/Manifest
@@ -1 +1,2 @@
 DIST elastic-transport-python-8.17.0.gh.tar.gz 77173 BLAKE2B 
30b94a7cb4ce7a59278d65525c8c1dcefe86c2f2c69f0536996de505d7b180b966165562a07bd391b975161b89641fe4a101f43931b8f2f6fd95fca4755b14fd
 SHA512 
88c0ff27109b0450317b7e895d10b0e4b1a48643b17a01b787efbe2f058fd46e28a13ac28979d0fea3c9016610ebefc75bcef37777f36fd3c39270b20811511d
+DIST elastic-transport-python-8.17.1.gh.tar.gz 77401 BLAKE2B 
1660de0e941c2b387d97a1c3ce5f95b27c6219e46bf63a2cfa770a2c728b7d735c4289dbb0b758b06a9df54000fcc6b89afb906b3828e4b671a0e932884bc85d
 SHA512 
631a9dd65ea0ea5d42de258d97b5b9582eb68a73712f6c1bcc2948c3d6198808ec68ef8a81f08dbe62b7ae1947440ea01c7303ee6e1d5dc6cd00b42373191e4d

diff --git a/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild 
b/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild
new file mode 100644
index 000000000000..66277d34316e
--- /dev/null
+++ b/dev-python/elastic-transport/elastic-transport-8.17.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+MY_P=elastic-transport-python-${PV}
+DESCRIPTION="Transport classes and utilities shared among Python Elastic 
client libraries"
+HOMEPAGE="
+       https://github.com/elastic/elastic-transport-python/
+       https://pypi.org/project/elastic-transport/
+"
+SRC_URI="
+       
https://github.com/elastic/elastic-transport-python/archive/v${PV}.tar.gz
+               -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+PROPERTIES="test_network"
+RESTRICT="test"
+
+RDEPEND="
+       dev-python/certifi[${PYTHON_USEDEP}]
+       >=dev-python/urllib3-1.26.2[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/aiohttp[${PYTHON_USEDEP}]
+               dev-python/httpx[${PYTHON_USEDEP}]
+               dev-python/opentelemetry-api[${PYTHON_USEDEP}]
+               dev-python/opentelemetry-sdk[${PYTHON_USEDEP}]
+               dev-python/orjson[${PYTHON_USEDEP}]
+               dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+               dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+               dev-python/requests[${PYTHON_USEDEP}]
+               dev-python/respx[${PYTHON_USEDEP}]
+               dev-python/trustme[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_sphinx docs/sphinx \
+       dev-python/furo \
+       dev-python/sphinx-autodoc-typehints
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # fragile to random warnings
+               
tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off
+               
tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain
+       )
+
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest -p asyncio -o addopts=
+}

Reply via email to