dev-python/pymongocrypt - 9999 (nest)

Search

Package Information

Description:
Python bindings for libmongocrypt
Homepage:
https://github.com/mongodb/libmongocrypt/tree/master/bindings/python
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{12..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}] )"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

Dependencies

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}] )