diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-04-18 08:46:05 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-04-18 08:46:05 +0100 |
commit | cf1a411e806b434c96329401a6ff0901ec7f0d5c (patch) | |
tree | 969527fcceb3b686400c73b5ed22c1d587a8eb3e /dev-python/elasticsearch | |
parent | 6a01345ec5dc673d0ebd4653ceb063eafa7fcf65 (diff) |
gentoo auto-resync : 18:04:2025 - 08:46:04next
Diffstat (limited to 'dev-python/elasticsearch')
-rw-r--r-- | dev-python/elasticsearch/Manifest | 2 | ||||
-rw-r--r-- | dev-python/elasticsearch/elasticsearch-9.0.0.ebuild | 81 |
2 files changed, 83 insertions, 0 deletions
diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index 993e1e63a7c8..1d50198fd6ec 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,5 +1,7 @@ DIST elasticsearch-py-8.17.2.gh.tar.gz 1757369 BLAKE2B faa6b0a0e1d8db10f2da1a5404d0353c89b7d48cfcc7433a2b3180a427bbbe33e5da40b2d6eef8f462cb67cc40e8497a4f67a9fd7ed851ac6376672c3a78afc8 SHA512 b63e30bf270f96ce25b2f80c77c5449e8a5cb6da75904f9bdfe20e208501ce2531f035998925a5157df8731c448ef3e1faecb6fb8a51bb0c3e8e4eef9ee58bc9 DIST elasticsearch-py-8.18.0.gh.tar.gz 2029549 BLAKE2B 67b5c6011353f0608400c3d6a82a59df2490b92170c216f31ab89bc310e78628e6986a0ab9891f10b2ed2c2901cf84a6455711f6d076af7e1a95f5864e5cff94 SHA512 41d1d22498849d9cd240fe35ecc8a1f5a9a0acf04da3398c1664712a107955728b5676255143e53e3fd8ce2b053dd40b81c00d6f4cbc59f0292164bfd6d581db +DIST elasticsearch-py-9.0.0.gh.tar.gz 2198119 BLAKE2B 5764320d3890152d1a75009d2b5a4c476929c4fa26f7c8df2827b728a003262e3b9ce2b60867115432e0fd54b7f39c27c1aea744a2d24d01a95e13abdb5a8eb2 SHA512 5fd3b57b01f5a67613e99306986e3c801b9ee8d46b23cbf5ef616ea3a4d541d0cb2bfe07248ff8352546b1c0ccadc0321144a23f5da30df69652608e53914a94 EBUILD elasticsearch-8.17.2.ebuild 2303 BLAKE2B 0b0654c99bc300303faa8173eeaf0db97ba2ccfa615842f3bbdb0d0e4b739854e081a3b42acdbdd2063af5e750a70f5f9df4a6212ddf01401d5c8a4c00696e18 SHA512 0768059d65ad7d09b3f50116a4bfa49f923cc4bb119222111308a7145f1415febe86e3d8aa404e24cd0354cb95353b44609d063b0418da9dd7e5c3a93bbf1485 EBUILD elasticsearch-8.18.0.ebuild 2583 BLAKE2B 23aecfcc6e4adbf5fecdc9d0019e39dbd985b5b54633352996889c1b86806ec5eb87baa807074241a2f29048ff159f91aa07d5fd3ea78f0772d401e6d2a1ef14 SHA512 98c0f0cdbb3240a19f2344a9c8ba0edc7ec694dadf0b56e219dd529d082ab1e9273a09124e26d1c4914edc74bd8bc6f51c3a9fe276b3de3d0de6e3246d62874c +EBUILD elasticsearch-9.0.0.ebuild 2583 BLAKE2B 23aecfcc6e4adbf5fecdc9d0019e39dbd985b5b54633352996889c1b86806ec5eb87baa807074241a2f29048ff159f91aa07d5fd3ea78f0772d401e6d2a1ef14 SHA512 98c0f0cdbb3240a19f2344a9c8ba0edc7ec694dadf0b56e219dd529d082ab1e9273a09124e26d1c4914edc74bd8bc6f51c3a9fe276b3de3d0de6e3246d62874c MISC metadata.xml 617 BLAKE2B f87827e173c4284a6ac830c48f92384140ad388a1c35562e5522ffc7fa654a9fc1eca14fd55b4365aec7ecbe1ca54f1a58772e240f09c3a56aaf25114b807cae SHA512 dc52446e828b8506e5144fb77e2bf5f761afeed8dda67c1aa72f0f67a3df838712d3deceba12c434b2d53923130e55ba6a71086ec289d90d5577cb5950b46999 diff --git a/dev-python/elasticsearch/elasticsearch-9.0.0.ebuild b/dev-python/elasticsearch/elasticsearch-9.0.0.ebuild new file mode 100644 index 000000000000..0c501f3ae811 --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-9.0.0.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 + +MY_P="elasticsearch-py-${PV}" +DESCRIPTION="Official Elasticsearch client library for Python" +HOMEPAGE=" + https://ela.st/es-python + https://github.com/elastic/elasticsearch-py/ + https://pypi.org/project/elasticsearch/ +" +SRC_URI=" + https://github.com/elastic/elasticsearch-py/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="Apache-2.0" +SLOT="0/$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + <dev-python/aiohttp-4[${PYTHON_USEDEP}] + >=dev-python/aiohttp-3[${PYTHON_USEDEP}] + <dev-python/elastic-transport-9[${PYTHON_USEDEP}] + >=dev-python/elastic-transport-8.15.1[${PYTHON_USEDEP}] + >=dev-python/orjson-3[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + <dev-python/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/mapbox-vector-tile[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/opentelemetry-api[${PYTHON_USEDEP}] + dev-python/opentelemetry-sdk[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP}] + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.4[${PYTHON_USEDEP}] + dev-python/unasync[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/sphinx \ + dev-python/sphinx-autodoc-typehints \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +python_test() { + local EPYTEST_IGNORE=( + # REST api tests are a black hole for effort. It downloads the tests + # so its an ever moving target. It also requires effort to blacklist + # tests for apis which are license restricted. + "test_elasticsearch/test_server/test_rest_api_spec.py" + # Counting deprecation warnings from python is bound to fail even + # if all are fixed in this package. Not worth it. + "test_elasticsearch/test_client/test_deprecated_options.py" + # Running daemon for tests is finicky and upstream CI fails at it + # as well. + "test_elasticsearch/test_server/" + "test_elasticsearch/test_async/test_server/" + # require nltk + test_elasticsearch/test_dsl/test_integration/test_examples/_async/test_vectors.py + test_elasticsearch/test_dsl/test_integration/test_examples/_sync/test_vectors.py + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |