aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-03 18:00:09 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-03 18:00:09 +0200
commitd21ca4f597c952223dce2a8798c626b0467a829f (patch)
treeb9b9fa2571b205cf8454828df101373083ca20fa /dev-python/cloudscraper
parentdev-python/js2py: new package; add version 0.70 (diff)
downloadguru-d21ca4f597c952223dce2a8798c626b0467a829f.tar.gz
guru-d21ca4f597c952223dce2a8798c626b0467a829f.tar.bz2
guru-d21ca4f597c952223dce2a8798c626b0467a829f.zip
dev-python/cloudscraper: re-enable test depending on js2py
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python/cloudscraper')
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.34.ebuild9
1 files changed, 1 insertions, 8 deletions
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.34.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.34.ebuild
index 6aab829a..583720cd 100644
--- a/dev-python/cloudscraper/cloudscraper-1.2.34.ebuild
+++ b/dev-python/cloudscraper/cloudscraper-1.2.34.ebuild
@@ -21,15 +21,8 @@ RDEPEND="
"
DEPEND="test? (
+ dev-python/js2py[${PYTHON_USEDEP}]
dev-python/responses[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
-
-python_prepare_all() {
- # TODO: Package js2py to support this test
- sed -i -e 's:test_js_challenge_11_12_2019:_&:' \
- tests/test_cloudscraper.py || die
-
- distutils-r1_python_prepare_all
-}