dev-python/prawcore: restrict tests

Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
Julien Roy
2024-02-24 11:40:37 -05:00
parent 8cd29539ed
commit bb34191e2b

View File

@@ -1,4 +1,4 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,10 +17,12 @@ LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
# Tests require <dev-python/betamax-0.9 which is no longer available in ::gentoo
RESTRICT="test"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
test? (
<dev-python/betamax-0.9[${PYTHON_USEDEP}]
<dev-python/betamax-matchers-0.5[${PYTHON_USEDEP}]
<dev-python/betamax-serializers-0.3[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]