gentoo/dev-python/pymongo-auth-aws/pymongo-auth-aws-1.1.0.ebuild

42 lines
830 B
Bash
Raw Normal View History

2024-06-22 00:59:06 +02:00
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYPI_NO_NORMALIZE=1
2024-06-23 17:46:45 +02:00
PYTHON_COMPAT=( python3_{10..12} )
2024-06-22 00:59:06 +02:00
inherit distutils-r1 pypi
DESCRIPTION="MONGODB-AWS authentication support for PyMongo"
HOMEPAGE="
https://github.com/mongodb/pymongo-auth-aws
https://pypi.org/project/pymongo-auth-aws
"
LICENSE="Apache-2.0"
SLOT="0"
2024-06-23 17:46:45 +02:00
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv~sparc ~x86"
2024-06-22 00:59:06 +02:00
2024-06-23 17:46:45 +02:00
# Requires AWS credentials
RESTRICT="test"
2024-06-22 00:59:06 +02:00
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
dev-python/botocore[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
<dev-python/dnspython-3.0.0[${PYTHON_USEDEP}]
dev-python/pymongo[${PYTHON_USEDEP}]
)
"
# adjust after 1.1.0
PATCHES=(
2024-06-23 17:46:45 +02:00
"${FILESDIR}/{P}-hatchling.patch"
2024-06-22 00:59:06 +02:00
)
distutils_enable_tests pytest