gentoo/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild

43 lines
923 B
Bash
Raw Normal View History

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( pypy3 python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Python bindings for libmongocrypt"
HOMEPAGE="
https://github.com/mongodb/libmongocrypt/
https://pypi.org/project/pymongocrypt
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
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="
test? (
dev-python/pymongo[${PYTHON_USEDEP}]
dev-python/pymongo-auth-aws[${PYTHON_USEDEP}]
dev-python/respx[${PYTHON_USEDEP}]
dev-python/unasync[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/${P}-no-req-text.patch"
)
distutils_enable_tests pytest