# 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..14} ) inherit distutils-r1 git-r3 DESCRIPTION="Python bindings for libmongocrypt" HOMEPAGE="https://github.com/mongodb/libmongocrypt/tree/master/bindings/python" EGIT_REPO_URI="https://github.com/mongodb/libmongocrypt.git" S="${WORKDIR}/${P}/bindings/python" LICENSE="Apache-2.0" SLOT="0" RDEPEND="dev-libs/libmongocrypt dev-python/cffi[${PYTHON_USEDEP}] dev-python/cryptography[${PYTHON_USEDEP}] dev-python/packaging[${PYTHON_USEDEP}] dev-python/httpx[${PYTHON_USEDEP}]" BDEPEND="dev-python/hatch-requirements-txt[${PYTHON_USEDEP}] test? ( dev-python/pymongo[${PYTHON_USEDEP}] dev-python/pymongo-auth-aws[${PYTHON_USEDEP}] dev-python/respx[${PYTHON_USEDEP}] dev-python/unasync[${PYTHON_USEDEP}] )" distutils_enable_tests pytest