dev-python/cattrs: add more test deps

Closes: https://bugs.gentoo.org/799080
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2021-06-29 05:13:46 +02:00
parent a562070b92
commit 9cea627aaf

View File

@@ -1,24 +1,31 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EAPI=7
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
PYTHON_COMPAT=( python3_{8..9} pypy3 )
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
SRC_URI="https://github.com/Tinche/cattrs/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
KEYWORDS=""
DESCRIPTION="Complex custom class converters for attrs"
HOMEPAGE="https://github.com/Tinche/cattrs"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/attrs[${PYTHON_USEDEP}]"
RDEPEND=">=dev-python/attrs-20[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
test? ( dev-python/hypothesis[${PYTHON_USEDEP}] )
test? (
dev-python/bson[${PYTHON_USEDEP}]
dev-python/immutables[${PYTHON_USEDEP}]
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/orjson[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest