# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python2_7 ) inherit check-reqs distutils-r1 MY_P=mongo-python-driver-${PV} DESCRIPTION="Python driver for MongoDB" HOMEPAGE="https://github.com/mongodb/mongo-python-driver https://pypi.org/project/pymongo/" SRC_URI="https://github.com/mongodb/mongo-python-driver/archive/${PV}.tar.gz -> ${MY_P}.gh.tar.gz" S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="python2" KEYWORDS="~amd64 ~arm64 ~hppa ~x86" IUSE="doc kerberos test" RESTRICT="!test? ( test )" RDEPEND=" kerberos? ( dev-python/kerberos[${PYTHON_USEDEP}] ) !