aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@riseup.net>2021-04-25 16:52:08 +0200
committerMaciej Barć <xgqt@riseup.net>2021-04-25 16:52:46 +0200
commit2defc7bab386263c3ead186651ab38c846203501 (patch)
tree8d790c653113b0609cf261d5f9d483688dc99e3a /dev-python/cloudscraper
parentmail-client/heirloom-mailx: Fix problem with strip (diff)
downloadguru-2defc7bab386263c3ead186651ab38c846203501.tar.gz
guru-2defc7bab386263c3ead186651ab38c846203501.tar.bz2
guru-2defc7bab386263c3ead186651ab38c846203501.zip
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>
Diffstat (limited to 'dev-python/cloudscraper')
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.40.ebuild13
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.46.ebuild3
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.56.ebuild1
3 files changed, 10 insertions, 7 deletions
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild
index 66e07704..262ee025 100644
--- a/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild
+++ b/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild
@@ -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
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.46.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.46.ebuild
index 8db3f7a1..262ee025 100644
--- a/dev-python/cloudscraper/cloudscraper-1.2.46.ebuild
+++ b/dev-python/cloudscraper/cloudscraper-1.2.46.ebuild
@@ -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}]
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.56.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.56.ebuild
index 417976ed..262ee025 100644
--- a/dev-python/cloudscraper/cloudscraper-1.2.56.ebuild
+++ b/dev-python/cloudscraper/cloudscraper-1.2.56.ebuild
@@ -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}]