aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cloudscraper')
-rw-r--r--dev-python/cloudscraper/Manifest1
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.40.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/cloudscraper/Manifest b/dev-python/cloudscraper/Manifest
index 67c8ef27..08ee1270 100644
--- a/dev-python/cloudscraper/Manifest
+++ b/dev-python/cloudscraper/Manifest
@@ -1 +1,2 @@
DIST cloudscraper-1.2.34.tar.gz 115370 BLAKE2B 83161345b94378af08d8df51d58fd268c623545c00ff786d7005fa2908ee328c40d26c1a88f759008401af5e1134525981ca18e06553a60a864eda97c4948584 SHA512 ee9b75cbf5a16b97e6806e7ea902566a4f8e7aa4ad0128227fbe9e91897dfdbbd709049cdc22181b0a0eb7bda5d572c0f0b1264f621dcb100be3af2ee04a7ba9
+DIST cloudscraper-1.2.40.tar.gz 125216 BLAKE2B 7239d78d33ca80231ab3814a208da4c78ecfb1c1650e5ef9876517860107947bc849e688e19214d0636aff52eb02eeb750721e9fff7a4e164a5ce81eff2f7486 SHA512 f71d438acf4f0e423cb7d43a986871fab81122670cb1e353b264473c8b3446073c2fa7b39f1079fa85a398d7008c1d375e5417e2e9f74640b6bd52d07768f6bf
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild
new file mode 100644
index 00000000..57c9e589
--- /dev/null
+++ b/dev-python/cloudscraper/cloudscraper-1.2.40.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python module to bypass Cloudflare's anti-bot page"
+HOMEPAGE="https://github.com/venomous/cloudscraper"
+SRC_URI="https://github.com/VeNoMouS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+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