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>
This commit is contained in:
Andrew Ammerlaan
2020-05-03 18:00:09 +02:00
parent 715f1e3831
commit d21ca4f597

View File

@@ -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
}