summaryrefslogtreecommitdiff
path: root/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-12-03 12:19:07 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-12-03 12:19:07 +0000
commitb027f236953c054729d27e25855ed51bf8690334 (patch)
tree4909164339355a17e38d9e612f3d1706896623fc /dev-python/cloudscraper/cloudscraper-1.2.65.ebuild
parentc5c2d1413c7edd3c0913a70fae0a01f876308b1d (diff)
downloadbaldeagleos-repo-b027f236953c054729d27e25855ed51bf8690334.tar.gz
baldeagleos-repo-b027f236953c054729d27e25855ed51bf8690334.tar.xz
baldeagleos-repo-b027f236953c054729d27e25855ed51bf8690334.zip
Adding metadata
Diffstat (limited to 'dev-python/cloudscraper/cloudscraper-1.2.65.ebuild')
-rw-r--r--dev-python/cloudscraper/cloudscraper-1.2.65.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild b/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild
new file mode 100644
index 000000000000..4cf7413dd881
--- /dev/null
+++ b/dev-python/cloudscraper/cloudscraper-1.2.65.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10,11} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature
+
+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}.gh.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+
+RDEPEND="
+ dev-python/pyparsing[${PYTHON_USEDEP}]
+ dev-python/requests-toolbelt[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/js2py[${PYTHON_USEDEP}]
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
+ dev-python/pytest-timeout[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ net-libs/nodejs
+ )
+"
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ optfeature "brotli decompresssion support" "dev-python/brotlipy"
+
+ optfeature "js2py interpreter support" "dev-python/js2py"
+ optfeature "node.js interpreter support" "net-libs/nodejs"
+}