dev-python/cloudscraper: add nodejs for tests

Closes: https://bugs.gentoo.org/783990
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@riseup.net>
This commit is contained in:
Maciej Barć
2021-04-25 16:52:08 +02:00
parent 9cd2843910
commit 2defc7bab3
3 changed files with 10 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,14 +15,15 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
test? (
dev-python/js2py[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
net-libs/nodejs
)"
RDEPEND="
>=dev-python/requests-2.9.2[${PYTHON_USEDEP}]
>=dev-python/requests-toolbelt-0.9.1[${PYTHON_USEDEP}]
"
DEPEND="test? (
dev-python/js2py[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,7 @@ DEPEND="
test? (
dev-python/js2py[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
net-libs/nodejs
)"
RDEPEND="
>=dev-python/requests-2.9.2[${PYTHON_USEDEP}]

View File

@@ -19,6 +19,7 @@ DEPEND="
test? (
dev-python/js2py[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
net-libs/nodejs
)"
RDEPEND="
>=dev-python/requests-2.9.2[${PYTHON_USEDEP}]