diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/cloudscraper | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Diffstat (limited to 'dev-python/cloudscraper')
| -rw-r--r-- | dev-python/cloudscraper/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild | 52 | ||||
| -rw-r--r-- | dev-python/cloudscraper/metadata.xml | 18 |
3 files changed, 71 insertions, 0 deletions
diff --git a/dev-python/cloudscraper/Manifest b/dev-python/cloudscraper/Manifest new file mode 100644 index 000000000000..44677a7dc0d6 --- /dev/null +++ b/dev-python/cloudscraper/Manifest @@ -0,0 +1 @@ +DIST cloudscraper-1.2.69.gh.tar.gz 112198 BLAKE2B ea7325353aa9c4bfaca1834a1f9fdb2201cee1946a990d059540500e58322899469a48d847b6d7688b8f671bf4bbe762d1f61ed080587f3a553771ba8e9c2a93 SHA512 9da8d3d42117768a0a38843448248e3a124c864aaa76d62125d3a1dad8ea4f1921954e6efaa2eb9b40c283d6889c15c0c33378db7008155e46ccb5ae219c11d6 diff --git a/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild new file mode 100644 index 000000000000..7f842bf50865 --- /dev/null +++ b/dev-python/cloudscraper/cloudscraper-1.2.69-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A Python module to bypass Cloudflare's anti-bot page" +HOMEPAGE=" + https://github.com/VeNoMouS/cloudscraper/ + https://pypi.org/project/cloudscraper/ +" +SRC_URI=" + https://github.com/VeNoMouS/cloudscraper/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64" + +RDEPEND=" + dev-python/pyparsing[${PYTHON_USEDEP}] + dev-python/requests-toolbelt[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/responses[${PYTHON_USEDEP}] + net-libs/nodejs + ) +" + +# These tests fail for no understanadble reason +EPYTEST_DESELECT=( + "tests/test_cloudscraper.py::TestCloudScraper::test_bad_interpreter_js_challenge1_16_05_2020" + "tests/test_cloudscraper.py::TestCloudScraper::test_bad_solve_js_challenge1_16_05_2020" + "tests/test_cloudscraper.py::TestCloudScraper::test_Captcha_challenge_12_12_2019" + "tests/test_cloudscraper.py::TestCloudScraper::test_reCaptcha_providers" +) + +EPYTEST_PLUGINS=( pytest-{forked,timeout} ) +distutils_enable_tests pytest + +pkg_postinst() { + optfeature "brotli decompresssion support" "dev-python/brotlipy" + + optfeature "node.js interpreter support" "net-libs/nodejs" +} diff --git a/dev-python/cloudscraper/metadata.xml b/dev-python/cloudscraper/metadata.xml new file mode 100644 index 000000000000..0c98eeb4f56a --- /dev/null +++ b/dev-python/cloudscraper/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>vaartis@kotobank.ch</email> + <name>Ekaterina Vaartis</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + A simple Python module to bypass Cloudflare's anti-bot page (also known as "I'm Under Attack Mode", or IUAM), + implemented with Requests + </longdescription> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
