# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..11} ) 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/refs/tags/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" RESTRICT="!test? ( test )" RDEPEND=" >=dev-python/aiohttp-3[${PYTHON_USEDEP}] =dev-python/elastic-transport-8[${PYTHON_USEDEP}] =dev-python/requests-2.4[${PYTHON_USEDEP}]