commit:     a8a2d6c4dfd94d66e7df9ff2855c6c6fc4da3d47
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Thu Jul 24 19:14:40 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 25 01:12:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a2d6c4

dev-python/elastic-transport: add 9.1.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43141
Closes: https://github.com/gentoo/gentoo/pull/43141
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/elastic-transport/Manifest              |  1 +
 .../elastic-transport-9.1.0.ebuild                 | 65 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/dev-python/elastic-transport/Manifest 
b/dev-python/elastic-transport/Manifest
index 5e46f462c34d..12c083da7b59 100644
--- a/dev-python/elastic-transport/Manifest
+++ b/dev-python/elastic-transport/Manifest
@@ -1 +1,2 @@
 DIST elastic-transport-python-8.17.1.gh.tar.gz 77401 BLAKE2B 
1660de0e941c2b387d97a1c3ce5f95b27c6219e46bf63a2cfa770a2c728b7d735c4289dbb0b758b06a9df54000fcc6b89afb906b3828e4b671a0e932884bc85d
 SHA512 
631a9dd65ea0ea5d42de258d97b5b9582eb68a73712f6c1bcc2948c3d6198808ec68ef8a81f08dbe62b7ae1947440ea01c7303ee6e1d5dc6cd00b42373191e4d
+DIST elastic-transport-python-9.1.0.gh.tar.gz 77490 BLAKE2B 
018daeaf7b9e5b89bf05cdf263b5d5fcdb6cfa9dc857fbb13c6536309a8957b5cfed64a835bd6f1d06f75629899decdb6abc0fac9ef20c36e4576de1eaa3ba6e
 SHA512 
70a7301376d8e19d3d29d118a46efe52c74bb32758572eaf007cb6018363294c3c559298c54f0a483907daac0ff8ab60fd9e5704088658d5f4955922cb998615

diff --git a/dev-python/elastic-transport/elastic-transport-9.1.0.ebuild 
b/dev-python/elastic-transport/elastic-transport-9.1.0.ebuild
new file mode 100644
index 000000000000..2ca407bdf1fc
--- /dev/null
+++ b/dev-python/elastic-transport/elastic-transport-9.1.0.ebuild
@@ -0,0 +1,65 @@
+# 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-httpbin[${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_PLUGINS=( pytest-asyncio pytest-httpbin pytest-httpserver )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # fragile to random warnings
+       
tests/node/test_http_aiohttp.py::TestAiohttpHttpNode::test_uses_https_if_verify_certs_is_off
+       tests/node/test_http_aiohttp.py::test_ssl_assert_fingerprint
+       
tests/node/test_urllib3_chain_certs.py::test_assert_fingerprint_in_cert_chain
+)
+
+python_test() {
+       epytest -o addopts= # avoid coverage
+}

Reply via email to