diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-12-17 06:30:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-12-17 06:30:18 +0000 |
commit | 066666b8767b78231b90d9b3ffc8169fbfe1ec7c (patch) | |
tree | 20e354a744ae4e30a0d562773c34e562077c7d62 /dev-python/elasticsearch | |
parent | 2f50f3ca1d346a1f74054f124adb11136068b2b1 (diff) |
gentoo auto-resync : 17:12:2024 - 06:30:17
Diffstat (limited to 'dev-python/elasticsearch')
-rw-r--r-- | dev-python/elasticsearch/Manifest | 4 | ||||
-rw-r--r-- | dev-python/elasticsearch/elasticsearch-8.16.0.ebuild | 76 | ||||
-rw-r--r-- | dev-python/elasticsearch/elasticsearch-8.17.0.ebuild | 76 |
3 files changed, 156 insertions, 0 deletions
diff --git a/dev-python/elasticsearch/Manifest b/dev-python/elasticsearch/Manifest index f1bf6418daf1..7dde91f71098 100644 --- a/dev-python/elasticsearch/Manifest +++ b/dev-python/elasticsearch/Manifest @@ -1,7 +1,11 @@ DIST elasticsearch-py-8.14.0.gh.tar.gz 1092912 BLAKE2B 4ee556bc475d63e33cec318936b2dbf8b280236bcdfe28bc90a4beb7e1d024b8d63180c29e42096cb32bf3da7c771532c57190d763651118603779f816e95656 SHA512 9e9821102659b4c877959e25c33e1b1942f6eabe62bb6de73cda4875c248b0f9285d948e535e9426ca42552f7aa3e75c459f991bfa574c1d8400d78486ee5493 DIST elasticsearch-py-8.15.0.gh.tar.gz 1163528 BLAKE2B 8ee26e504f09b4ed2ccd695c034f5e35bdc609c1de7055b1f93f279edc7b3b6ac72625e8645c25d126481d7d877a197ecb8d7b35771841b412291caa42d4ee5f SHA512 7982f8366d7b74c85fdcaf4761fcbd9e6e14f0ef2a4aff353bad0b5bbedf7251eabf933e86f1dc9734de0aa6d43a30e1f055cd3b9c7ff2c7864da8779f64bfbc DIST elasticsearch-py-8.15.1.gh.tar.gz 1536398 BLAKE2B 459bebd94fdfe1c30e8e7e996de8ab3495e6f3341cd59ced6cb066065d21de751dc54d764455d2e7accdb6af9ea00f47e7c6a2c1e5af125cfe64a6e0b8f9e2cc SHA512 3e544187ca530932c730ada304d4c3f36c1c7561c1f53f6b35793c1ad7e9d95ffb435228e3fad76e746e6b2624e2d3bfe5c4036d06c72f5f2d625e4a557dd28d +DIST elasticsearch-py-8.16.0.gh.tar.gz 1569493 BLAKE2B 467c264af1dd1ce9bf63c0e3f9c8eabecc34dc3b3e51598bfd050230cb7e2bd56bc209ad146785a5ea310752e81c61d80c708b39167a12a0cc73214370e95a0e SHA512 dafca178603b2e681ed52c39f8e0864481ed55c6d01924498d9d1e5f425482291e2b81ffa1e9e7e6bfd86b6424b6703dbcd5971e729b521e81ce3e2ffeb0bd27 +DIST elasticsearch-py-8.17.0.gh.tar.gz 1604639 BLAKE2B 94363d23606ec820fbc4608ad8319a2753f04f6a250204ec91662772712079ac56d63ef630780fc19f20e9b0527ceea4db2c3d7c4db98c7e4410d5ce67751a6f SHA512 2239fe52a49387988903d574e33d2f5aedf077beb9c00c46a725af942289f0b0522aef462fb8ee43b078594e4af65b3b14b2fdaefea076ddd1dad8ca0a306843 EBUILD elasticsearch-8.14.0.ebuild 2467 BLAKE2B 71f500c6a0e7d9f629e89ccea51ff7861693eb92b0fd61e8582854496b299ab04d635e5838a10f448d0c21cb466556205f7e717e9ccf96d8d3de1e4216df9e27 SHA512 43964923af4a88cf471b70a07bc0103c16fa9b6717fe1ace5854c34de56074a34a4f377adc02571178a43d57055f5c383b6ab0cc1bd3f6a96b1963b71f33c4fd EBUILD elasticsearch-8.15.0.ebuild 2302 BLAKE2B 1edff9655e937381931318b4e37658723255332533914ecdaafe3411357b763cdd1e91a5145d397390fc06b0c91d4f84dd8c8d79bac83ee9618c5ed74907ac75 SHA512 2267bb06d5be7237782fa9e7f4f0f56ec2acadeebd6dbd3a773b623e80efd7cede0d160b0b262c45f1514c460f86de7f4d5a0a66444e3c75a35253f72a460bd1 EBUILD elasticsearch-8.15.1.ebuild 2302 BLAKE2B 1edff9655e937381931318b4e37658723255332533914ecdaafe3411357b763cdd1e91a5145d397390fc06b0c91d4f84dd8c8d79bac83ee9618c5ed74907ac75 SHA512 2267bb06d5be7237782fa9e7f4f0f56ec2acadeebd6dbd3a773b623e80efd7cede0d160b0b262c45f1514c460f86de7f4d5a0a66444e3c75a35253f72a460bd1 +EBUILD elasticsearch-8.16.0.ebuild 2305 BLAKE2B 31adf47d2c1c318703484c807879d7c291d269aa9d8341b2fd19438e4b09e21beae73701c1e435d0065741d10445aa18f8d28ad6571dd68b9dc14d487ae514f3 SHA512 23c04b5db70e8bac2390061c98eddc1f93ee43903b2bb1a9f0b403a6e8fe05c49b1f437f75c5491d43b4dc0d962ffbf9e9d17aabf7852386b89ef66b4543482e +EBUILD elasticsearch-8.17.0.ebuild 2305 BLAKE2B 31adf47d2c1c318703484c807879d7c291d269aa9d8341b2fd19438e4b09e21beae73701c1e435d0065741d10445aa18f8d28ad6571dd68b9dc14d487ae514f3 SHA512 23c04b5db70e8bac2390061c98eddc1f93ee43903b2bb1a9f0b403a6e8fe05c49b1f437f75c5491d43b4dc0d962ffbf9e9d17aabf7852386b89ef66b4543482e MISC metadata.xml 617 BLAKE2B f87827e173c4284a6ac830c48f92384140ad388a1c35562e5522ffc7fa654a9fc1eca14fd55b4365aec7ecbe1ca54f1a58772e240f09c3a56aaf25114b807cae SHA512 dc52446e828b8506e5144fb77e2bf5f761afeed8dda67c1aa72f0f67a3df838712d3deceba12c434b2d53923130e55ba6a71086ec289d90d5577cb5950b46999 diff --git a/dev-python/elasticsearch/elasticsearch-8.16.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.16.0.ebuild new file mode 100644 index 000000000000..0db4238a86a8 --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.16.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..12} ) + +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/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${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/" + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} diff --git a/dev-python/elasticsearch/elasticsearch-8.17.0.ebuild b/dev-python/elasticsearch/elasticsearch-8.17.0.ebuild new file mode 100644 index 000000000000..0db4238a86a8 --- /dev/null +++ b/dev-python/elasticsearch/elasticsearch-8.17.0.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..12} ) + +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/requests-3[${PYTHON_USEDEP}] + >=dev-python/requests-2.4[${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/" + ) + + local -x TEST_WITH_OTEL=1 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -o addopts= -p asyncio +} |